Re: [Vserver] RSS vs. AS, and swap.

2006-01-12 Thread Michael S. Zick
On Thu January 12 2006 00:57, Robin Lee Powell wrote:
> On Thu, Jan 12, 2006 at 07:05:53AM +0100, Herbert Poetzl wrote:
> > On Wed, Jan 11, 2006 at 09:58:43PM -0800, Robin Lee Powell wrote:
> > > I have exactly 1, and will only over have 1, so this simply
> > > doesn't apply.  I really *do* want swap-out behaviour.
> > 
> > for one guest, why do you care about limiting memory at all?
> > 
> > I mean, why not 'just' let it use up what it takes?
> 
> Because the app has a habit of slurping so much memory that the host
> system spends all its time swapping, which happens to be even slower
> than usual on this machine.  Last time this happened, it took me
> almost 10 minutes just to type the commands to shut down the
> VServer.
> 
> What I want is that no matter what the host system has some RAM left
> to perform a shutdown in case the VServer runs away with itself, but
> at the same time I'd like the VServer to be able to use swap if
> reasonable.
>
Ah,so...
You need a 'host-only reservation' not a 'guest-limit' -

A number or percentage of rss (as?) that can be only allocated by
the host context.  No other specific limits on host or guest(s); just 
let the memory management deal with the requests.

Not unlike the 'root use only' reservation for filesystem space.

That would not solve the problems with a run-away guest, but at least
you could still control the system from within the host.

I.E: A work-around, not a solution.

I am not familiar with the limiting code, not sure if this is practical.
Perhaps someone that has worked on the limiting code could comment.

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


Re: [Vserver] [Release] Stable 2.01

2006-01-12 Thread Herbert Poetzl
On Thu, Jan 12, 2006 at 10:59:06AM +0100, Bert De Vuyst wrote:
> On Tuesday 13 December 2005 19:24, Herbert Poetzl wrote:
> > Greetings Community!
> >
> > we proudly present the second stable release of
> > linux-vserver for the 2.6 kernels ...
> >
> > the following fixes and changes were done:
> >
> >  * bugfix for interface visibility
> 
> It looks like tools like samba still don't work out-of-the-box, due to
> the fact the interface is shown as a interface without IP-number.
> (or did I make a mistake in my configuration)

did you try with an alias? 

  --interface hansi=eth0:192.168.0.2/24

> Is it possible to enhance this is future versions, so that samba
> (and other tools) see a interface with the IP-number of the vserver?
> I don't know if it's possible, but I think it would improve the
> out-of-the-box compatibility inside a vserver.

ngnet will add even more flexibility, but IMHO
the alias should be more than enough for 'older'
tools (like ifconfig) which do not see the 'new'
IP assignments ...

> Thanks for all the work on vserver,

you're welcome,
Herbert

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


[Vserver] Re: missing GPL on your site

2006-01-12 Thread Joep Gommers
Hi Guenther,The following lines where added to the document, as you could see:
  Permission is granted to copy, distribute and/or modify this document
  under the terms of the  GNU Free Documentation License, Version 1.2 or any later version 
  published by the Free Software Foundation.This is what i can find in the original article's, since i could find mentioning of the GNU Public License itself.If there are differences, ill also add the GPL besides the GPDL.
J-On 1/12/06, Guenther Fuchs <[EMAIL PROTECTED]> wrote:
Hi Joep,on Thursday, January 12, 2006 at 10:57:50 AM you wrote:> Oppropriate links have been added, and GPL licenses are added to the> articles. Again, thanks for the heads up.Thank's for doing that, although I couldn't find the GPL on your
article mirror:http://www.virtualinfrastructure.nl/blog/index.php?op=ViewArticle&articleId=2&blogId=1
Pls review that - it's not that mandatory to mention me (as severalother people contributed their thoughts and work to it as well), but Isee it mandatory to add the GPL license note as well as I recommend
keeping the added "original article" link.> Also, if you have any problems with mirroring or 'redistributing'> your content feel free to say so. Im not here to step on anyone's> feet.
I don't feel you stomping on my feet - I just wanted to point out foryou and especially everybody else reading this and copying docs that aGPL is required to be honored, otherwise it will stop working for us
all. That includes yourself ;-)PS: Your page title/header is missing an "r", it shows only "infa"instead of "infra" ;-)--regards 'n greez,Guenther Fuchs
(aka "muh" and "powerfox")
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Re: missing GPL on your site

