Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 21st July 2011, 19:25
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,262
Thanks: 78
Thanked 24 Times in 20 Posts
Default vserver and failcnts in the beancounters, what to tune?

I moved a friend of mine off my root server onto another vserver as he was eating too many resources.

The vserver is using a minimal Debian 5.0 32bit image from server4you which I have upgraded to 6.0

He is on the smallest vserver available from server4you and CPU and RAM consumption is negligible. Traffic is minimal but it seems that his periodical newsletter is making him hit some limits. And I need to add, I haven't even started sending the newsletter, currently still configuring and tweaking, sending some test emails, etc.

currently it looks like this:

Code:
grep -v ' 0$' /proc/user_beancounters
Version: 2.5

       uid  resource                     held              maxheld              barrier                limit              failcnt
            lockedpages                     0                  336                  344                  344                  560
            tcpsndbuf                  160984              2446744              2449232              3598712                  142
            othersockbuf               244440               748296               744366              1481926                  392
            numothersock                  140                  288                  288                  288                23398
there isn't much running on the machine, I tried to keep it lightweight:

Quote:
pstree
init-+-cron
|-dovecot-+-4*[dovecot-auth]
| |-imap-login
| `-pop3-login
|-master-+-pickup
| |-qmgr
| `-tlsmgr
|-mysqld_safe-+-logger
| `-mysqld---4*[{mysqld}]
|-nginx---4*[nginx]
|-ntpd
|-php-cgi---4*[php-cgi]
|-postgrey
|-saslauthd
|-screen---bash---pstree
|-syslogd
`-xinetd---dropbear---bash---screen
Resource usage is minimal:

Quote:
top - 17:22:56 up 8:25, 1 user, load average: 0.00, 0.00, 0.00
Tasks: 37 total, 1 running, 36 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2097152k total, 199836k used, 1897316k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 0k cached
there are hardly any visitors to the website and its running on nginx so I think that is not the problem. Same goes for mysql.

I tried lowering postfix, dovecot and saslauthd to minimal processes/threads as far down as I could but I am not sure I am succeeding...

Is there any way to figure out, what makes me hit the limits I see in the beancounters?
Reply With Quote
Sponsored Links
 

Bookmarks

Tags
beancounters, resources, server4you, vserver

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 +2. The time now is 22:33.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.