vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Big Board Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=172)
-   -   Server Optimization (https://vborg.vbsupport.ru/showthread.php?t=172759)

andrewkhunn 03-13-2008 01:06 AM

Your posts aren't making much sense. How big is your PM table?

Also, the connection between the two servers matters because if connections between Apache and MySQL are being routed through 10mbps wire, you're going to have load issues while processes stack on top of one another waiting for communication.

I was experiencing symptoms similar to what you are describing when my servers were unknowingly auto-negotiating at 10mbps. Once I got upgraded to 100mbit everything evened back out. Also, their physical distance has little/nothing to do with it.

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

Also, please run this script and copy/paste the output here (between 2 code brackets): http://forge.mysql.com/projects/view.php?id=44

FreeLunchRoom 03-13-2008 04:33 AM

Quote:

Originally Posted by andrewkhunn (Post 1463442)
Your posts aren't making much sense. How big is your PM table?

Also, the connection between the two servers matters because if connections between Apache and MySQL are being routed through 10mbps wire, you're going to have load issues while processes stack on top of one another waiting for communication.

I was experiencing symptoms similar to what you are describing when my servers were unknowingly auto-negotiating at 10mbps. Once I got upgraded to 100mbit everything evened back out. Also, their physical distance has little/nothing to do with it.

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

Also, please run this script and copy/paste the output here (between 2 code brackets): http://forge.mysql.com/projects/view.php?id=44

It is 100mbit. Will run the query and paste it. But we rebuilt the PM table and seems to have cooled down a bit.

andrewkhunn 03-13-2008 06:47 AM

Also, what kind of hard drives do you have? I know they're RAID1, but what interface and rotational speed?

Marco van Herwaarden 03-13-2008 07:21 AM

Also are you sure that they have (and are using!!) a direct connection. Seen before that 2 servers next to eachother where routing their inter-server traffic over the outside internet connection.

Princeton 03-13-2008 12:29 PM

In addition to the server suggestions at vbulletin.com.

Upgrade MySQL.

Make sure you have the latest Apache 2 - we also had problems with a particular version. (Don't remember which one.)


Check the # of queries running on your site (per page) ...

Check each custom query and make sure
1)__ they are optimized
2)__ are using index whenever possible
3)__ ensure that SELECTs are retrieving from the SLAVE server and not the MASTER (check processlist)

NOTES
- only use necessary plugins - those that add value to your site
--- I recommend removing the arcade.
- vbseo has all their queries fetching from MASTER. :down:
- vbadvanced - I'm sure there's some queries that are going to MASTER when they should be going to SLAVE.


All times are GMT. The time now is 02:02 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.01050 seconds
  • Memory Usage 1,727KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete