Re: jails which take a long time to shutdown

2019-02-06 Thread Mark Blackman
> On 6 Feb 2019, at 15:47, 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 > mongod

Re: vnet NAT'd jails extremely slow, connection dies

2019-02-06 Thread Farhan Khan
On Tue, Feb 5, 2019 at 12:58 PM Kristof Provost wrote: > > On 2019-02-05 18:47:23 (+0100), Michael Grimm wrote: > > Farhan Khan wrote: > > > On Mon, Feb 4, 2019 at 2:29 PM Farhan Khan wrote: > > > > >> I have a jail NAT'd to a base system, but the connection is extremely > > >> slow and frequen

Re: vnet NAT'd jails extremely slow, connection dies

2019-02-06 Thread Michael Grimm
Kristof Provost wrote: > These are questions for anyone who's running pf on top of a hypervisor > and has vnet or other jails, and has seen slowdowns. > > * What hypervisor are you running? I do not know. It is a cloud hosted on OVH infrastructure in France https://www.ovh.co.uk/public-cloud/i

Re: jails which take a long time to shutdown

2019-02-06 Thread Miroslav Lachman
Dan Langille wrote on 2019/02/06 16:47: 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 tra

Re: jail exit code?

2019-02-06 Thread James Gritton
On 2019-02-06 08:27, Michael W. Lucas wrote: Hi, It *appears* from my reading of mailing list archives & forum posts that the return code of a jail is the return code of the last jailed process to exit. Is that the standard? Or is that just an accident, and people shouldn't rely on it? (Either

Re: jails which take a long time to shutdown

2019-02-06 Thread James Gritton
On 2019-02-06 08:47, 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 t

Re: jails which take a long time to shutdown

2019-02-06 Thread Ernie Luzar
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,

jails which take a long time to shutdown

2019-02-06 Thread Dan Langille
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

jail exit code?

2019-02-06 Thread Michael W. Lucas
Hi, It *appears* from my reading of mailing list archives & forum posts that the return code of a jail is the return code of the last jailed process to exit. Is that the standard? Or is that just an accident, and people shouldn't rely on it? (Either way, might be a nice addition to the man page.