Re: BUG: Infinite syslog() loop

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Erik Walthinsen <omega(at)temple-baptist(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG: Infinite syslog() loop
Date: 2003-04-25 22:59:56
Message-ID: 3532.1051311596@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Erik Walthinsen <omega(at)temple-baptist(dot)com> writes:
> The problem though is still that whatever code is spawning pgstat is doing
> so forever. Are you suggesting that because the error output isn't going
> to the right place that postmaster is not detecting that it died? I'd
> think that postmaster would instead check the return value (else how does
> it determine atm that it failed?) and not loop once it's failed.

Actually, the postmaster is deliberately designed to restart pgstat.
On the whole I think that's a net plus for reliability, not a minus.

There might be some value in limiting the rate at which we try to spawn
it, though.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2003-04-25 23:41:54 Re: Shift-Enter = Segmentation Fault
Previous Message Erik Walthinsen 2003-04-25 22:37:11 Re: BUG: Infinite syslog() loop