Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-14-2011, 04:03 PM
sbatson sbatson is offline
 
Join Date: Jan 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Getting Database Error Emails...

I'm getting a number of database errors emailed to me. I have not done any upgrades or changed anything on my forum. This seems to have started a few days after I had to have my ISP reboot the database server because the forum wasn't running and was reporting a database error. After the reboot, all seems to be working fine, I have no issues accessing the forum or doing anything, but keep getting errors emailed to me. I backed up the database and when through several of the database maintenance tools and those all seemed to run fine too.

I'm at a loss at this point. Does anyone have suggestions to check and clean up the database? I don't want to try and post all the errors I'm getting so I just post a couple different ones as examples:

Most of the recent ones seem to be like this first one. Perhaps something changed after some of the maintenance tools were run. Any suggestions would be great!


Database error in vBulletin 3.6.8:

Invalid SQL:

SELECT *
FROM vb_session
WHERE userid = 0
AND host = '66.249.68.202'
AND idhash = 'b7a7a78a0f0ab05079e72c6a96628b62'
LIMIT 1;

MySQL Error : Can't find file: '.\dpzone\vb_session.frm' (errno: 24)
Error Number : 1017
Date : Monday, February 14th 2011 @ 09:28:19 AM
Script : http://www.batsonphotography.com/dpz...eek=1029628800
Referrer :
IP Address : 66.249.68.202
Username :
Classname : vb_database



Database error in vBulletin :

mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061)
C:\Domains\batsonphotography.com\wwwroot\DPZone\fo rums\includes\class_core.php on line 274

MySQL Error :
Error Number :
Date : Monday, February 14th 2011 @ 08:00:11 AM
Script : http://dpzone.batsonphotography.com/...splay.php?f=43
Referrer : http://dpzone.batsonphotography.com/...splay.php?f=43
IP Address : 46.109.193.26
Username :
Classname : vb_database
Reply With Quote
  #2  
Old 02-16-2011, 03:25 PM
sbatson sbatson is offline
 
Join Date: Jan 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump....

Still getting various errors, but I can't seem to find any issues with the forum. The errors just keep occuring after running all maintenance operations on the database.
Reply With Quote
  #3  
Old 02-16-2011, 04:30 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Those are server issues. I'd suggest talking to your host about the errors.
Reply With Quote
  #4  
Old 02-16-2011, 05:19 PM
sbatson sbatson is offline
 
Join Date: Jan 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Those are server issues. I'd suggest talking to your host about the errors.
That's what I thought, but wanted to check here first. I guess I should backup the entire forum and DB before I tell them to do anything!

Thanks.
Reply With Quote
  #5  
Old 02-25-2011, 07:57 PM
sbatson sbatson is offline
 
Join Date: Jan 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've checked with my Web Host, they are saying that MySQL 4 servers can easily get overwhelmed and have all sorts of issues. My website is very stable, but they have been needed to reboot the database server at my request in the past 6 months or so. I'm seeing warning emails on the hour at certain times of day and by the time I check, all seems good. Thinking some batches may be be running on the same server for some other client and it's bogging things down for a few minutes.

Anyone have any other ideas? Do I just ignore the errors?
Reply With Quote
  #6  
Old 02-25-2011, 08:06 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You may ignore the errors if you want. But, I will tell you it isn't normal for a site to spit out errors all the time.
Reply With Quote
  #7  
Old 02-25-2011, 08:44 PM
sbatson sbatson is offline
 
Join Date: Jan 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I agree, but I'm not sure what to do at this point. I'm on a shared server, my site isn't very busy and doesn't warrant a dedicated server. I never had this issue before, the past few weeks, I'm kinda thinking that they have added users recently that are putting a lot of load on the server that wasn't there before. If it's breif bursts in traffic, is there some way I can change settings on my forum so that it's a bit more tolerant of server load issues...maybe increasing timeout times when the forum is trying to access the database?

If not, any suggestions on how to approach the Web Host for help on this? Maybe they need to make some changes on their end?
Reply With Quote
  #8  
Old 02-25-2011, 09:25 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There isn't really much you can do on a shared server. You could remove mods and change vbulletin settings to reduce the load that *your* site has on the server, but if they've over sold the server, that just means you are allowing other sites to then use up more load and cause the issue. So, *you* would be playing nice, but that doesn't make the other sites play nice.
Reply With Quote
  #9  
Old 02-25-2011, 09:36 PM
sbatson sbatson is offline
 
Join Date: Jan 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My forum has very low traffic, so I'm pretty certain there's nothing I would do that have much of an effect to my own forum from what you are saying. I can't see the point in trying to be nice as it would probably not have a noticable impact to the others anyway.

Thanks.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:44 PM.


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.04094 seconds
  • Memory Usage 2,237KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete