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 12-30-2011, 05:01 PM
Chmura Chmura is offline
 
Join Date: May 2005
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default High load on server, need help

EDIT: They just sent me this email:
The problem was most likely caused by your VPS going over its RAM limit. This is recorded on the hardware node as an OOM (out of memory) event. Each time the VPS encounters OOM, some of its processes are killed by Virtuozzo in order to keep the VPS' RAM usage within limits. You may need to reduce your RAM usage or consider upgrading the server with more RAM to avoid such issues. You may be able to save some RAM by disabling some memory-intensive services like ClamAV or Spam Assassin.

I recently had to move from a VPS to a Managed Hybrid because of high server loads, now a week later it's still happening.

Also received an email about disk usage:
Drive Warning: /dev/vzfs (/) is 83% full
Drive Warning: /dev/simfs (/tmp) is 83% full

Received this from my host and they're trying to optimize the database, but I figured you guys will know more on this.

They also pointed out that it's running out of memory.

[root@server ~]# mysqladmin proc
+----+-----------------+-----------+--------------------+---------+------+--------------+------------------------------------------------------------------------------------------------------+
| Id | User | Host | db | Command | Time | State | Info |
+----+-----------------+-----------+--------------------+---------+------+--------------+------------------------------------------------------------------------------------------------------+
| 1 | leechprotect | localhost | leechprotect | Sleep | 544 | | |
| 33 | vb_user | localhost | vb_db | Query | 6 | Sending data | SELECT thread.*,post.pagetext AS preview
FROM thread AS thread
LEFT JOIN post AS post ON(post |
| 34 | vb_user | localhost | vb_db | Query | 30 | Locked | UPDATE thread
SET vbseo_linkbacks_no = '0'
WHERE threadid = '782798' |
| 35 | vb_user | localhost | vb_db | Query | 22 | Locked | UPDATE thread
SET vbseo_linkbacks_no = '0'
WHERE threadid = '763280' |
| 36 | vb_user | localhost | vb_db | Query | 30 | Locked | UPDATE thread
SET vbseo_linkbacks_no = '0'
WHERE threadid = '263103' |
| 38 | vb_user | localhost | vb_db | Query | 2 | Sending data | SELECT * FROM seoqueries_terms WHERE term_value='gr�nemeyer spr�nge mediafire' |
| 40 | vb_user | localhost | vb_db | Query | 17 | statistics | SELECT
post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS |
| 41 | vb_user | localhost | vb_db | Query | 16 | Sending data | SELECT thread.*,post.pagetext AS preview
FROM thread AS thread
LEFT JOIN post AS post ON(post |
| 42 | vb_user | localhost | vb_db | Query | 46 | update | INSERT INTO thread
(prefixid, postusername, postuserid, title, iconid, visible, forumid, dateline, |
| 43 | vb_user | localhost | vb_db | Query | 17 | Sending data | SELECT COUNT(*) AS threads,
(
SELECT COUNT(*) AS newthread
FROM thread AS thread
WHER |
| 44 | eximstats | localhost | eximstats | Sleep | 34 | | |
| 49 | vb_user | localhost | vb_db | Query | 2 | Sending data | SELECT * FROM seoqueries_terms WHERE term_value='gr�nemeyer spr�nge mediafire' |
| 50 | vb_user | localhost | vb_db | Query | 33 | Locked | INSERT INTO thread
(prefixid, postusername, postuserid, title, iconid, visible, forumid, dateline, |
| 56 | vb_user | localhost | vb_db | Query | 1 | Locked | SELECT
post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS |
| 60 | vb_user | localhost | facethem_wordpress | Query | 1 | statistics | SELECT COUNT(comment_ID) FROM wp_comments WHERE comment_post_ID = 1269 AND comment_parent = 0 AND co |
| 61 | vb_user | localhost | vb_db | Query | 16 | Locked | UPDATE user AS user
SET lastpost = 1325266913
WHERE userid = 19847
AND lastpost < 13252668 |
| 62 | vb_user | localhost | vb_db | Query | 11 | Locked | SELECT
post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS |
| 64 | vb_user | localhost | vb_db | Query | 1 | Sending data | SELECT * FROM seoqueries_terms WHERE term_value='emily sande haven torrent' |
| 65 | vb_user | localhost | vb_db | Query | 10 | Locked | SELECT
post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS |
| 67 | vb_user | localhost | vb_db | Query | 6 | Locked | SELECT
post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS |
| 68 | vb_user | localhost | vb_db | Query | 0 | Sending data | SELECT * FROM seoqueries_terms WHERE term_value='KOID003 rar' |
| 69 | vb_user | localhost | vb_db | Query | 6 | Locked | SELECT
post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS |
| 70 | vb_user | localhost | vb_db | Query | 7 | Locked | SELECT userid, usergroupid, membergroupids, infractiongroupids, username, password, salt FROM user W |
| 72 | root | localhost | | Query | 0 | | show processlist |
+----+-----------------+-----------+--------------------+---------+------+--------------+------------------------------------------------------------------------------------------------------+

top - 11:44:17 up 11 min, 1 user, load average: 26.50, 10.16, 4.05
Tasks: 193 total, 2 running, 190 sleeping, 0 stopped, 1 zombie
Cpu(s): 2.7%us, 0.7%sy, 0.0%ni, 68.1%id, 28.5%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1048576k total, 949904k used, 98672k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 0k cached
Reply With Quote
  #2  
Old 12-30-2011, 05:12 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would post over in the Server Configuration forum on vbulletin.com and have your server optimized for vbulletin.
Reply With Quote
  #3  
Old 12-30-2011, 11:04 PM
Chmura Chmura is offline
 
Join Date: May 2005
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, I'll do just that!
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 12:56 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.06257 seconds
  • Memory Usage 2,180KB
  • 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
  • (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_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