Received: from sss.pgh.pa.us (sss.pgh.pa.us [209.114.132.154]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f05H9s715550; Fri, 5 Jan 2001 12:09:54 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.1/8.11.1) with ESMTP id f05HA4B10368; Fri, 5 Jan 2001 12:10:08 -0500 (EST) To: Paul Breen cc: pgsql-interface@postgresql.org, pgsql-admin@postgresql.org Subject: Re: Postmaster crashes with "Serverloop: select failed" message In-reply-to: References: Comments: In-reply-to Paul Breen message dated "Fri, 05 Jan 2001 11:09:56 +0000" Date: Fri, 05 Jan 2001 12:10:04 -0500 Message-ID: <10365.978714604@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200101/25 X-Sequence-Number: 395 Paul Breen writes: > The problem is that the Postmaster has crashed twice now and both times > the last message in the Postmaster's log was: > /usr/local/pgsql/bin/postmaster: ServerLoop: select failed: No child > processes This sounds like the bug we recently recognized that the SIGCHLD signal processor has to save and restore errno. There is a fix in current sources. I do not have a patch for 7.0.* handy, but you could probably adapt the change that was applied: http://www.postgresql.org/cgi/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c.diff?r1=1.198&r2=1.199&f=c The additions to reaper() are the only critical part, I think. > We also seem to get a large number of the following message in our > Postmaster's log: > pq_recvbuf: unexpected EOF on client connection > Are these connected? What do the messages mean? No, those just mean that some client is disconnecting without bothering to send the "I'm done" message. It's pretty harmless from the DB's point of view. Do you have a client that crashes a lot? regards, tom lane