[Devel] privvmpages problem in 2.6.15beta

Miroslav Ruda ruda at ics.muni.cz
Wed Mar 8 05:04:23 PST 2006


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




More information about the Devel mailing list