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 02-04-2012, 08:20 AM
hollyboy's Avatar
hollyboy hollyboy is offline
 
Join Date: Mar 2004
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default problem with myisam should upgrade to vb4?

hi,

got a large board (100.000 users) and i'm having issues with myisam which is according to my hosting using a lot of server loads (im on dedicated server)

so my hosting suggested to upgrade to vb4 because the myisam there is manages better

is that true? should i do it or are other ways to manage and decrease usage of myisam?

thanks
Reply With Quote
  #2  
Old 02-04-2012, 02:21 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont think your host has much idea what they are talking about tbh.

What issues exactly are you having ?
Reply With Quote
  #3  
Old 02-04-2012, 10:09 PM
hollyboy's Avatar
hollyboy hollyboy is offline
 
Join Date: Mar 2004
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post

What issues exactly are you having ?
Issue is myisam table is overloading my server so much that it crashes.
Do you have any suggestions?

At the moment my server's machine is the following:

Code:
Dell PowerEdge 860
Intel Quad Core Intel(R) Xeon(R) CPU X3210 @ 2.13GHz
4 Gb RAM
2 x 250GB DISCO Raid1
My forum details:
- registered users: 100.000 (regular: 50.000)
- threads: 29.815
- messages: 6.601.228
Reply With Quote
  #4  
Old 02-04-2012, 10:29 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to be more specific.

How is myisam table "Overloading" your server exactly ?

What table ? What precisely happens ?
Reply With Quote
  #5  
Old 02-05-2012, 09:12 AM
hollyboy's Avatar
hollyboy hollyboy is offline
 
Join Date: Mar 2004
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
You need to be more specific.

How is myisam table "Overloading" your server exactly ?

What table ? What precisely happens ?
My forum is a bout a football team.
When we are in the game day the users connected to the frum increase a lot.
So the hosting says when the users number increase the myisam of the post table get crazy and the server crashes.

Hope I was clear (not a big expert of server and tables, but I think I reported exactly what the hosting says)

--------------- Added [DATE]1328458263[/DATE] at [TIME]1328458263[/TIME] ---------------

Ok the forum has just crashed, here is the message:

Code:
Database error in vBulletin 3.7.4:

Invalid SQL:

		SELECT
			user.username, (user.options & 512) AS invisible, user.usergroupid,
			session.userid, session.inforum, session.lastactivity, session.badlocation,
			IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid
			
		FROM session AS session
		LEFT JOIN user AS user ON(user.userid = session.userid)
		
		WHERE session.lastactivity > 1328456985
			
		ORDER BY username ASC;

MySQL Error   : MySQL server has gone away
Error Number  : 2006
Request Date  : Sunday, February 5th 2012 @ 05:09:45 PM
Error Date    : Sunday, February 5th 2012 @ 05:09:56 PM
Script        : http://www.mysite/forum/
Referrer      : 
IP Address    : 95.248.18.136
Username      : Interfan
Classname     : vB_Database_MySQLi
MySQL Version :
--------------- Added [DATE]1328458479[/DATE] at [TIME]1328458479[/TIME] ---------------

would this help? https://vborg.vbsupport.ru/showthread.php?t=228846
Reply With Quote
  #6  
Old 02-05-2012, 03:34 PM
Willo Willo is offline
 
Join Date: May 2010
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to find out why the client(your site) couldn't query the server.

How many connections are you allowed and are you making a bunch of long queries?
Reply With Quote
  #7  
Old 02-05-2012, 03:42 PM
hollyboy's Avatar
hollyboy hollyboy is offline
 
Join Date: Mar 2004
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dont understand "bunch of long queries?"
anyway the forum is super slow i got 800-900 users connected...i had to put forum offline
Reply With Quote
  #8  
Old 02-06-2012, 11:14 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That message usually means the mysql timeout is too small, something your host controls.
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:27 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.03924 seconds
  • Memory Usage 2,232KB
  • 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_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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