Re: PG in container w/ pid namespace is init, process exits cause restart - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PG in container w/ pid namespace is init, process exits cause restart
Date
Msg-id 3839391.1620071034@sss.pgh.pa.us
Whole thread Raw
In response to Re: PG in container w/ pid namespace is init, process exits cause restart  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: PG in container w/ pid namespace is init, process exits cause restart
Re: PG in container w/ pid namespace is init, process exits cause restart
List pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> I also heard a story where things ran into trouble (I didn't get the
> whole story of *what* was the problem with that) because the datadir is /.

BTW, as far as that goes, I think the general recommendation is that
the datadir shouldn't be a mount point, because bad things happen if
you mount or unmount the drive while the postmaster is up.  I could
see enforcing that, if we could find a reasonably platform-independent
way to do it.

(Of course, / can't be unmounted, so I wonder exactly what bad thing
happened in that story.)

            regards, tom lane



pgsql-hackers by date:

Previous
From: "Joel Jacobson"
Date:
Subject: Re: Regex performance regression induced by match-all code
Next
From: Peter Geoghegan
Date:
Subject: Re: MaxOffsetNumber for Table AMs