vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Too Many Connections - Dedicated Server Max = 100 (https://vborg.vbsupport.ru/showthread.php?t=224468)

mcyates 10-03-2009 07:48 AM

Too Many Connections - Dedicated Server Max = 100
 
My site is hosted on his dedicated server. www.myfootballforum.com. During the day we have at max about 14 members online with about 30 guests which most are spiders with about 10 being actual users browsing the site. He has other sites on the server but mine is the busiest by far.

He has the max connections set to 100. Surely this should be ample?

Can modifications i've installed from here affect the connections? Maybe preventing them from closing? Surely they should close straight away after a user has got the information from the database?

Thanks in advance.

Angel-Wings 10-03-2009 08:36 AM

Quote:

Originally Posted by mcyates (Post 1894115)
My site is hosted on his dedicated server. www.myfootballforum.com. During the day we have at max about 14 members online with about 30 guests which most are spiders with about 10 being actual users browsing the site. He has other sites on the server but mine is the busiest by far.

He has the max connections set to 100. Surely this should be ample?

Set this value for all sites or just for your site ? If there's on DB running serving several sites this value may not be enough.

Quote:

Originally Posted by mcyates (Post 1894115)
Can modifications i've installed from here affect the connections? Maybe preventing them from closing?

Can be - specially if "guests" can access or better use modifications that keep the server busy - automatic image resizing and such things - just an example.

Quote:

Originally Posted by mcyates (Post 1894115)
Surely they should close straight away after a user has got the information from the database?

Yes and no. Sometimes persistent connections are better, if more or less static info needs to be read over and over again then the entire connection building / reading / closing might slow down things.

Generally - try to disable modifications for guests and maybe ask the server admin for DB optimization, if not done already, with mysqltuner / tuning-primer and at your board, try to store as much as possible in the filesystem (attachments, templates ...)

Finally - the Server Admin can enable the "slow query log" in MySQL that you both can see where the problem is and what Queries cause problems. :)

Hope this helps a little bit

Paul M 10-03-2009 09:59 AM

What is your wait_timeout setting ?

mcyates 10-08-2009 05:03 PM

Wait_timeout is set at : 28,800

What is that setting? Sorry i took ages to reply and thanks for helping.


All times are GMT. The time now is 07:55 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.00933 seconds
  • Memory Usage 1,718KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete