Re: postmaster crash

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: jerome crouigneau <jerome_crouigneau(at)yahoo(dot)fr>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: postmaster crash
Date: 2001-02-28 15:27:39
Message-ID: 18113.983374059@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

=?iso-8859-1?q?jerome=20crouigneau?= <jerome_crouigneau(at)yahoo(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2001-02-28 15:36:45 Re: No Postgres Bug! Heavy downloading problems...
Previous Message pgsql-bugs 2001-02-28 15:08:50 No Postgres Bug! Heavy downloading problems...