Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2008 15:56:56 +0100
From:      Ceri Davies <ceri@submonkey.net>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        src-committers@FreeBSD.org, John Baldwin <jhb@FreeBSD.org>, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, Michael Reifenberger <mike@reifenberger.com>, Robert Watson <rwatson@FreeBSD.org>
Subject:   Re: cvs commit: src/usr.sbin/jexec jexec.8 jexec.c
Message-ID:  <20080530145656.GB17008@submonkey.net>
In-Reply-To: <20080530165051.46452soq4pp07n28@webmail.leidinger.net>
References:  <200805261157.m4QBvnpF025029@repoman.freebsd.org> <20080526144831.K26343@fledge.watson.org> <20080526140735.GA35960@gw.reifenberger.com> <200805281309.49683.jhb@freebsd.org> <20080529140557.GA94385@gw.reifenberger.com> <20080529151233.I3678@fledge.watson.org> <20080529145319.GC94385@gw.reifenberger.com> <20080529155422.T3678@fledge.watson.org> <20080530165051.46452soq4pp07n28@webmail.leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--qcHopEYAB45HaUaB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

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

Ceri
--=20
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere

--qcHopEYAB45HaUaB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFIQBW4ocfcwTS3JF8RAmBlAJ0Z9rCP60zXFrvl2hRenlS19MV/uQCfeLd8
flpbYVW0HA9abSbY1tR7GP0=
=BqmV
-----END PGP SIGNATURE-----

--qcHopEYAB45HaUaB--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080530145656.GB17008>