Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Feb 2019 12:36:18 -0500
From:      Ernie Luzar <luzar722@gmail.com>
To:        Dan Langille <dan@langille.org>
Cc:        Michael W Lucas <mwlucas@michaelwlucas.com>, jail@freebsd.org
Subject:   Re: jails which take a long time to shutdown
Message-ID:  <5C5B1B12.2060406@gmail.com>
In-Reply-To: <08D0C738-8D03-4618-BC8C-26B076293493@langille.org>
References:  <08D0C738-8D03-4618-BC8C-26B076293493@langille.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Langille wrote:
> Michael,
> 
> Something came to mind with your recent post about exit codes.
> 
> What if a jail takes minutes to shutdown?  Will it be shutdown properly?
> 
> I ask because I routinely have a jail which when restarted has a corrupted mongodb database.
> 
> I have not tracked down the issue, but I know it takes a while to shutdown.
> 
> --
> Dan Langille - BSDCan / PGCon
> dan@langille.org
> 
> 

Using the halt command will cause jails to bypass an orderly shutdown 
leaving databases with data in buffers never being written to the 
database. A very big no no.  Use shutdown command always.



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