[Vserver] vservers init script broken?

2005-10-21 Thread Chuck

on a totally different machine and completely different  installation i get 
this which is a different error than the one on the dell:

on start

eron ~ # /etc/init.d/vservers start
chdir(): No such file or directory
chdir(): No such file or directory
 * Unhiding /proc entries ... 
[ ok ]
 * Starting vservers of type 'default' ...
Davin starting
[ ok ]


on stopping:

eron ~ # /etc/init.d/vservers stop 
 * Stopping all types of vservers ... 
[ ok ]
 * Checking for vservers still running ...
vuname: vc_xidopt2xid("/proc/virtual/3883"): No such file or directory
basename: too few arguments
Try `basename --help' for more information.
 * Hiding /proc entries ...
chdir(): No such file or directory
chdir(): No such file or directory
[ ok ]

and the vserver is still running just fine.

vserver guest stop works perfectly.

do i have something misconfigured or is this script broken? it is giving me 
errors on 2 different machines and they are 2 different errors.. i posted the 
previous one a day or so ago


-- 

Chuck

"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


RE: [Vserver] KHTML content editor

2005-10-21 Thread Matthew Nuzum
> From: [EMAIL PROTECTED] [mailto:vserver-
> [EMAIL PROTECTED] On Behalf Of Chuck
> Sent: Friday, October 21, 2005 3:10 PM
> To: vserver@list.linux-vserver.org
> Subject: [Vserver] KHTML content editor
> 
> does anyone see any reason this will not be 100% compatible running in a
> web guest?
> 
> http://www.interaktonline.com/Products/KTML/Overview/
> 
There's no reason that should give you problems. I've used an older version
of it in a vserver.

Just a quick note: If you're considering a commercial WYSIWYG, here's one my
company has had *excellent* results with:
http://www.wysiwygpro.com/

-- 
Matthew Nuzum <[EMAIL PROTECTED]>
www.followers.net - Makers of "Elite Content Management System"
View samples of Elite CMS in action by visiting
http://www.followers.net/portfolio/rver

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] KHTML content editor

2005-10-21 Thread Chuck
does anyone see any reason this will not be 100% compatible running in a web 
guest?

http://www.interaktonline.com/Products/KTML/Overview/



-- 

Chuck

"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] many ip addys

2005-10-21 Thread Chuck
On Friday 21 October 2005 12:39 pm, Herbert Poetzl wrote:
> On Fri, Oct 21, 2005 at 12:23:38PM -0400, Chuck wrote:
> > On Friday 21 October 2005 12:12 pm, Herbert Poetzl wrote:
> > > On Fri, Oct 21, 2005 at 06:58:38AM -0400, Chuck wrote:


> > so then just for clarity, using the current vserver software
> > (2.1.0-r4) with up to 16 ip addys does not give any performance hits
> > at all compared to 1 but beyond that is when it gets nasty.
> 
> no, that is a linear search, so every new ip address
> will actually add overhead on every socket bind and/or
> ip related operation inside the guest ...
> 

ok.. so how may ips in a guest do you estimate could be used before a 
perceptable change in performance happens?  and by this are we talking about 
per interface or gross totals among all interfaces?


> HTH,
> Herbert
> 
> > > 
> > 
http://vserver.13thfloor.at/Experimental/VARIOUS/delta-2.6.9-vs1.9.3-net64.diff
> > > 
> > > (old patch to give you some ideas :)
> > > 
> > > best,
> > > Herbert
> > > 
> > > > -- 
> > > > 
> > > > Chuck
> > > > 
> > > > "...and the hordes of M$*ft users descended upon me in their anger,
> > > > and asked 'Why do you not get the viruses or the BlueScreensOfDeath
> > > > or insecure system troubles and slowness or pay through the nose 
> > > > for an OS as *we* do?!!', and I answered...'I use Linux'. "
> > > > The Book of John, chapter 1, page 1, and end of book
> > > > 
> > > > 
> > > > ___
> > > > Vserver mailing list
> > > > Vserver@list.linux-vserver.org
> > > > http://list.linux-vserver.org/mailman/listinfo/vserver
> > > 
> > 
> > -- 
> > 
> > Chuck
> > 
> > "...and the hordes of M$*ft users descended upon me in their anger,
> > and asked 'Why do you not get the viruses or the BlueScreensOfDeath
> > or insecure system troubles and slowness or pay through the nose 
> > for an OS as *we* do?!!', and I answered...'I use Linux'. "
> > The Book of John, chapter 1, page 1, and end of book
> > 
> > 
> > ___
> > Vserver mailing list
> > Vserver@list.linux-vserver.org
> > http://list.linux-vserver.org/mailman/listinfo/vserver
> 

-- 

Chuck

"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


RE: [Vserver] unmount nfs with vserver

2005-10-21 Thread smagnuson

I went back through my orig post on this way back when and found a comment that 
I missed/forgot.  This might have helped me... sorry herbert.

>> I would like to mount a nfs filesystem from a non vserver (nfs server)
>> into a vserver (nfs client).

>inside, you have to use some kind of userspace nfs
>daemon as you do not have/get kernel support without
>proper permissions ...

>HTH,
>Herbert

I also just found thesebetter late then never.
http://vserver.strahlungsfrei.de/tiki-index.php?page=NFSVServer
http://www.paul.sladen.org/vserver/faq/#nfs

I'm currently mounting NFS from outside the vserver.

sig



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jim Wight
Sent: Thursday, October 20, 2005 2:16 AM
To: vserver@list.linux-vserver.org
Subject: RE: [Vserver] unmount nfs with vserver


> Ok my plan is to be able to mount/umount nfs disk from inside the 
> guest/vserver.  I'm still getting a permission denied.
> 
> #Now that I have the ccaps in place properly (i hope)
> cat /usr/local/etc/vservers/unixdev1/ccapabilities
> SECURE_MOUNT
> SECURE_REMOUNT
> BINARY_MOUNT

I also want to get NFS working inside a vserver.

I have progressed form 'permission denied' to "unknown filesystem type
'nfs'" by including those in ccapabilities. 'nfs' is listed as a
filesystem in /proc/filesystems, and the nfs module is loaded. strace
shows that the mount call fails with 'ENODEV (No such device)'. Needless
to say, it works if I use CAP_SYS_ADMIN instead.

What might the problem be? 

My testme.sh output is:

Linux-VServer Test [V0.13] Copyright (C) 2003-2005 H.Poetzl
chcontext is working.
chbind is working.
Linux 2.6.12.5-vs2.0 i686/0.30.208/0.30.208 [Ea] (0)
VCI:  0002:0001 273 0316
---
[000]# succeeded.
[001]# succeeded.
[011]# succeeded.
[031]# succeeded.
[101]# succeeded.
[102]# succeeded.
[201]# succeeded.
[202]# succeeded.


Jim


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] many ip addys

2005-10-21 Thread Herbert Poetzl
On Fri, Oct 21, 2005 at 12:23:38PM -0400, Chuck wrote:
> On Friday 21 October 2005 12:12 pm, Herbert Poetzl wrote:
> > On Fri, Oct 21, 2005 at 06:58:38AM -0400, Chuck wrote:
> > > i forget.. was it ngnet that would support a few hundred ip addys in a
> > > guest?
> > >
> > > i have a few big machines i cant move over until it can
> > > efficiently support several hundred ip addys (minimum a /24) ...
> > > if ngnet is the answer im gonna try to raise some funding from my
> > > boss .. no promises as he does not let go easily.. :D
> > 
> > hehe, well, ngnet will provide that indeed,
> > but for a quick and dirty hack you can raise
> > the limit from the current 16 to something
> > higher, but you should be aware that the
> > current implementation will slow down with
> > every ip address you add ...
> 
> hehe dont think that would work as its a quite heavily used email
> server :) if i can get the software people to agree, i could just make
> 12 email guests.. separating the domains and accounts would be a bit
> of a problem but thats one way to do it.. problem is the licensing.
> its commercial software licensed for one machine. i know the ceo
> fairly well from dealing with him directly with bug fixes and feature
> implementations so maybe i can convince him im not trying to stiff
> him and get a multiple machine license for this if i explain the 16
> ip limitation. the other problem ill run into is there will be 12x
> the resource usage of just one.. not good.. maybe ill leave it as a
> separate machine for now.
> 
> so then just for clarity, using the current vserver software
> (2.1.0-r4) with up to 16 ip addys does not give any performance hits
> at all compared to 1 but beyond that is when it gets nasty.

no, that is a linear search, so every new ip address
will actually add overhead on every socket bind and/or
ip related operation inside the guest ...

HTH,
Herbert

> > 
> http://vserver.13thfloor.at/Experimental/VARIOUS/delta-2.6.9-vs1.9.3-net64.diff
> > 
> > (old patch to give you some ideas :)
> > 
> > best,
> > Herbert
> > 
> > > -- 
> > > 
> > > Chuck
> > > 
> > > "...and the hordes of M$*ft users descended upon me in their anger,
> > > and asked 'Why do you not get the viruses or the BlueScreensOfDeath
> > > or insecure system troubles and slowness or pay through the nose 
> > > for an OS as *we* do?!!', and I answered...'I use Linux'. "
> > > The Book of John, chapter 1, page 1, and end of book
> > > 
> > > 
> > > ___
> > > Vserver mailing list
> > > Vserver@list.linux-vserver.org
> > > http://list.linux-vserver.org/mailman/listinfo/vserver
> > 
> 
> -- 
> 
> Chuck
> 
> "...and the hordes of M$*ft users descended upon me in their anger,
> and asked 'Why do you not get the viruses or the BlueScreensOfDeath
> or insecure system troubles and slowness or pay through the nose 
> for an OS as *we* do?!!', and I answered...'I use Linux'. "
> The Book of John, chapter 1, page 1, and end of book
> 
> 
> ___
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Talking about limits...

2005-10-21 Thread Herbert Poetzl
On Fri, Oct 21, 2005 at 12:25:35PM -0400, Michel Belleau (malaiwah.com) wrote:
> 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 ?

http://linux-vserver.org/Caps+and+Flags
http://www.nongnu.org/util-vserver/doc/conf/configuration.html
(see caps and flags)

best,
Herbert

> Thanks in advance,
> 
> Michel Belleau
> SERVICES INFORMATIQUES MALAIWAH.COM
> (418) 261-6412 -- http://www.malaiwah.com
> 
> Michel Belleau (malaiwah.com) 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
> >SERVICES INFORMATIQUES MALAIWAH.COM
> >(418) 261-6412 -- http://www.malaiwah.com
> >
> >
> >
> > Sam Vilain a écrit :
> >
> >>On Tue, 2005-10-18 at 15:46 -0400, Michel Belleau (malaiwah.com) 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 
> >>>limits.
> >>>
> >>>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 ?
> >>
> >>Sam.
> >>
> >>  
> >>
> >___
> >Vserver mailing list
> >Vserver@list.linux-vserver.org
> >http://list.linux-vserver.org/mailman/listinfo/vserver
> >  
> >

> begin:vcard
> fn:Michel Belleau
> n:Belleau;Michel
> org:MALAIWAH.COM;Services Informatiques
> adr;quoted-printable:;;6374, avenue Royale;L'Ange-Gardien;Qu=C3=A9bec;G0A 
> 2K0;Canada
> email;internet:[EMAIL PROTECTED]
> tel;work:(418) 261-6412
> tel;cell:(418) 261-6412
> x-mozilla-html:TRUE
> url:http://www.malaiwah.com/
> version:2.1
> end:vcard
> 

> ___
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


RE: [Vserver] Talking about limits...

2005-10-21 Thread smagnuson



Have a look at:
http://linux-vserver.org/Caps+and+Flags
http://www.nongnu.org/util-vserver/doc/conf/configuration.html
 
 

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]On Behalf Of Michel 
  Belleau (malaiwah.com)Sent: Friday, October 21, 2005 10:26 
  AMTo: vserver@list.linux-vserver.orgSubject: 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
SERVICES INFORMATIQUES MALAIWAH.COM
(418) 261-6412 -- http://www.malaiwah.comMichel 
  Belleau (malaiwah.com) 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
SERVICES INFORMATIQUES MALAIWAH.COM
(418) 261-6412 -- http://www.malaiwah.comSam 
Vilain a écrit : 
On Tue, 2005-10-18 at 15:46 -0400, Michel Belleau (malaiwah.com) 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 
limits.

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 ?

Sam.

  ___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
  
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Talking about limits...

2005-10-21 Thread Michel Belleau (malaiwah.com)




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
SERVICES INFORMATIQUES MALAIWAH.COM
(418) 261-6412 -- http://www.malaiwah.com


Michel Belleau (malaiwah.com) 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
SERVICES INFORMATIQUES MALAIWAH.COM
(418) 261-6412 -- http://www.malaiwah.com
  
  
Sam Vilain a écrit :
  
On Tue, 2005-10-18 at 15:46 -0400, Michel Belleau (malaiwah.com) 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 
limits.

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 ?

Sam.

  
  
  ___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
  



begin:vcard
fn:Michel Belleau
n:Belleau;Michel
org:MALAIWAH.COM;Services Informatiques
adr;quoted-printable:;;6374, avenue Royale;L'Ange-Gardien;Qu=C3=A9bec;G0A 2K0;Canada
email;internet:[EMAIL PROTECTED]
tel;work:(418) 261-6412
tel;cell:(418) 261-6412
x-mozilla-html:TRUE
url:http://www.malaiwah.com/
version:2.1
end:vcard

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] many ip addys

2005-10-21 Thread Chuck
On Friday 21 October 2005 12:12 pm, Herbert Poetzl wrote:
> On Fri, Oct 21, 2005 at 06:58:38AM -0400, Chuck wrote:
> > i forget.. was it ngnet that would support a few hundred ip addys in a
> > guest?
> >
> > i have a few big machines i cant move over until it can efficiently
> > support several hundred ip addys (minimum a /24) ... if ngnet is the
> > answer im gonna try to raise some funding from my boss .. no promises
> > as he does not let go easily.. :D
> 
> hehe, well, ngnet will provide that indeed,
> but for a quick and dirty hack you can raise
> the limit from the current 16 to something
> higher, but you should be aware that the
> current implementation will slow down with
> every ip address you add ...

hehe dont think that would work as its a quite heavily used email server :)  
if i can get the software people to agree, i could just make 12 email 
guests.. separating the domains and accounts would be a bit of a problem but 
thats one way to do it.. problem is the licensing. its commercial software 
licensed for one machine. i know the ceo fairly well from dealing with him 
directly with bug fixes and feature implementations so maybe i can convince 
him im not trying to stiff him and get a multiple machine license for this if 
i explain the 16 ip limitation. the other problem ill run into is there will 
be 12x the resource usage of just one.. not good.. maybe ill leave it as a 
separate machine for now.

so then just for clarity, using the current vserver software (2.1.0-r4) with 
up to 16 ip addys does not give any performance hits at all compared to 1 but 
beyond that is when it gets nasty.

> 
> 
http://vserver.13thfloor.at/Experimental/VARIOUS/delta-2.6.9-vs1.9.3-net64.diff
> 
> (old patch to give you some ideas :)
> 
> best,
> Herbert
> 
> > -- 
> > 
> > Chuck
> > 
> > "...and the hordes of M$*ft users descended upon me in their anger,
> > and asked 'Why do you not get the viruses or the BlueScreensOfDeath
> > or insecure system troubles and slowness or pay through the nose 
> > for an OS as *we* do?!!', and I answered...'I use Linux'. "
> > The Book of John, chapter 1, page 1, and end of book
> > 
> > 
> > ___
> > Vserver mailing list
> > Vserver@list.linux-vserver.org
> > http://list.linux-vserver.org/mailman/listinfo/vserver
> 

-- 

Chuck

"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] patched Debian kernels?

2005-10-21 Thread Herbert Poetzl
On Fri, Oct 21, 2005 at 10:36:38AM +1300, Sam Vilain wrote:
> On Tue, 2005-10-18 at 14:24 +0200, Herbert Poetzl wrote:
> > for some time (maybe still? and at least in sarge) the
> > tools are broken, so better get them as source tarball
> > or from unstable/testing ...
> 
> The ones on apt.utsl.gen.nz/debian include all the fixes I could find.
> If there are any new bugfixes, ping me on irc or via e-mail and I can
> easily build new packages.

excellent! thanks a lot!

best,
Herbert

> Sam.
> 
> ___
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] many ip addys

2005-10-21 Thread Herbert Poetzl
On Fri, Oct 21, 2005 at 06:58:38AM -0400, Chuck wrote:
> i forget.. was it ngnet that would support a few hundred ip addys in a
> guest?
>
> i have a few big machines i cant move over until it can efficiently
> support several hundred ip addys (minimum a /24) ... if ngnet is the
> answer im gonna try to raise some funding from my boss .. no promises
> as he does not let go easily.. :D

hehe, well, ngnet will provide that indeed,
but for a quick and dirty hack you can raise
the limit from the current 16 to something
higher, but you should be aware that the
current implementation will slow down with
every ip address you add ...

http://vserver.13thfloor.at/Experimental/VARIOUS/delta-2.6.9-vs1.9.3-net64.diff

(old patch to give you some ideas :)

best,
Herbert

> -- 
> 
> Chuck
> 
> "...and the hordes of M$*ft users descended upon me in their anger,
> and asked 'Why do you not get the viruses or the BlueScreensOfDeath
> or insecure system troubles and slowness or pay through the nose 
> for an OS as *we* do?!!', and I answered...'I use Linux'. "
> The Book of John, chapter 1, page 1, and end of book
> 
> 
> ___
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Talking about limits...

2005-10-21 Thread Michel Belleau (malaiwah.com)




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
SERVICES INFORMATIQUES MALAIWAH.COM
(418) 261-6412 -- http://www.malaiwah.com


Sam Vilain a écrit :

  On Tue, 2005-10-18 at 15:46 -0400, Michel Belleau (malaiwah.com) 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 
limits.

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 ?

Sam.

  



begin:vcard
fn:Michel Belleau
n:Belleau;Michel
org:MALAIWAH.COM;Services Informatiques
adr;quoted-printable:;;6374, avenue Royale;L'Ange-Gardien;Qu=C3=A9bec;G0A 2K0;Canada
email;internet:[EMAIL PROTECTED]
tel;work:(418) 261-6412
tel;cell:(418) 261-6412
x-mozilla-html:TRUE
url:http://www.malaiwah.com/
version:2.1
end:vcard

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] very odd error with vservers init script

2005-10-21 Thread Chuck
On Friday 21 October 2005 09:55 am, Herbert Poetzl wrote:

its the stamp that throws me off. never seen any files called stamp or 
having .stamp extensions.. will check all the name files in the guests to be 
sure they are right

> On Fri, Oct 21, 2005 at 01:07:14AM -0400, Chuck wrote:
> > 
> > I tried to start the vservers for the first time using the init script and 
got 
> > a weird error I have never seen before.
> > 
> > using the vserver guestname start/stop works perfectly 
> > 
> > the guests are configured with various mark files for some default to 
start 
> > and others with 'nostart' inside them so they wont start.. they also have 
the 
> > depends file in each and are ordered like this:
> > 
> > ns1 starts first so it has no depends file. it is the only one that 
doesnt.
> > ns2 contains ns1 in its depends
> > the third,  usage,  contains
> > ns1
> > ns2
> > in its depends and the 4th
> > contains
> > ns1
> > ns2
> > usage
> > in its depends
> > 
> > so that should start them in the order of ns1, ns2, usage, nagios
> > 
> > the error i get from the init script is this:
> > 
> > phoenix etc # /etc/init.d/vservers start
> >  * Unhiding /proc entries ...   
> >
> > [ ok ]
> >  * Starting vservers of type 'default' ...
> > * ns1 starting
> > make: *** No rule to make target `..stamp', needed by `.ns2.stamp'.
> > make: Target `all' not remade because of errors.
> >
> hmm, the ..stamp looks like ..stamp with  
> being empty ... maybe this gives some clues?
> 
> best,
> Herbert
> 
> > and only ns1 started.
> > 
> > any clues what I did wrong?
> > 
> > until this gets fixed up, i have the start/stop orders in the local 
start/stop 
> > files in case of a reboot before i get it fixed.
> > 
> > 
> > -- 
> > 
> > Chuck
> > 
> > "...and the hordes of M$*ft users descended upon me in their anger,
> > and asked 'Why do you not get the viruses or the BlueScreensOfDeath
> > or insecure system troubles and slowness or pay through the nose 
> > for an OS as *we* do?!!', and I answered...'I use Linux'. "
> > The Book of John, chapter 1, page 1, and end of book
> > 
> > 
> > ___
> > Vserver mailing list
> > Vserver@list.linux-vserver.org
> > http://list.linux-vserver.org/mailman/listinfo/vserver
> 

-- 

Chuck

"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] very odd error with vservers init script

2005-10-21 Thread Herbert Poetzl
On Fri, Oct 21, 2005 at 01:07:14AM -0400, Chuck wrote:
> 
> I tried to start the vservers for the first time using the init script and 
> got 
> a weird error I have never seen before.
> 
> using the vserver guestname start/stop works perfectly 
> 
> the guests are configured with various mark files for some default to start 
> and others with 'nostart' inside them so they wont start.. they also have the 
> depends file in each and are ordered like this:
> 
> ns1 starts first so it has no depends file. it is the only one that doesnt.
> ns2 contains ns1 in its depends
> the third,  usage,  contains
> ns1
> ns2
> in its depends and the 4th
> contains
> ns1
> ns2
> usage
> in its depends
> 
> so that should start them in the order of ns1, ns2, usage, nagios
> 
> the error i get from the init script is this:
> 
> phoenix etc # /etc/init.d/vservers start
>  * Unhiding /proc entries ... 
>  
> [ ok ]
>  * Starting vservers of type 'default' ...
> * ns1 starting
> make: *** No rule to make target `..stamp', needed by `.ns2.stamp'.
> make: Target `all' not remade because of errors.  
>  
hmm, the ..stamp looks like ..stamp with  
being empty ... maybe this gives some clues?

best,
Herbert

> and only ns1 started.
> 
> any clues what I did wrong?
> 
> until this gets fixed up, i have the start/stop orders in the local 
> start/stop 
> files in case of a reboot before i get it fixed.
> 
> 
> -- 
> 
> Chuck
> 
> "...and the hordes of M$*ft users descended upon me in their anger,
> and asked 'Why do you not get the viruses or the BlueScreensOfDeath
> or insecure system troubles and slowness or pay through the nose 
> for an OS as *we* do?!!', and I answered...'I use Linux'. "
> The Book of John, chapter 1, page 1, and end of book
> 
> 
> ___
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] patched Debian kernels?

2005-10-21 Thread Sam Vilain
On Tue, 2005-10-18 at 14:24 +0200, Herbert Poetzl wrote:
> for some time (maybe still? and at least in sarge) the
> tools are broken, so better get them as source tarball
> or from unstable/testing ...

The ones on apt.utsl.gen.nz/debian include all the fixes I could find.
If there are any new bugfixes, ping me on irc or via e-mail and I can
easily build new packages.

Sam.

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Talking about limits...

2005-10-21 Thread Sam Vilain
On Tue, 2005-10-18 at 15:46 -0400, Michel Belleau (malaiwah.com) 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 
> limits.
> 
> 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 ?

Sam.

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] many ip addys

2005-10-21 Thread Chuck
i forget.. was it ngnet that would support a few hundred ip addys in a guest?

i have a few big machines i cant move over until it can efficiently support 
several hundred ip addys (minimum a /24) ... if ngnet is the answer im gonna 
try to raise some funding from my boss .. no promises as he does not let go 
easily.. :D




-- 

Chuck

"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] VServer forum

2005-10-21 Thread Herbert Poetzl
On Thu, Oct 20, 2005 at 04:31:02PM +0200, Gregor Schreier wrote:
> Stephen Harris wrote:
> 
> >On Thu, Oct 20, 2005 at 07:27:38AM -0400, Chuck wrote:
> >...
> >
> >and
> >
> > http://archives.linux-vserver.org/
> >
> >I don't see a "search" option there, but I guess we could always make
> >google index the pages and then have a google search option :-)
> >
> hi there,
> 
> it's already done by google :-)
> 
> try this link:
> 
> http://www.google.com/search?as_q=limit&num=10&hs=CNv&hl=en&as_dt=i&as_sitesearch=http%3A%2F%2Flist.linux-vserver.org%2Farchive%2Fvserver%2F
> 
> so we have our searchfunction
> happy search und finding :-)

well, I added this one a few weeks ago (linked from
the wiki page):

 http://www.13thfloor.at/vserver/search/

best,
Herbert

> --
> best regards
> gregor
> ___
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Re: VServer forum

2005-10-21 Thread Evert Meulie



Chuck wrote:

On Friday 21 October 2005 04:31 am, Evert Meulie wrote:


Dariush Pietrzak,,, wrote:

If people are not smart enough to check at the bottom of a thread for 
new/updated/corrected info, they should not be allowed near any 
electrical/electronic device...   8-)


So, basically, you're saying that you should ban calculators, computers,
GPS etc, because if you're smart and determined, you can do without.
Good luck,



Eehh, no...
I am saying that people who don't know how to use them should stay away from 
them. People like us SHOULD use these devices...  ;-) 




hehe Evert, umm I see only one flaw in this logic we became those who 
should by first being those who shouldn't :)


Not me... I first read the manual, and then knew how to use the device when I 
started using it...  8-)


but we're deviating a bit here...   ;-)


Regards,
  Evert


PS. Just for people who missed the beginning of this thread (something that can 
happen with mailing lists & newsgroups, but not with a forum...), the URL of 
the forum is: http://vserver.meulie.net/   ;-)

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Re: VServer forum

2005-10-21 Thread Chuck
On Friday 21 October 2005 04:31 am, Evert Meulie wrote:
> 
> Dariush Pietrzak,,, wrote:
> >>If people are not smart enough to check at the bottom of a thread for 
> >>new/updated/corrected info, they should not be allowed near any 
> >>electrical/electronic device...   8-)
> > 
> >  So, basically, you're saying that you should ban calculators, computers,
> > GPS etc, because if you're smart and determined, you can do without.
> >  Good luck,
> > 
> 
> Eehh, no...
> I am saying that people who don't know how to use them should stay away from 
> them. People like us SHOULD use these devices...  ;-) 


hehe Evert, umm I see only one flaw in this logic we became those who 
should by first being those who shouldn't :)

> 
> 
> Regards,
>   Evert
> 
> ___
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
> 

-- 

Chuck

"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Re: VServer forum

2005-10-21 Thread Dariush Pietrzak,,,
> Eehh, no...
> I am saying that people who don't know how to use them should stay away 
> from them. People like us SHOULD use these devices...  ;-)
 It makes no sense, you're saying that complicated devices should be for
dumb/uneducated people, and easy to use stuff is reserved for geeks?
-- 
Key fingerprint = 40D0 9FFB 9939 7320 8294  05E0 BCC7 02C4 75CC 50D9
 Total Existance Failure
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Re: VServer forum

2005-10-21 Thread Evert Meulie



Dariush Pietrzak,,, wrote:
If people are not smart enough to check at the bottom of a thread for 
new/updated/corrected info, they should not be allowed near any 
electrical/electronic device...   8-)


 So, basically, you're saying that you should ban calculators, computers,
GPS etc, because if you're smart and determined, you can do without.
 Good luck,



Eehh, no...
I am saying that people who don't know how to use them should stay away from 
them. People like us SHOULD use these devices...  ;-)


Regards,
Evert

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver