Re: [Vserver] Memory accounting

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Wed 14 Dec 2005 - 19:26:49 GMT
Message-ID: <20051214192649.GF6778@MAIL.13thfloor.at>

On Wed, Dec 14, 2005 at 02:19:12PM +0100, Cornelius Thiele wrote:
> Hi there,
> running kernel 2.6.14-vs2.0.1-rc3-gentoo-r2 and util-vserver-0.30.209-r1
> I'm getting some strange readings from vserver-stat about the resident
> set size and the virtual memory. This is on a 32-bit system so the page
> size should be 4k.
> /proc/virtual/1026/limit says
> VM: 82858 96208 524288 0
> [..]
> RSS: 34866 57816 65536 0
> which seems right.
> /proc/meminfo in the vserver says:
> MemTotal: 262144 kB
> MemFree: 121020 kB
> which seems right, too. 'top' in the vserver also tells the right value,
> but i guess it gets that from meminfo anyway. (virt_mem is set)
>
> but vserver-stat says:
> 1026 29 1.1G 387.7M 1h03m16 16m13s54 3d13h47 vs00026
> which seems to be 3 times too high (and way over the limit, too).

hmm, usually vserver-stat just sums up the
values found with vps auxww, but maybe that
got broken and/or doesn't match reality anymore

will need some investigations ...

thanks for reporting,
Herbert

> --
> With kind regards,
>
> Cornelius Thiele
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed Dec 14 19:27:06 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 14 Dec 2005 - 19:27:08 GMT by hypermail 2.1.8