[Vserver] VSZ gets smaller than RSS

From: <sys-admin_at_emaxx.nl>
Date: Fri 26 Jan 2007 - 08:06:30 GMT
Message-ID: <45B9B686.2060009@emaxx.nl>

i!

Is it possible that VSZ becomes smaller/lower than RSS in 'vserver-stat'
after starting some applications (JBoss and Tomcat with Active-BPEL
engine, see #1)?

------------------------------------------------------------------------
~ # vserver-stat
CTX PROC VSZ RSS userTIME sysTIME UPTIME NAME
0 58 296.4M 22.3M 0m02s42 0m04s55 6m33s88 root server
1151 5 1.3G 283.4M 0m38s45 0m00s82 4m41s19 lvg-1-151
1152 16 393.6M 793.8M 1m14s76 0m01s93 4m36s71 lvg-1-152 <-- #2
1153 7 1.3G 195.7M 0m19s50 0m00s62 4m31s70 lvg-1-153 <-- #1
1154 3 42.2M 2.7M 0m00s00 0m00s00 4m21s36 lvg-1-154

_starting JBoss and Tomcat from within lvg-1-153_

~ # vserver-stat
CTX PROC VSZ RSS userTIME sysTIME UPTIME NAME
0 58 296.4M 22.3M 0m02s43 0m04s59 6m46s88 root server
1151 5 1.3G 283.4M 0m38s46 0m00s82 4m54s19 lvg-1-151
1152 16 393.6M 793.8M 1m14s80 0m01s94 4m49s71 lvg-1-152 <-- #2
1153 8 15.9+ 423.7M 0m45s47 0m01s18 4m44s70 lvg-1-153 <-- #1
1154 3 42.2M 2.7M 0m00s00 0m00s00 4m34s36 lvg-1-154
------------------------------------------------------------------------

This also happend with another vserver (#2)

Specs of the system:
------------------------------------------------------------------------
Debian Etch 4.0 (weekly build 27-12-2006, debian-testing-amd64-netinst.iso)
Pentium D EMT64
4 GB RAM

Versions:
                   Kernel: 2.6.17.13-vs2.0.2.1.2007010501
                   VS-API: 0x00020002
             util-vserver: 0.30.211; Dec 5 2006, 02:23:50

Features:
                       CC: gcc, gcc (GCC) 4.1.2 20061115 (prerelease)
(Debian 4.1.1-20)
                      CXX: g++, g++ (GCC) 4.1.2 20061115 (prerelease)
(Debian 4.1.1-20)
                 CPPFLAGS: ''
                   CFLAGS: '-Wall -g -O2 -std=c99 -Wall -pedantic -W
-funit-at-a-time'
                 CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W
-fmessage-length=0 -funit-at-a-time'
               build/host: x86_64-pc-linux-gnu/x86_64-pc-linux-gnu
             Use dietlibc: yes
       Build C++ programs: yes
       Build C99 programs: yes
           Available APIs: compat,v11,fscompat,v13,net,v21,oldproc,olduts
            ext2fs Source: e2fsprogs
    syscall(2) invocation: alternative
      vserver(2) syscall#: 236/glibc

Paths:
                   prefix: /usr
        sysconf-Directory: /etc
            cfg-Directory: /etc/vservers
         initrd-Directory: $(sysconfdir)/init.d
       pkgstate-Directory: /var/run/vservers
          vserver-Rootdir: /var/lib/vservers

BTW: vserver-Rootdir: /var/lib/vservers is in correct, I use an other
vserver-rootdir: /home/vservers. I corrected this in the
/etc/vservers/.defaults/vdirbase/.
------------------------------------------------------------------------

Does my understanding of memory allocation fail or is this a bug?

Regards,

Vincent Pluk,
eMAXX, Netherlands

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Fri Jan 26 08:43:55 2007

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 26 Jan 2007 - 08:44:02 GMT by hypermail 2.1.8