OpenVZ Forum - RDF feed
type: channel
items: Bad memory accounting

Bad memory accounting
type: item
description: Hi! I have a problem with my OpenVZ VPS. Here is my current processlist: root@GleSYS-vps:~# ps auxf USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0 1788 808 ? Ss Dec12 0:00 init syslog 31804 0.0 0.0 1932 680 ? Ss Dec12 0:00 /sbin/syslogd -u syslog root 31847 0.0 0.0 1868 528 ? S Dec12 0:00 /bin/dd bs 1 if /proc/kmsg of /var/run/klogd/kmsg root 11922 0.0 0.0 5312 1012 ? Ss Dec12 0:00 /usr/sbin/sshd root 18107 0.0 0.2 8052 2540 ? Ss 20:33 0:00 \_ sshd: root@pts/0 root 18196 0.0 0.2 4660 2324 pts/0 Ss+ 20:33 0:00 | \_ -bash root 30326 0.0 0.2 8052 2540 ? Ss 20:51 0:00 \_ sshd: root@pts/2 root 30351 0.0 0.2 4660 2356 pts/2 Ss 20:51 0:00 | \_ -bash root 30075 0.0 0.0 2636 932 pts/2 R+ 21:20 0:00 | \_ ps auxf root 29847 1.0 0.1 6656 2052 ? Ss 21:20 0:00 \_ sshd: [accepted] sshd 29901 0.0 0.1 6656 1116 ? S 21:20 0:00 \_ sshd: [net] As you can see only syslog, sshd and init is running. Here is what user_beancounters report: root@GleSYS-vps:~# cat /proc/user_beancounters Version: 2.5 uid resource held maxheld barrier limit failcnt 18112: kmemsize 7194045 14691487 61440000 92160000 0 lockedpages 0 0 2048 2048 0 privvmpages 99201 286388 262144 262144 320428 shmpages 96775 169403 524288 524288 0 dummy 0 0 0 0 0 numproc 11 91 1000 1000 0 physpages 1846 242173 0 9223372036854775807 0 vmguarpages 0 0 262144 262144 0 oomguarpages 97001 242173 262144 262144 0 numtcpsock 4 29 2000 2000 0 numflock 0 6 376 412 0 numpty 2 5 32 32 0 numsiginfo 0 10 256 256 0 tcpsndbuf 113840 5146048 178257920 230686720 0 tcprcvbuf 65536 1656112 178257920 230686720 0 othersockbuf 4640 17114528 178257920 230686720 0 dgramrcvbuf 0 96688 178257920 230686720 0 numothersock 6 149 2000 2000 0 dcachesize 1468768 1857654 6144000 7680000 0 numfile 433 1959 8400 8400 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 numiptent 24 24 400 400 0 As you can see, despite the fucked up line breaks, is that privvmpages is 99201 which I think is a lot for the number of processes I have running. Is this…
creator: bjourne
date: 2010-01-07T15:07:47-00:00