Subject: vserver swap
From: Richard Lamboj <richard.lamboj@bilcom.at>
Date: Fri, 4 Dec 2009 10:01:38 +0100


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?

Kind Regards

Richard Lamboj