[Devel] privvmpages problem in 2.6.15beta

Aistis Zenkevicius noc at unix.lt
Thu Mar 9 05:53:04 PST 2006


Miroslav,

	Are you using some kind of program to test those limits? I
wonder how you managed to allocate 8gb, from the process list nothing
can be seen. 

	Just for clarification, I have amd64 box in 32bit mode with
2.6.15-025stab014.1 and I don't see this issue, tried even malloc()
without free()'ing it after.



Aistis



|-----Original Message-----
|From: devel-bounces at openvz.org [mailto:devel-bounces at openvz.org] On
|Behalf Of Miroslav Ruda
|Sent: Wednesday, March 08, 2006 2:04 PM
|To: devel at openvz.org
|Subject: [Devel] privvmpages problem in 2.6.15beta
|
|Hello,
|
|  I'm testing 2.6.15-025stab014-default on AMD64 machine and I have
|some
|problems with privvmpages. It seems to me that value of privvmpages is
|nevere
|decreased.
|This is current situation in one VPS:
|
|root# cat /proc/user_beancounters
|Version: 2.5
|
|    uid ref  resource                     held              maxheld
|  barrier                limit              failcnt
|   102 2481: kmemsize                     1072                 2147
|  3578265              3816816                    0
|             lockedpages                     0                    0
|       32                   32                    0
|             privvmpages               1909456              1915750
|13107200             13107200                   36
|             shmpages                        0                    0
|     8192                 8192                    0
|             dummy                           0                    0
|9223372036854775807  9223372036854775807                    0
|             numproc                        17                   24
|       65                   65                    0
|             physpages                    1310                21194
|        0  9223372036854775807                    0
|             vmguarpages                     0                    0
|     6144  9223372036854775807                    0
|             oomguarpages                 1310                21194
|     6144  9223372036854775807                    0
|             numtcpsock                     15                   19
|       80                   80                    0
|             numflock                        1                   10
|      100                  110                    0
|             numpty                          1                    1
|       16                   16                    0
|             numsiginfo                      0                    6
|      256                  256                    0
|             tcpsndbuf                    2304                44032
|   319488               524288                    0
|             tcprcvbuf                       0                 8704
|   319488               524288                    0
|             othersockbuf                25344                33024
|   132096               336896                    0
|             dgramrcvbuf                     0                 4352
|   132096               132096                    0
|             numothersock                   14                   19
|       80                   80                    0
|             dcachesize                 115497               202857
|  1048576              1097728                    0
|             numfile                       165                 1280
|     1280                 1280                 2995
|             dummy                           0                    0
|9223372036854775807  9223372036854775807                    0
|             dummy                           0                    0
|9223372036854775807  9223372036854775807                    0
|             dummy                           0                    0
|9223372036854775807  9223372036854775807                    0
|             numiptent                      10                   10
|      128                  128                    0
|
|root# ps axu
|USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
|root         1  0.0  0.0  1516  524 ?        Ss   13:13   0:00 ini
|daemon   16306  0.0  0.0  1632  352 ?        Ss   13:13   0:00
|/sbin/portmap
|root     16368  0.0  0.0  2268  724 ?        Ss   13:13   0:00
|/sbin/syslogd
|root     16371  0.0  0.0  1516  364 ?        Ss   13:13   0:00
|/sbin/klogd
|root     17430  0.0  0.0  2248  676 ?        Ss   13:13   0:00
|/usr/sbin/inetd
|root     17533  0.0  0.1  4784 1044 ?        Ss   13:13   0:00
|/usr/sbin/sshd
|root     17539  0.0  0.0  2396  876 ?        Ss   13:13   0:00
|/sbin/rpc.statd
|root     17546  0.0  0.0  1772  748 ?        Ss   13:13   0:00
|/usr/sbin/cron
|root     17591  0.0  0.2  5940 2636 ?        Rs   13:14   0:00 sshd:
|root at pts/0
|root     17599  0.0  0.1  2604 1512 pts/0    Rs   13:14   0:00 -bash
|root     22137  0.0  0.0  2508  856 pts/0    R+   14:02   0:00 ps axu
|
|Avery time I start some program, held value for privvmpages is
|increased and
|never changed back when program finish. Is it know bug or my
|misunderstanding
|of privvmpages?
|
|Best regards
|
|--
|                   Mirek Ruda
|
|_______________________________________________
|Devel mailing list
|Devel at openvz.org
|https://openvz.org/mailman/listinfo/devel




More information about the Devel mailing list