Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > General Hosting/Server Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBulletin hogging memory! Help! Details »»
vBulletin hogging memory! Help!
Version: , by MrToasty MrToasty is offline
Developer Last Online: Jan 2019 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-28-2007 Last Update: Never Installs: 0
 
No support by the author.

Hi All!

My vB setup isn't too complicated, but I have a handful of plugins turned on that might be causing my problems.

Firstly, my problem is I'm with a VPS that only gives me 256MB guaranteed RAM with 1GB burst. Should this be enough for a forum with about 100 people browsing at most times? My forum seems to be eclipsing or getting up to my full memory allocation all of the time (probably due to sleeping mySQL processes) and the SLM memory management tool keeps on resorting to killing vital services such as httpd, named and pop etc....

The Host is no help, as they just say I need to reduce the amount of mySQL processes running and it will in turn reduce the memory load.

Is there any way of telling which of the plugin scripts (if any?) are giving me grief?

I'm on 3.6.4 and have the following plugins (all are currently disabled):-

Admin Log In As User 2.0
Auto Database Backup 2.12
Disable Hard Deletions 1.1
iTrader 2.0.1
Last Seen Online (Postbit) (Brad) 1.5
Members who have visited the forum 4.36
Miserable Users 2.12
Multiple Login Detector 1.03
NoSpam! 2.0
ZH - Report PM 1.0.1


Any help would be greatly appreciated, as my server is going down about once every few hours...

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-28-2007, 12:44 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 really need to check your mysql settings, each process may be using more memory than it needs - you don't exactly have much to play with.
Reply With Quote
  #3  
Old 01-28-2007, 01:53 PM
MrToasty MrToasty is offline
 
Join Date: May 2004
Location: Adelaide AU
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm... It says I have 50 sleeping processes in top... bad?

02:21:43 up 1:51, 1 user, load average: 0.11, 0.08, 0.07
51 processes: 50 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states: 0.0% user 0.0% system 0.0% nice 0.2% iowait 99.3% idle
CPU1 states: 3.3% user 0.2% system 0.0% nice 0.3% iowait 95.2% idle
Mem: 1048576k av, 195992k used, 852584k free, 0k shrd, 0k buff
0k active, 0k inactive
Swap: 0k av, 0k used, 0k free 0k cached

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
1 root 16 0 1308 484 432 S 0.0 0.0 0:00 0 init [3]
6113 root 16 0 1368 500 424 S 0.0 0.0 0:00 0 syslogd -m 0
6127 named 20 0 15172 3512 1848 S 0.0 0.3 0:00 1 /usr/sbin/named -u nam
6141 root 16 0 3460 1020 780 S 0.0 0.0 0:00 1 /usr/sbin/sshd
7176 root 16 0 1976 804 656 S 0.0 0.0 0:00 0 xinetd -stayalive -pid
7221 root 16 0 9700 8048 1076 S 0.0 0.7 0:00 1 chkservd
7294 mailnull 16 0 6660 1088 760 S 0.0 0.1 0:00 0 /usr/sbin/exim -bd -q6
7300 mailnull 18 0 6624 1040 724 S 0.0 0.0 0:00 1 /usr/sbin/exim -tls-on
7312 root 16 0 2736 888 616 S 0.0 0.0 0:00 0 antirelayd
7409 root 16 0 9744 5136 2860 S 0.0 0.4 0:00 1 /usr/local/apache/bin/
7418 root 16 0 1356 544 476 S 0.0 0.0 0:00 0 crond
7452 root 19 0 2056 1064 896 S 0.0 0.1 0:00 0 /bin/sh /usr/bin/mysql
7543 mysql 15 0 114M 34M 2288 S 0.0 3.3 0:00 0 /usr/sbin/mysqld --bas
7612 root 34 19 12192 10M 1488 S N 0.0 0.9 0:00 0 cpanellogd - sleeping
7669 root 16 0 17216 8412 1060 S 0.0 0.8 0:00 1 cpsrvd - waiting for c
7683 cpanel 17 0 3772 936 672 S 0.0 0.0 0:00 1 /usr/sbin/stunnel /usr
7759 root 18 0 1328 376 308 S 0.0 0.0 0:00 0 /usr/sbin/portsentry -
17825 root 16 0 6736 1976 1440 S 0.0 0.1 0:00 0 sshd: root@pts/0
17845 root 15 0 2168 1268 984 S 0.0 0.1 0:00 1 -bash
17953 root 17 0 1908 1072 752 R 0.0 0.1 0:00 1 top
30335 root 16 0 10644 5684 960 S 0.0 0.5 0:00 0 cppop - accepting on p
5447 root 16 0 5708 1316 1040 S 0.0 0.1 0:00 0 pure-ftpd (SERVER)
5450 root 18 0 3344 872 696 S 0.0 0.0 0:00 1 /usr/sbin/pure-authd -
Reply With Quote
  #4  
Old 02-06-2007, 07:07 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mmm..im not that expert...
but shareing my. exp..

we are also on vps 256MB garanteed ram + 1024 burst ram..
while 100+ user on my site at a time..
server load doesnt cross 1.00

current stats :64 user atm
[Server Loads: 0.34 0.76 : 0.54]

we ar using fcgi mod/mod_gzip/full tex search/lifespan time 90/eAcclerator 32Mb
there are many way to reduce server load for vb

do a search google
reduce server load on vb or what ever u like...surely u will find many way

now are thinking to install memcache for sql...
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 11:14 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03536 seconds
  • Memory Usage 2,231KB
  • Queries Executed 19 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_onlinestatus
  • (4)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