Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-09-2011, 02:00 PM
Karnage22 Karnage22 is offline
 
Join Date: Sep 2011
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default [vB 4.1.5]Constant errors since downtime

Hi, just wondered if anyone else has experienced this or can confirm that the issue is with my host.

Basically my site had some downtime yesterday morning due to a issue with my host, and since coming back up, the vBulletin "Currently Active Users" section at the bottom keeps emptying itself. It is supposed to show used logged in within the last 15 minutes, but it seems every 10 minutes it is just removing everyone from the list.

I have checked the vB cookie settings etc and they are all fine, i have even changed the activity timeout to 3600 (1 hour) but still after 10 minutes the list is emptied and it goes back to 0 before growing again as people click.

For example it will show 45 users online (23 members and 22 guests) and they have all been active within the last 10 minutes, and then suddenly it will say 0 online (0 members and 0 guests)

It seems to be happening because of a database error which is happening a few times a hour, my technical email has 500+ emails since yesterday morning with the error below,

Quote:
Database error in vBulletin :

mysqli_real_connect() [<a href='function.mysqli-real-connect'>function.mysqli-real-connect</a>]: (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
/home/applefix/public_html/includes/class_core.php on line 1317

MySQL Error :
Error Number :
Request Date : Thursday, September 8th 2011 @ 02:20:16 PM
Error Date : Thursday, September 8th 2011 @ 02:20:16 PM
Script : ******
Referrer : ******
IP Address : ********
Username :
Classname : vB_Database_MySQLi
MySQL Version :
I have disabled ALL plugins and addons etc and touchbb and some theme stuff and it is still happening.

I have contacted my host twice and they have "looked into it" and assure me the issue is not server side.

So now i have no idea what todo.

Any help will be much appreciated, thanks in advance
Reply With Quote
  #2  
Old 09-09-2011, 02:45 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I assume no info changed in the downtime, ie... db user credentials in config.php, then the issue is indeed on their side, the error would show a different msg if those credentials were wrong.

I would guess at this point as i dont have server access, that its timing out trying to connect as the db server is to busy.

Check these variables for sql in the admincp:
connect_timeout = ?
interactive_timeout = ?
wait_timeout = ?
Reply With Quote
  #3  
Old 09-09-2011, 03:52 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What was the issue with your host? Did they change anything on the server because it certainly sounds like they did.
Reply With Quote
Благодарность от:
TheLastSuperman
  #4  
Old 09-09-2011, 04:10 PM
Karnage22 Karnage22 is offline
 
Join Date: Sep 2011
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
I assume no info changed in the downtime, ie... db user credentials in config.php, then the issue is indeed on their side, the error would show a different msg if those credentials were wrong.

I would guess at this point as i dont have server access, that its timing out trying to connect as the db server is to busy.

Check these variables for sql in the admincp:
connect_timeout = ?
interactive_timeout = ?
wait_timeout = ?
Sorry i have just had a search and a google and can't seem to find where those setting are, are they under a option in the admin panel?



Quote:
Originally Posted by Lynne View Post
What was the issue with your host? Did they change anything on the server because it certainly sounds like they did.
They assure me nothing has changed. However as you say it seems too much of a coincidence that it worked perfectly before the downtime, and now i have this issue after the downtime. I would say that the hosting company i am with is beyond awful, i have had 4 periods of downtime within the last 2 weeks. I am considering changing host however i would like to prove for sure that the issue i am having is indeed there fault.

Thanks for reply's.
Reply With Quote
  #5  
Old 09-09-2011, 04:14 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can view those mysql variables in admincp > maintenance > diagnostics > System Information > mysql variables
Reply With Quote
  #6  
Old 09-09-2011, 04:16 PM
Karnage22 Karnage22 is offline
 
Join Date: Sep 2011
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

connect_timeout 10
interactive_timeout 28800
wait_timeout 28800

These are the current settings.
Reply With Quote
  #7  
Old 09-09-2011, 04:33 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

They're restarting mysql.

Under the mysql status, what is the uptime say?
Reply With Quote
  #8  
Old 09-09-2011, 04:45 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Karnage22 View Post
connect_timeout 10
interactive_timeout 28800
wait_timeout 28800

These are the current settings.
Those are fine, Zachery has a point as well, but i dont see them doing it intentionally, but keep checking what Zachery pointed out every hour & see if the uptime continues to grow, once your receive the error recheck the uptime.

They may have a screwed up installation of sql on that server though, but with out access to the sql logs, we will never know.
Reply With Quote
  #9  
Old 09-09-2011, 05:09 PM
Karnage22 Karnage22 is offline
 
Join Date: Sep 2011
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok so i assume the uptime is in seconds? It was at

Uptime : 2962

Then i got a flood of database errors and the usual reset of my online users and the uptime now says

Uptime : 192

Does this then indicate the mysql server itself restarted or crashed?

Thanks
Reply With Quote
  #10  
Old 09-09-2011, 05:29 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes it does, SQL was restarted.

This is a host issue, not a site issue, i assume this is a vhosted account?
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:12 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.04178 seconds
  • Memory Usage 2,262KB
  • Queries Executed 11 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete