cvs commit: src/usr.sbin/jexec jexec.8 jexec.c

Ceri Davies ceri at submonkey.net
Fri May 30 14:56:59 UTC 2008


On Fri, May 30, 2008 at 04:50:51PM +0200, Alexander Leidinger wrote:
> Quoting Robert Watson <rwatson at FreeBSD.org> (from Thu, 29 May 2008 15:56:50 
> +0100 (BST)):
> 
>> On Thu, 29 May 2008, Michael Reifenberger wrote:
>> 
>>> On Thu, May 29, 2008 at 03:14:20PM +0100, Robert Watson wrote: ...
>>>> The other concept that might be of benefit is a "dead" jail vs. a "live" 
>>>> jail -- with TCP connections taking a while to run down, there can often 
>>>> be dangling jail references that don't garbage collect for a few 
>>>> minutes. Perhaps, where there is ambiguity, live jails (ones with 
>>>> referencing processes) should be preferred to dead ones.
>>> 
>>> Thats something that the admin should take care for.
>> 
>> How might they do that?  Remember that any command that works only when 
>> the jail IP is "unambiguous" will become effectively non-deterministic as 
>> a result of un-garbage collected jails.  So
> 
> Is it feasible to change the hostname of a dying jail? We could prefix it 
> with some string at some point of the shutdown...

We'd be better off just dropping all the connections at that point.

Ceri
-- 
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080530/93e7335c/attachment.pgp


More information about the cvs-src mailing list