Code:Version: 2.5
uid resource held maxheld barrier limit failcnt
379: kmemsize 6698909 6717298 29614080 30474240 0
lockedpages 0 0 384 384 0
privvmpages 82592 82598 196608 200540 109740
Any ideas?
Printable View
Code:Version: 2.5
uid resource held maxheld barrier limit failcnt
379: kmemsize 6698909 6717298 29614080 30474240 0
lockedpages 0 0 384 384 0
privvmpages 82592 82598 196608 200540 109740
Any ideas?
Hi!
I'll need to see the the complete output file, please. I like to see if anything else is failcnt..and if the vps is setup correctly.
Thanks
Bryon
Code:Version: 2.5
uid resource held maxheld barrier limit failcnt
379: kmemsize 6603065 6707189 29614080 30474240 0
lockedpages 0 0 384 384 0
privvmpages 82695 82747 196608 200540 109740
shmpages 859 859 32256 32256 0
dummy 0 0 0 0 0
numproc 73 75 360 360 0
physpages 42571 42583 0 2147483647 0
vmguarpages 0 0 49152 2147483647 0
oomguarpages 42571 42583 49152 2147483647 0
numtcpsock 25 25 1440 1440 0
numflock 12 13 282 309 0
numpty 1 1 24 24 0
numsiginfo 0 1 384 384 0
tcpsndbuf 223600 223600 2580480 4055040 0
tcprcvbuf 313532 313532 2580480 4055040 0
othersockbuf 26388 29068 1689120 3145728 0
dgramrcvbuf 0 1400 393216 393216 0
numothersock 26 30 1440 1440 0
dcachesize 733713 739014 3409920 3624960 0
numfile 2465 2492 8730 8730 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 47 47 2000 2000 0
root@ns1 [~]#
Hi!
Thanks..okee...let's do the math:
RAM=192MB
Burst=768MB:783MB
Kmem=28MB:29MB
Well...that rules setup out. Okay..now that that's off the table..the real work begins.
I need you to type:
ps axfuw
and let's see whats going on process wise. Is this site using a lot of MySQL/PHP?
The best time to run the ps command is when it's under load..so we can see what's using all this memory. You can decide to shut down things that are running that you are not using..or if MySQL is the reason..it may be able to be tweaked to run a little better.
Bryon
192 MB is guaranteed and 768 is Burst, If you have a control panel installed and server is overloaded then you are bound to see privvmpages failures.
Edit: oops i opened this page more then 1 hour before, and replied now, i see bryan also explained the parameters.
Code:USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1620 600 ? Ss 04:49 0:00 init [3]
root 13645 0.0 0.0 1524 544 ? Ss 04:49 0:00 syslogd -m 0
named 13658 0.2 0.0 47548 2976 ? Ssl 04:49 1:04 /usr/sbin/named -u named
root 13673 0.0 0.0 1448 376 ? S 04:49 0:00 /usr/sbin/courierlogger -pid=/var/spool/authdaemon/pid -facility=mail
root 13674 0.0 0.0 1796 616 ? S 04:49 0:00 \_ /usr/libexec/courier-authlib/authdaemond
root 13691 0.0 0.0 1796 364 ? S 04:49 0:00 \_ /usr/libexec/courier-authlib/authdaemond
root 19568 0.0 0.1 9876 8400 ? S 05:24 0:00 | \_ /etc/authlib/authProg
root 13693 0.0 0.0 1796 364 ? S 04:49 0:00 \_ /usr/libexec/courier-authlib/authdaemond
root 19569 0.0 0.1 9876 8400 ? S 05:24 0:00 | \_ /etc/authlib/authProg
root 13694 0.0 0.0 1796 364 ? S 04:49 0:00 \_ /usr/libexec/courier-authlib/authdaemond
root 19570 0.0 0.1 9876 8400 ? S 05:24 0:00 | \_ /etc/authlib/authProg
root 13695 0.0 0.0 1796 364 ? S 04:49 0:00 \_ /usr/libexec/courier-authlib/authdaemond
root 19567 0.0 0.1 9876 8400 ? S 05:24 0:00 | \_ /etc/authlib/authProg
root 13696 0.0 0.0 1796 364 ? S 04:49 0:00 \_ /usr/libexec/courier-authlib/authdaemond
root 15801 0.0 0.1 9876 8400 ? S 04:54 0:00 \_ /etc/authlib/authProg
root 13682 0.0 0.0 4008 1128 ? Ss 04:49 0:00 /usr/sbin/sshd
root 27982 0.0 0.0 6900 2268 ? Ss 13:23 0:00 \_ sshd: root@pts/0
root 27984 0.0 0.0 2944 1280 ? Ss 13:24 0:00 \_ login -- root
root 27985 0.1 0.0 2148 1276 pts/0 Ss 13:24 0:00 \_ -bash
root 28076 0.0 0.0 2300 800 pts/0 R+ 13:24 0:00 \_ ps axfuw
root 13698 0.0 0.0 2072 788 ? Ss 04:49 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
root 13707 0.0 0.0 2144 1124 ? S 04:49 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var
mysql 13728 0.0 0.2 107404 16420 ? Sl 04:49 0:03 \_ /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysq
root 13758 0.0 0.0 9756 8016 ? S 04:49 0:00 chkservd
root 13770 0.0 0.0 1452 380 ? S 04:49 0:00 /usr/sbin/courierlogger -pid=/var/run/imapd.pid -start -name=imapd /u
root 13771 0.0 0.0 1560 512 ? S 04:49 0:00 \_ /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=40
root 13786 0.0 0.0 1452 300 ? S 04:49 0:00 /usr/sbin/courierlogger -pid=/var/run/imapd-ssl.pid -start -name=imap
root 13787 0.0 0.0 1560 492 ? S 04:49 0:00 \_ /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=40
root 13792 0.0 0.0 1452 380 ? S 04:49 0:00 /usr/sbin/courierlogger -pid=/var/run/pop3d.pid -start -name=pop3d /u
root 13793 0.0 0.0 1560 512 ? S 04:49 0:00 \_ /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=40
root 13798 0.0 0.0 1452 300 ? S 04:49 0:00 /usr/sbin/courierlogger -pid=/var/run/pop3d-ssl.pid -start -name=pop3
root 13799 0.0 0.0 1560 492 ? S 04:49 0:00 \_ /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=40
mailnull 13823 0.0 0.0 7328 1192 ? Ss 04:49 0:00 /usr/sbin/exim -bd -q180m
mailnull 13827 0.0 0.0 7328 1132 ? Ss 04:49 0:00 /usr/sbin/exim -tls-on-connect -bd -oX 465
root 13833 0.0 0.0 3044 1172 ? S 04:49 0:00 antirelayd
root 13878 0.0 0.2 25460 23516 ? Ss 04:49 0:00 /usr/bin/spamd -d --allowed-ips=127.0.0.1 --pidfile=/var/run/spamd.pi
root 13943 0.0 0.2 25460 22128 ? S 04:49 0:00 \_ spamd child
root 13946 0.0 0.2 25460 22048 ? S 04:49 0:00 \_ spamd child
root 13896 0.0 0.0 14144 6852 ? Ss 04:49 0:00 /usr/local/apache/bin/httpd -DSSL
nobody 26137 0.0 0.1 20184 12244 ? S 05:43 0:04 \_ /usr/local/apache/bin/httpd -DSSL
nobody 26138 0.0 0.1 18740 11248 ? S 05:43 0:04 \_ /usr/local/apache/bin/httpd -DSSL
nobody 26139 0.0 0.1 18752 11188 ? S 05:43 0:05 \_ /usr/local/apache/bin/httpd -DSSL
nobody 26140 0.0 0.1 20168 12240 ? S 05:43 0:06 \_ /usr/local/apache/bin/httpd -DSSL
nobody 26141 0.0 0.1 20188 12256 ? S 05:43 0:04 \_ /usr/local/apache/bin/httpd -DSSL
nobody 26376 0.0 0.1 20204 12716 ? S 05:47 0:05 \_ /usr/local/apache/bin/httpd -DSSL
nobody 32581 0.0 0.1 18760 11224 ? S 06:06 0:04 \_ /usr/local/apache/bin/httpd -DSSL
nobody 32590 0.0 0.1 19992 12108 ? S 06:06 0:05 \_ /usr/local/apache/bin/httpd -DSSL
nobody 11771 0.0 0.1 18760 11212 ? S 06:35 0:03 \_ /usr/local/apache/bin/httpd -DSSL
nobody 12096 0.0 0.1 18756 11224 ? S 06:35 0:05 \_ /usr/local/apache/bin/httpd -DSSL
root 13918 0.0 0.0 3828 1324 ? Ss 04:49 0:00 pure-ftpd (SERVER)
root 13921 0.0 0.0 3568 928 ? S 04:49 0:00 /usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/sbin/pureauth
root 13936 0.0 0.0 2472 920 ? Ss 04:49 0:00 crond
mailnull 14022 0.0 0.0 7704 5284 ? S 04:49 0:00 eximstats
root 14058 0.0 0.0 6900 5096 ? S 04:49 0:00 cpbandwd
root 14060 0.0 0.0 9724 7172 ? SN 04:49 0:00 cpanellogd - sleeping for logs
root 14078 0.0 0.1 17316 8352 ? S 04:49 0:00 cpsrvd - waiting for connections
root 14118 0.0 0.0 4044 804 ? Ss 04:49 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow -n 2
root 14119 0.0 0.0 4044 464 ? S 04:49 0:00 \_ /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow -n 2
root 14140 0.0 0.0 1480 392 ? Ss 04:49 0:00 /usr/sbin/portsentry -tcp
Spamd on a VPS with only 192 Guar ram is a mistake to make..
Also, appears as though the high load on mySQL is causing the CPU and memory to overload and need to take the time away from other ports and services to fulfill the mySQL load needs.
Get 256MB, and you will be fine. try to get a plan with higher burst .
How can I go about disabling the spamd process?
Hi!
You can go into WHM..and I believe you can diable it either in mail settings or setup. It's been a little while since I messed with it..I'm trying to quit! ;)
Bryon
privvmpage failcnts are failures of allocation requests.
Note that your existing allocation already exceeds the guarantee.
The script to convert /proc/user_beancounters to the above, with many variations, is freely available at http://amos.freeshell.org/userbeans.shCode:****** vmguarpages and oomguarpages limits are unspecified
****** each VE privvmpages limit should be <= 0.6 * RAM (=1228 MB), probably [much] lower.
783 MB Allocation Limit [privvmpages limit]
****** only high value processes have a chance in this range
****** having this safety range is important to permit critical processes
768 MB Allocation Barrier [privvmpages barrier]
****** allocation requests in this range have a chance
192 MB Allocation Guarantee [vmguarpages barrier]
****** allocation will succeed in this range
192 MB Memory Guarantee [oomguarpages barrier]
323 MB ( 323 MB Max) page memory allocated [privvmpages held]
166 MB ( 166 MB Max) memory + swap used [oomguarpages held]
166 MB ( 166 MB Max) page memory used [physpages held]
29 MB ( 29760 KB) kernel memory limit [kmemsize limit]
****** a safety range here, between limit and barrier, is important
28 MB ( 28920 KB) kernel memory barrier [kmemsize barrier]
6 MB ( 6448 KB) kernel memory used [kmemsize held]
0 MB ( 550 KB) buffer memory used [*buf held]
-----------------------------------------------
Used : Max_Used : Limit for Other Resources
2465 2492 8730 numfile
12 13 309 numflock
47 47 2000 numiptent
26 30 1440 numothersock
73 75 360 numproc
1 1 24 numpty
0 1 384 numsiginfo
25 25 1440 numtcpsock
-----------------------------------------------
Fail Count conditions: 1
privvmpages 82695 82747 196608 200540 109740
Quote:
Originally Posted by Pat Arneson
Login as root, under this "Service Configuration " category, see Service Manager, then uncheck all which daemons u dont use.