Re: [Vserver] resource management

From: Michael S. Zick <mszick_at_morethan.org>
Date: Sat 02 Dec 2006 - 02:51:39 GMT
Message-Id: <200612012051.40114.mszick@morethan.org>

On Fri December 1 2006 18:47, Chuck wrote:
> On Friday 01 December 2006 17:38, Michael S. Zick wrote:
> > > The host install is 100% stock Gentoo with no modifications other than
> what is
> > > needed to run vservers.  The kernel is 2.6.18-vs2.0.2-gentoo-r8 with
> > >
> >
> > if the above kernel version is 2.6.18.2 as kernel.org numbers them,
> > replace it with 2.6.18.3 or newer.
>
> will have a look at that
>
> >
> > The kernel.org-2.6.18.3 has some page handling fixes in it.
> > The 2.6.18.2 can be put into a situation where it does not properly use
> > swap.

My bad. I was unclear - 'does not handle dirty pages properly' - pages
which should either be reclaimed from swap or swapped out.

My reason for making that guess was the console message which you quoted.

With 4g of ram, you have a ways to grow but will eventually run out of
room if you push it hard enough. And swap usage will look like you
have plenty of room remaining when oom starts running and/or your filesystem
starts to corrupt.

Perhaps the easiest way to see if that is 2.6.18.3 is to try applying the
2.6.8.2-3 diff patch to the kernel source with the Gentoo and VServer
patches in place (only the extra version string should fail to apply).

If patch tells you 'patch already applied' then you have 2.6.18.3(+)

Mike
>
> we only use about 25% of our ram at this time and i really dont expect any
> swap at all, but i do see a token amount which i am not sure where it comes
> from...
>
> valkyrie / # free
> total used free shared buffers cached
> Mem: 4060320 1845044 2215276 0 366696 477532
> -/+ buffers/cache: 1000816 3059504
> Swap: 3903784 232 3903552
>
>
> > The host install is 100% stock Gentoo with no modifications other than what
> is
> > needed to run vservers. The kernel is 2.6.18-vs2.0.2-gentoo-r8 with
> >
> > util-vserver 0.30.211. Everything is compiled 2006.1 gcc 4.1.1 and
> > glibc .2.4-r4:2.2.
>
> > Note: 'stock <Distribution Name>' does not mean an unmodified kernel.
> >
>
> no, I realize that... this is 'stock gentoo supplied vserver kernel'
>
> > Mike
> >
> > > util-vserver 0.30.211. Everything is compiled 2006.1 gcc 4.1.1 and
> > > glibc .2.4-r4:2.2.
>
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sat Dec 2 03:01:47 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 02 Dec 2006 - 03:01:52 GMT by hypermail 2.1.8