About this list Date view Thread view Subject view Author view Attachment view

From: edward_at_paradigm4.com.au
Date: Fri 08 Feb 2002 - 11:01:39 GMT


On Friday, 8 February 2002 at 10:20, Jonas Björklund wrote:

> I have a question, is it possbile to limit the memory for each vserver?

Not directly atm ( work in progress )
but you can limit the number of processes in each vserver ( NPROC parameter )
and you can limit the memory that a single vserver process can have

e.g.

# limit RSS, DSS of a single process to 8MB and VM size of a process to 16MB
ulimit -m 8192 -d 8192 -v 16384
# you can also limit the stack size
ulimit -s 8192
# and the max. amount of "locked" memory ( not allowed to be swapped out )
ulimit -l 8192
# start your vserver
vserver start ...

adjust the values as you see fit.

Ed


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 06 Nov 2002 - 07:03:39 GMT by hypermail 2.1.3