Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
  #1  
Old 06-25-2012, 02:31 AM
Jennifer2010 Jennifer2010 is offline
 
Join Date: Mar 2011
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Too many write requests?

Hi everyone -

My server is suffering from very high load due to my vBulletin 4.2.0 forum.

It's taken a while to narrow down why this is happening and this is the response I received from my host:

Quote:
First off, the slowness issue is due to excessive disk i/o.
Quote:
Looking into this further, I can say that definitely the issue is that the server is doing about 1000 write requests / second.
Quote:
Most likely, either your forum software is directly writing to the drive, or, is making a large number of mysql queries that are writing to the disk, or there is some error in your software that is spamming the error log. It's not clear to me at this point exactly what is going on or how to fix it, but I hope that this information can help you narrow it down.
I'm not sure where to go from here thus why I'm here seeing if anyone can make any recommendations.

Dedicated Server specs:

* X3460 CPU
* 16Gb ram
* 2x1TB drives in software raid 1
* 100mbps port
* Centos 5.8 64 bit
* Standard partitioning (4gb swap, 100mb /boot, remainder /)
* Cpanel / WHM

Forum specs:Version 4.2.0 Patch Level 2
Custom theme
5,000 active members. With 15 minute cookie, there are 120 members and 68 guests online.

Any help is greatly appreciated!
Reply With Quote
  #2  
Old 06-25-2012, 10:08 AM
nhawk nhawk is offline
 
Join Date: Jan 2011
Posts: 1,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First if everything was running without a problem when you first installed 4.2 and you've kept up to date with the updates, you can eliminate a problem there right away. But to be sure, I'd disable all mods/add-ons to see if the load drops. If it does, turn them back on one by one to see if the load goes back up. If it does, you found the culprit.

Second, check your site logs for IP addresses banging away at vB trying to hack their way into getting an account. It will be obvious which ones they are because the log entries will all have 'do=addmember' in them and there will be a ton of them all in a row. If there are a slew of them, and they are continuous you need to block that IP from accessing your site.

Third, server load can be affected by so many other things besides vB that many times it takes some detective work to find the problem.

Some examples are continuous email hack attempts, DOS attacks, SSH hack attempts, FTP hack attempts, disk swaps, raid errors, bad memory chips and a bunch of other things. All of which require looking at the server logs to find what is causing the load. And all of which could cause high disk write rates on a server when they write to the logs.
Reply With Quote
  #3  
Old 06-25-2012, 12:58 PM
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Posts: 1,314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should make a post here.

https://www.vbulletin.com/forum/foru...-Configuration

The vbulletin staff themselves will whip up some kind of solution for you.

Quote:
Originally Posted by Jennifer2010 View Post
Hi everyone -

My server is suffering from very high load due to my vBulletin 4.2.0 forum.

It's taken a while to narrow down why this is happening and this is the response I received from my host:





I'm not sure where to go from here thus why I'm here seeing if anyone can make any recommendations.

Dedicated Server specs:

* X3460 CPU
* 16Gb ram
* 2x1TB drives in software raid 1
* 100mbps port
* Centos 5.8 64 bit
* Standard partitioning (4gb swap, 100mb /boot, remainder /)
* Cpanel / WHM

Forum specs:Version 4.2.0 Patch Level 2
Custom theme
5,000 active members. With 15 minute cookie, there are 120 members and 68 guests online.

Any help is greatly appreciated!
Reply With Quote
Reply

Thread Tools
Display Modes

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 10:46 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.03652 seconds
  • Memory Usage 2,176KB
  • Queries Executed 13 (?)
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
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)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_postinfo_query
  • fetch_postinfo
  • 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