Date: Mon, 31 Oct 2016 18:21:06 +0100 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Eugene Grosbein <egrosbein@rdtc.ru> Cc: FreeBSD Stable <freebsd-stable@FreeBSD.org>, jails@FreeBSD.org Subject: Re: Dying jail Message-ID: <20161031172106.tzzazowea6uspyzl@ivaldir.etoilebsd.net> In-Reply-To: <581064BB.1030500@rdtc.ru> References: <581064BB.1030500@rdtc.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--o64p67o46vbr2lx5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 26, 2016 at 03:09:31PM +0700, Eugene Grosbein wrote: > Hi! >=20 > Recently I've upgraded one of my server running 9.3-STABLE with jail cont= aining 4.11-STABLE system. > The host was source-upgraded upto 10.3-STABLE first and next to 11.0-STAB= LE > and jail configuration migrated to /etc/jail.conf. The jail kept intact. >=20 > "service jail start" started the jail successfully > but "service jail restart" fails due to jail being stuck in "dying" state= for long time: > "jls" shows no running jails and "jls -d" shows the dying jail. >=20 > How do I know why is it stuck and how to forcebly kill it without reboot = of the host? >=20 I have the same problem on a FreeBSD 11.0 I have no specific jail.conf for exec.start is directly calls service cassandra onestart and stop calls the stop of the very same service. jail -f /myconf -r nameofthejail I can see the jail staying in dying mode for multiple minutes even after sockstat -j has been showing no TCP is left at all. No processes are left in the jail I'm mostly clueless on how to debug that and know that the dying jail is wa= iting on. It is painful as it prevents from exporting the zfs pool the jail was sitti= ng on. Any one has ideas? Best regards, Bapt --o64p67o46vbr2lx5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJYF31/AAoJEGOJi9zxtz5anpgP/iFPUF6kwjuk6T7phlDlu6Ve 6ORw4zPj38c+hk0o4iOwJOP0GnDd8exK+vcfICMV5HYcUDfuU01p91qcdB9FU4UF vXtZDHoOXrZ+BcmfH2AkVehmZkNzMt65mnQAP8XsAMUigdFUKcx05Nvyl81Y4/3l WtqgJtwLrml4e9+q26n5KYl58IoKHtxo0w3pCB1BwdPNcE1j6Ek4/cR1f8iOHd4I GeCVood13qzRZ3o1t9KY+hBxBXFSCT2eoSOdB7r/RgqkepmD0cP0sL9uMC++eH+z NBUmtVcCSHwlwz03U7/tWIz0M8uDQqXOHP0iX+vxFscZQxM/y3+7EYywqTf6i1TC lr4ph43APaE/czuJhZBXLm5Rqmhn2M0HN/2lJyCnHdyzdvfUwZKWTPMRbmzlvuAY vOyLqcAeJIK0rZN0pocxU5ZOrKHuN1x6VWlA9prfGTatCf7lABKNkKsBc8BsuYyO nP/BDnRsv/rQM5N+4Re2KfLMHjbgP3RLbkFlFtQfxQpoHVkWaKjhVgv0Ab/dV7k8 CeaZ0q23xx3V6EFtHA8RztJ1I61HFuhCMUmeE15RwLQ4/8KjzA2A7uRDxbsZTFYz I7xCSRgDjM+y0Qlt2ZotTNlvxOHdH1oWY0/MiPn+eIpVynMneTseFiMuJv61EUao NENFoRk8CA/y8VFonHZk =Kzdj -----END PGP SIGNATURE----- --o64p67o46vbr2lx5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161031172106.tzzazowea6uspyzl>