jails which take a long time to shutdown
Ernie Luzar
luzar722 at gmail.com
Wed Feb 6 17:36:22 UTC 2019
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 at 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.
More information about the freebsd-jail
mailing list