OpenVZ Forum


Home » General » Support » Memory usage
Re: Memory usage [message #2589 is a reply to message #2526] Mon, 10 April 2006 20:51 Go to previous messageGo to previous message
eugeniopacheco is currently offline  eugeniopacheco
Messages: 40
Registered: November 2005
Member
Hi,

Thanks a lot for your answer...

Yes, I do believe that the limit would be the privvmpages setting... What is the unit used by privvmpages? I had a VPS running with 95862:105448 and I couldn't run 1 ircd, 1 shoutcast and 30 eggdrops... It got memory shortage. Is that suppose to be like that? I'm not sure how much memory an eggdrop or a shoutcast uses... Here is what my ps aux showed:

[root@t248 ~]# vzctl exec 104 ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1504 512 ? Ss Apr08 0:00 ini
root 6126 0.0 0.0 1560 592 ? Ss Apr08 0:00 /sbin/syslogd
root 6134 0.0 0.1 3468 1520 ? Ss Apr08 0:01 /usr/sbin/sshd
nobody 7255 0.0 0.2 4068 2092 ? Ss Apr08 0:00 proftpd: (accepting connections)
daemon 7258 0.0 0.0 1684 628 ? Ss Apr08 0:00 /usr/sbin/atd
root 7261 0.0 0.0 1764 816 ? Ss Apr08 0:00 /usr/sbin/cron
ircd 7328 0.0 0.4 5936 4892 ? Ss Apr08 0:10 ./ircd
egg 11789 0.0 0.2 12376 2660 ? S Apr08 0:00 ./eggdrop-1.6.17 egg1.conf
bonan 20451 0.0 0.2 29740 2152 ? S Apr08 0:00 ./sc_serv
egg 27810 0.0 0.2 12376 2664 ? S Apr08 0:00 ./eggdrop -m eggdrop.conf
egg 27844 0.0 0.2 12376 2684 ? S Apr08 0:00 ./eggdrop -m eggdrop.conf
egg 14291 0.0 0.2 12376 2736 ? S Apr09 0:01 ./eggdrop -m v2sis.conf
egg 1421 0.0 0.2 12376 2740 ? S Apr09 0:00 ./eggdrop -m 01.conf
egg 1904 0.0 0.2 12376 2740 ? S Apr09 0:00 ./eggdrop -m 02.conf
egg 8083 0.0 0.2 12364 2632 ? S 01:47 0:00 ./eggdrop -m egg11.conf
egg 9346 0.0 0.2 12376 2720 ? S 02:00 0:00 ./eggdrop -m egg13.conf
egg 9806 0.0 0.2 12376 2664 ? S 02:05 0:00 ./eggdrop -m egg14.conf
egg 10096 0.0 0.2 12376 2736 ? S 02:28 0:00 ./eggdrop -m egg15.conf
egg 10099 0.0 0.2 12376 2740 ? S 02:28 0:00 ./eggdrop -m egg16.conf
egg 10102 0.0 0.2 12364 2716 ? S 02:29 0:00 ./eggdrop -m egg17.conf
egg 10105 0.0 0.2 12376 2748 ? S 02:29 0:00 ./eggdrop -m egg18.conf
egg 10223 0.0 0.2 12376 2740 ? S 02:30 0:00 ./eggdrop -m egg19.conf
egg 10232 0.0 0.2 12364 2712 ? S 02:32 0:00 ./eggdrop -m egg20.conf
egg 10235 0.0 0.2 12364 2716 ? S 02:32 0:00 ./eggdrop -m egg21.conf
egg 10239 0.0 0.2 12364 2716 ? S 02:33 0:00 ./eggdrop -m egg22.conf
egg 11268 0.0 0.2 12364 2712 ? S 02:35 0:00 ./eggdrop -m egg23.conf
egg 11302 0.0 0.2 12364 2716 ? S 02:35 0:00 ./eggdrop -m egg24.conf
egg 11311 0.0 0.2 12364 2716 ? S 02:37 0:00 ./eggdrop -m egg25.conf
egg 11342 0.0 0.2 12364 2712 ? S 02:39 0:00 ./eggdrop -m egg26.conf
egg 11408 0.0 0.2 12376 2740 ? S 02:40 0:00 ./eggdrop -m egg27.conf
egg 11424 0.0 0.2 12376 2740 ? S 02:42 0:00 ./eggdrop -m egg28.conf
egg 11428 0.0 0.2 12376 2740 ? S 02:43 0:00 ./eggdrop -m egg29.conf
egg 11431 0.0 0.2 12376 2728 ? S 02:44 0:00 ./eggdrop -m egg30.conf
egg 11465 0.0 0.2 12376 2732 ? S 02:45 0:00 ./eggdrop -m egg31.conf
egg 11470 0.0 0.2 12376 2732 ? S 02:46 0:00 ./eggdrop -m egg32.conf
egg 11473 0.0 0.2 12376 2736 ? S 02:46 0:00 ./eggdrop -m egg33.conf
egg 11482 0.0 0.2 12376 2740 ? S 02:47 0:00 ./eggdrop -m egg34.conf
egg 11485 0.0 0.2 12376 2732 ? S 02:47 0:00 ./eggdrop -m egg35.conf
egg 11488 0.0 0.2 12376 2732 ? S 02:48 0:00 ./eggdrop -m egg36.conf
egg 11491 0.0 0.2 12376 2736 ? S 02:48 0:00 ./eggdrop -m egg37.conf
egg 11494 0.0 0.2 12376 2616 ? S 02:49 0:00 ./eggdrop -m egg38.conf
egg 11497 0.0 0.2 12376 2740 ? S 02:49 0:00 ./eggdrop -m egg39.conf
egg 11563 0.0 0.2 12376 2736 ? S 02:53 0:00 ./eggdrop -m egg42.conf
root 2791 0.0 0.0 2492 840 ? Rs 20:43 0:00 ps aux

And here is the user_beancounters:

[root@t248 ~]# vzctl exec 104 cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
104: kmemsize 2829599 3083390 5141514 8855665 0
lockedpages 0 0 836 836 0
privvmpages 90317 97727 95862 105448 81
shmpages 0 1632 9586 9586 0
dummy 0 0 0 0 0
numproc 82 90 800 800 0
physpages 10135 10804 0 2147483647 0
vmguarpages 0 0 15977 2147483647 0
oomguarpages 10135 10804 15977 2147483647 0
numtcpsock 116 122 800 800 0
numflock 2 8 668 734 0
numpty 0 2 80 80 0
numsiginfo 1 5 1024 1024 0
tcpsndbuf 93576 373564 2437038 5713838 0
tcprcvbuf 0 1021384 2437038 5713838 0
othersockbuf 80208 142592 1218519 4495319 0
dgramrcvbuf 0 12040 1218519 1218519 0
numothersock 72 101 800 800 0
dcachesize 204480 226064 3740085 3852288 0
numfile 1305 1358 6688 6688 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 10 10 200 200 0
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ovzkernel 2.6.16-026test009.1 and RHEL 4 update 3 problem
Next Topic: linux 2.6.8 compile error arch/i386/kernel/process.c
Goto Forum:
  


Current Time: Mon Nov 18 17:03:28 GMT 2024

Total time taken to generate the page: 0.02824 seconds