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 01-04-2008, 10:28 AM
geevest.com geevest.com is offline
 
Join Date: Apr 2006
Posts: 709
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default user online sometimes disapear

hello,i have a problems with my users that was already online in my forum.and the problem is like this :
for example : right now the members that was online is totally ( 50members and 25guests ). sometimes i see in a few second that all my member online was dissapear / gone.and become just only for example = ( 2members and 1guests ).
everytime is always like this.is there anyone who can help my problems?
for the cookies time setting i setup to 3000. is there any problem / connecting with this?

thanks
Reply With Quote
  #2  
Old 01-04-2008, 01:45 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had that problem at one time and it turns out the mysql was restarting itself and thus the session table was cleared. Have you looked at your logs to see if that is the case?
Reply With Quote
  #3  
Old 01-04-2008, 09:07 PM
geevest.com geevest.com is offline
 
Join Date: Apr 2006
Posts: 709
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne i must repair my database forum or what?
Reply With Quote
  #4  
Old 01-05-2008, 07:06 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Most likely cause is what is mentioned in post #2: The MySQL server was restarted. contact your host to find more information on this.
Reply With Quote
  #5  
Old 01-05-2008, 02:08 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

geevest.com, it was not a matter of repairing the database. I had just moved our forums over to a new mysql server running mysql 5 and apparently there were some changes made where it did not like it if some values were set incorrectly. Here is what was in my mysql error log:
Quote:
blah blah blah
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.

key_buffer_size=402653184
read_buffer_size=2093056
max_used_connections=361
max_connections=800
threads_connected=25
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 3666809 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

blah blah blah
I had to play around with the values for key_buffer_size, read_buffer_size, etc until that 'equation' was satisfied for our amount of memory (which at that time was only 2 GB).

You may want to go to vb.com and post in their Server forum for eva to take a look and make suggestions on what values to use. There is a thread at the top of the forum telling you all the necessary information, but also make sure you tell him what the symptoms are. I would look in your logs though to see if mysql is restarting itself though.
Reply With Quote
  #6  
Old 01-06-2008, 04:07 AM
geevest.com geevest.com is offline
 
Join Date: Apr 2006
Posts: 709
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lynne can u help me i want check log my sql in where? thx
Reply With Quote
  #7  
Old 01-06-2008, 02:25 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know how much I can help you to find your logs, I just know where mine are. I have a separate mysql server and the log is located in /var/lib/mysql and is named "www.mysite.org.err".
Reply With Quote
  #8  
Old 01-07-2008, 02:50 PM
geevest.com geevest.com is offline
 
Join Date: Apr 2006
Posts: 709
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

from my hosting.


Quote:
Dear Customer,

Please note that since you are on shared hosting, we are forced to restart MySQL as soon as there is a threat for the server's stability. However, we do not restart it very often.

Also, as a shared server customer, you will not be able to edit the values for key_buffer_size, read_buffer_size, etc.

All this will be possible for you on a dedicated server.

Also, please let us know why you chose to set your cookies time setting to 3000? Was this a recommendation of vbulletin support?



Best regards,

Kate
Customer Support
Velcom.com
Reply With Quote
  #9  
Old 01-07-2008, 03:02 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should be able to set your cookie setting within vbulletin. I'm not sure what cookie setting you are asking your host to reset.

Did you ask your host if there is a way for you to find out if/when they restart mysql? If they are restarting it, then there is nothing you can do about it (well, except have your own dedicated server where *you* get to decide when it is restarted). I got the impression from your first post that this was happening often.
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 01:48 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04182 seconds
  • Memory Usage 2,236KB
  • 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
  • (2)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_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