2006-01-12 Thread Guenther Fuchs
Hi Joep,

on Thursday, January 12, 2006 at 10:57:50 AM you wrote:


> Oppropriate links have been added, and GPL licenses are added to the
> articles. Again, thanks for the heads up.

Thank's for doing that, although I couldn't find the GPL on your
article mirror:
http://www.virtualinfrastructure.nl/blog/index.php?op=ViewArticle&articleId=2&blogId=1

Pls review that - it's not that mandatory to mention me (as several
other people contributed their thoughts and work to it as well), but I
see it mandatory to add the GPL license note as well as I recommend
keeping the added "original article" link.

> Also, if you have any problems with mirroring or 'redistributing'
> your content feel free to say so. Im not here to step on anyone's
> feet.

I don't feel you stomping on my feet - I just wanted to point out for
you and especially everybody else reading this and copying docs that a
GPL is required to be honored, otherwise it will stop working for us
all. That includes yourself ;-)

PS: Your page title/header is missing an "r", it shows only "infa"
instead of "infra" ;-)

-- 
regards 'n greez,

Guenther Fuchs
(aka "muh" and "powerfox")

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


Re: [Vserver] [Release] Stable 2.01

2006-01-12 Thread Bert De Vuyst
On Tuesday 13 December 2005 19:24, Herbert Poetzl wrote:
> Greetings Community!
>
> we proudly present the second stable release of
> linux-vserver for the 2.6 kernels ...
>
> the following fixes and changes were done:
>
>  * bugfix for interface visibility

It looks like tools like samba still don't work out-of-the-box, due to the 
fact the interface is shown as a interface without IP-number.
(or did I make a mistake in my configuration)
Is it possible to enhance this is future versions, so that samba (and other 
tools) see a interface with the IP-number of the vserver? I don't know if 
it's possible, but I think it would improve the out-of-the-box compatibility 
inside a vserver.

Thanks for all the work on vserver,

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


[Vserver] missing GPL on your site

2006-01-12 Thread Guenther Fuchs
Hi Joep,

on your page http://www.virtualinfrastructure.nl/ you "mirror" and
quote some of the Linux-VServer related documentation (e.g. the FC4
HowTo produced by myself) which were originally published on the
Linux-VServer wiki.

Although this is granted by the GPL it is necessary to provide as well
a notification of the document beeing published under GPL as well as
supplying a copy of the GPL itself.

Also I guess it would be fair to honor the Linux-VServer project in
each mirrored document direct (i.e. placing a Link to the original),
but this is just my personal opinion.

It would be nice, if you would add minimum the GPL (and maybe as well
the original document links) soon, thank you.

-- 
regards 'n greez,

Guenther Fuchs
(aka "muh" and "powerfox" on Linux-VServer.org)

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


Re: [Vserver] RSS vs. AS, and swap.

2006-01-12 Thread Per Andreas Buer
Robin Lee Powell wrote:
> On Thu, Jan 12, 2006 at 03:38:25AM +0100, Herbert Poetzl wrote:
>   
>> On Wed, Jan 11, 2006 at 04:38:58PM -0800, Robin Lee Powell wrote:
>> 
>>> I want my VServer to not be able to choke my real server by
>>> using up all the RAM, so I set an RSS limitation.  As you can
>>> see, it's not working very well:
>>>
>>> PROC:   72 142  -1   0
>>> VM: 104883  223551  -1   0
>>> VML: 0   0  -1   0
>>> RSS: 56597  131072  131072 356
>>>   
>> well, as we see it is working very well ...
>> 
>
> Well, in some sense.  I don't want my processes to get killed.
>   

There is no other way. Since memory allocation can happen by simply
touching a page almost no applications handle running out of memory in a
sane way.



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