Subject: Re: [vserver] vserver swap
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Fri, 4 Dec 2009 14:07:50 +0100

On Fri, Dec 04, 2009 at 10:01:38AM +0100, Richard Lamboj wrote:
> 
> Good morning,
> 
> is there a setting or solution which disallows a vserver guest to use 
> swap(something like swappiness in the sysctl)?
> 
> We have three samba servers on one vserver host. Samba does not need much of 
> RAM: 50 - 250 MB. On the same maschine there are running a DNS, a netboot 
> server, mail server and so on. When the smb process went into swap, then 
> samba will be damn slow. So the netboot server should use swap, but the samba 
> guests should only use swap if the RAM is completely full.
> 
> Is it possible to set swapiness in a vserver guest?

DO NOT HIJACK THREADS!

is that really so complicated to understand?
Herbert

> Kind Regards
> 
> Richard Lamboj