Re: postmaster crash - Mailing list pgsql-bugs

From Tom Lane
Subject Re: postmaster crash
Date
Msg-id 18113.983374059@sss.pgh.pa.us
Whole thread Raw
In response to postmaster crash  (jerome crouigneau <jerome_crouigneau@yahoo.fr>)
List pgsql-bugs
jerome crouigneau <jerome_crouigneau@yahoo.fr> writes:
> I've got a problem with the 7.0.2 version of Postgres.
> In production, the postmaster stops frequently alone
> (about one time per hour).
> Error message:
> postmaster: ServerLoop; select failed; No child
> processes

This is a known bug --- the postmaster's routine for catching ECHILD
signals needs to save and restore errno.  We have not made a patch for
7.0.*, but you could probably adapt the patch that was applied to
current sources:

http://www.postgresql.org/cgi/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c.diff?r1=1.198&r2=1.199&f=c

The changes in reaper() are probably the only critical part.
        regards, tom lane


pgsql-bugs by date:

Previous
From: pgsql-bugs@postgresql.org
Date:
Subject: No Postgres Bug! Heavy downloading problems...
Next
From: Tom Lane
Date:
Subject: Re: No Postgres Bug! Heavy downloading problems...