Re: emergency outage requiring database restart

From: Andres Freund <andres(at)anarazel(dot)de>
To: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
Cc: Merlin Moncure <mmoncure(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: emergency outage requiring database restart
Date: 2016-10-26 20:48:55
Message-ID: 20161026204855.hdziurey5lfwytvj@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2016-10-26 15:06:34 -0500, Jim Nasby wrote:
> Removing the exec might "solve" the problem here, assuming that the
> forked process doesn't still inherit all open FH's.

Unless you explicitly close fds or use FD_CLOEXEC when opening fds
they'll be inherited forever.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Petr Jelinek 2016-10-26 22:08:55 Re: Fast Default WIP patch for discussion
Previous Message Merlin Moncure 2016-10-26 20:45:43 Re: emergency outage requiring database restart