RE: [vserver] excuse the stupidity of this question how do we delete a vserver?

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

From: Bill Brigden (bill_at_mastokes.co.uk)
Date: Mon Aug 12 2002 - 22:17:40 EDT


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

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.

-----Original Message-----
From: Ian Douglas [mailto:linux_at_wild98.com]
Sent: 13 August 2002 00:58
To: vserver_at_solucorp.qc.ca
Subject: RE: [vserver] excuse the stupidity of this question how do we
delete a vserver?

That happened to me as well - tried a 'newvserver' command, got a 'too
many open files' error, tried to 'rm' the /vservers/VS01 directory and
got the same error. Couldn't do anything about it until I rebooted the
main server...

... or am I missing something too?

Also, how do I get around the 'too many open files' error when running
newvserver? If my main server is up and running, and have VS00 running
(vserver VS00 start), I get the 'open files' error. If I stop VS00, I
can add a new vserver. Hardly efficient if I need to take down all
vservers to add a new one...

-id

> -----Original Message-----
> From: Jason Silverglate [mailto:jason_at_pwebtech.com]
> Sent: Monday, August 12, 2002 4:20 PM
> To: vserver_at_solucorp.qc.ca
> Subject: Re: [vserver] excuse the stupidity of this question how do we

> delete a vserver?
>
>
> I did a unify intall and can't delete /proc and /dev in that partition
>
> Jason
>
> At 06:37 PM 8/12/2002, you wrote:
> >rm /etc/vservers/vserver_name.conf
> >rm /home/vservers/vserver_name
> >
> >?
> >
> >On 12 Aug 2002 at 18:34, Jason Silverglate wrote:
> >
> > > excuse the stupidity of this question how do we delete a vserver?
> > >
> > >
> > > __________________
> > > Jay Silver jason_at_pwebtech.com ICQ 103463692
> > > Pegasus Web Technologies
> > > http://www.pwebtech.com
> > > Web Hosting and Dedicated Servers
> > >
> > >
> >
> >--
> >Russell Anthony <ranthony_at_siteturn.com>
> >Network Development / Administration
>
> __________________
> Jay Silver jason_at_pwebtech.com ICQ 103463692
> Pegasus Web Technologies
> http://www.pwebtech.com
> Web Hosting and Dedicated Servers
>
>
>


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

This archive was generated by hypermail 2.1.4 : Mon Aug 19 2002 - 12:01:01 EDT