RE: [Vserver] Talking about limits...

From: <>
Date: Fri 21 Oct 2005 - 17:28:27 BST
Message-ID: <>

Have a look at:

-----Original Message-----
From: []On Behalf Of Michel Belleau (
Sent: Friday, October 21, 2005 10:26 AM
Subject: Re: [Vserver] Talking about limits...

Hi again Sam.

I tried searching for the "virt_mem" flag and can't find anything... Where is the best place to search for that flag ?

Thanks in advance,

Michel Belleau


(418) 261-6412 --

Michel Belleau ( a écrit :

Hi Sam.

I didn't knew about this option before, I'll have a look at the wiki right now!

Thanks a lot,

Michel Belleau


(418) 261-6412 --

Sam Vilain a écrit :

On Tue, 2005-10-18 at 15:46 -0400, Michel Belleau ( wrote:


I tried limiting a vserver memory this week-end but had no luck doing it..

I tried setting the AS and RSS files in the configuration directory, but

it doesn't seem to work the way I wanted. It kills processes (like

apache in my tests) which need more memory than what I allowed in the


What I would like to do is limit the usage of RAM the vserver has. It

seems that AS and RSS limits are the total ressources of a vserver.

I want to give a vserver 128 megabytes of RAM and 1 gig swap space. I

don't want the OOM killer to restrict applications to ask for more than

128 megs of RAM.

I know I can do it, since how does VPS using vservers work then?


Did you try putting "virt_mem" in /etc/vservers/XXX/flags ?




Vserver mailing list


Vserver mailing list
Received on Fri Oct 21 17:28:53 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 21 Oct 2005 - 17:28:55 BST by hypermail 2.1.8