Re: [Vserver] resource management

From: Chuck <chuck_at_sbbsnet.net>
Date: Sat 02 Dec 2006 - 03:30:20 GMT
Message-Id: <200612012230.20909.chuck@sbbsnet.net>

On Friday 01 December 2006 21:51, Michael S. Zick wrote:
> 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).
>

there is a new one available via portage linux-2.6.18-vserver-2.1.1-r1

which i just downloaded. it probably is the -3 if below follows the kernel.org
naming conventions.

DIST genpatches-2.6.18-3.base.tar.bz2
DIST genpatches-2.6.18-3.extras.tar.bz2

ill install that tomorrow and reboot it sometime late (3am) or so.

> 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
>

-- 
Chuck
"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sat Dec 2 03:34:47 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 02 Dec 2006 - 03:34:52 GMT by hypermail 2.1.8