From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Sun 05 Sep 2004 - 19:01:01 BST
On Sun, Sep 05, 2004 at 01:51:46PM +0930, Darryl Ross wrote:
> On Fri, 3 Sep 2004 16:27:46 +0200, Herbert Poetzl <herbert_at_13thfloor.at> wrote:
> > hmm, guess this is a philosophical question:
> > does an ip binding still exist, even when the vserver
> > context is gone for a while and there is no process
> > 'bound' with that binding?
> Of course the binding still exists, it does until you do a
> 'vserver stop' ...
chbind is a property of a task, that is why the
binding is shown in /proc/self/status ...
> > I'd tend to say it doesn't exist anymore, but YMMV ;)
> Well, the question is, if you start a vserver that has no active
> processes running and then do an 'enter' do you get the same context
really depends on the config, if you use static
context IDs (which is strongly advised) then you
will get the same context ID, if you use dynamic
no, you won't ...
> If you get the same context ID, then that context is still 'alive'
> even if it is dormant.
there are no dormant contexts, either the vserver
context contains a process, or it just doesn't
exist anymore ... vserver contexts are a property
of tasks (in the current implementation)
> Vserver mailing list
Vserver mailing list