From: Bill Brigden (bill_at_mastokes.co.uk)
Date: Tue 13 Aug 2002 - 23:49:53 BST
I simply copied the mail over, but neglected to see that....you are
correct :-)
-----Original Message-----
From: Russell Anthony [mailto:ranthony_at_siteturn.com]
Sent: 13 August 2002 17:57
To: vserver_at_solucorp.qc.ca
Subject: RE: [vserver] excuse the stupidity of this question how do we
delete a vserver?
On 13 Aug 2002 at 3:17, Bill Brigden wrote:
> A quote from Tim Sellar (tim_at_idaya.co.uk) of the FreeVSD project may
> help here:
>
> You are at a stage where you are going to need to do some performance
> tuning of your hosting servers. This involves increasing the default
> limits for things like file handlers and shared memory segments.
>
> You can check the number of allocated file handlers by doing:
>
> cat /proc/sys/fs/file-max
> cat /proc/sys/fs/dquot-max
> cat /proc/sys/fs/super-max
>
> You can check the relevant shared memory segment limits by doing:
>
> cat 67108864 >/proc/sys/kernel/shmmax
> cat 384 >/proc/sys/kernel/shmmni
you mean :
echo 67108864 >/proc/sys/kernel/shmmax
echo 384 >/proc/sys/kernel/shmmni
don't you ?
> If you are hosting large numbers of virtual servers or have a
> particularly rich skel these values may have to be increased. This can
> be done by adding the following lines in your /etc/rc.d/rc.sysinit
> immediately after the /proc filesystem has been mounted:
>
> echo 256000 >/proc/sys/fs/file-max
> echo 32768 >/proc/sys/fs/dquot-max
> echo 2048 >/proc/sys/fs/super-max
> echo 67108864 >/proc/sys/kernel/shmmax
> echo 384 >/proc/sys/kernel/shmmni
>
> The values shown are reasonable examples but may need to altered
> depending on your systems requirements.
>
> -----------------------
> I hope this helps - Bill B.
>