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

From: Ceri Davies <ceri_at_submonkey.net>
Date: Fri, 30 May 2008 15:56:56 +0100
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

Received on Fri May 30 2008 - 14:56:58 UTC