vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   forum is hitting query limits (https://vborg.vbsupport.ru/showthread.php?t=193439)

ATVTorture 10-12-2008 03:31 PM

forum is hitting query limits
 
I logged into my hosting contorl panel this morning and had an error that my datbase is exceeding query limits. This is the message I get:

Quote:

Query limit is the maximum number of database actions performed in one hour by a specific user. Note that a user can have multiple concurrent MySQL connections, in which case the sum of all database actions for all connections cannot exceed the given limit.

The maximum number of concurrent MySQL connections per user is 10.

The maximum number of database queries per user is 50,000/hr.
Keep in mind this forum has been online with this host for 2 days. I moved away from another host which sucked.

We have a small forum of about 500 users, and aq very small amount of those are actually participating members.

What could be causing this to happen?

Thanks!

snakes1100 10-12-2008 04:20 PM

1. Get a better host.

2. Disable some of your hacks to cut down on the queries, depending on the hack, it can add 1 or more queries per page load.

Lynne 10-12-2008 04:22 PM

Or 3. Bring this error to the attention of the host and see if they can change the setting to up the query limit.

ATVTorture 10-12-2008 04:45 PM

Well, I have brought it to their attention in a support ticket a few minutes ago but apparently from their "rules" that I've read in their forum, these are query limits they set on all acounts. Not good.

The only thing I can think is that search bots are causing the query load b/c we get a LOT of search bots and guests.

Currently I only have 5 users logged in and 41 guests, many of those guests are bots. We have had as many as 100 search engine bots crawling at one time.

Moving to this new host has increased our site performance by 62%. The query restriction limit stinks though. I went in a few minutes ago and disabled a couple of plugins but nothing I see could be causing such a high load. One of them was flashchat but it NEVER has anyone in it, so I turned it off for now. I do have google-analytics enabled. I wonder what kind of load it causes.

Thanks Lynne!
Buster

Lynne 10-12-2008 05:39 PM

Can you put in a robots.txt file? I have one on my site so I can limit the amount of yahoo slurp spiders on there at a time. They will come en masse if allowed.

ATVTorture 10-12-2008 07:08 PM

Good idea. What exactly does it need to have in it?

Will that get the MSNbots and googlebots as well?

Thanks Lynne!

Lynne 10-12-2008 07:42 PM

This is a good thread on it - robots.txt help But, there are several to read - type "robots.txt" "titles only"

ATVTorture 10-12-2008 11:04 PM

Wowser, no simple copy and paste from yo0ur robots.txt?

SEOvB 10-12-2008 11:34 PM

Quote:

Originally Posted by ATVTorture (Post 1643681)

Blocking robots or even delaying them is a really piss poor work around for what shouldn't be a problem. You're only going to hurt your results in the search engines by doing this but if you aren't concerned with such trickery then its a non-issue at that point.

Code:

# Allow Archiver
User-agent: ia_archiver
Allow: /


User-agent: Slurp
Crawl-delay: 60

User-agent: GoogleBot
Crawl-delay: 60


User-agent: *

Disallow: *.php
Disallow: *.js
Disallow: *.jsp
Disallow: *.cfm
Disallow: *.asp
Disallow: *.html
Disallow: *.htm
Disallow: *.aspx
Disallow: *.cgi

Disallow: /forum/includes/
Disallow: /forum/install/
Disallow: /forum/customavatars/
Disallow: /forum/archive/
Disallow: /forum/sitemap/
Disallow: /forum/members/
Disallow: /wp-includes/
Disallow: /wp-content/
Disallow: /wp-admin/
Disallow: /forum/images

And just out of curiosity what hosting company are you using

Lynne 10-12-2008 11:40 PM

If you do that search, then you will probably find some pre-written robots.txt files. But, you will have to look it over to see if it is a file that is fit for your site. For instance, some people will add in the members.php page, but that isn't good for sites that want to have the members page indexed. Same with online.php. You need to see if those are files you want blocked from spiders or not.

Edit: The file FRDS posted will disallow spiders from your whole site, not just some pages. Also, he uses a /forum folder and you may have to change that for your site.


All times are GMT. The time now is 08:08 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01015 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete