Received: from mailhub1.isdnet.net (mailhub1.isdnet.net [195.154.209.21]) by hub.org (8.9.3/8.9.3) with ESMTP id SAA30204 for ; Sat, 22 Apr 2000 18:01:50 -0400 (EDT) (envelope-from nhuillard@ghs.fr) Received: from ppp62-cergy.isdnet.net (ppp62-cergy.isdnet.net [194.149.184.189]) by mailhub1.isdnet.net (8.9.3/8.9.3) with SMTP id AAA30080; Sun, 23 Apr 2000 00:01:35 +0200 (CEST) Received: by ppp62-cergy.isdnet.net with Microsoft Mail id <01BFACB7.3CBEE7C0@ppp62-cergy.isdnet.net>; Sun, 23 Apr 2000 00:02:38 +0200 Message-ID: <01BFACB7.3CBEE7C0@ppp62-cergy.isdnet.net> From: Nicolas Huillard To: "'Len Morgan'" , "pgsql-admin@postgresql.org" Subject: RE: Dead Postmasters Date: Sat, 22 Apr 2000 23:46:18 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.org id SAB30230 X-Archive-Number: 200004/84 What I always do is "ps -axf", which will display a "tree" of the processes : you'll know which ones are children of the others. I don't know if the "dead" postmaster will be shown in a readable location... The problem seems to be somewhere else (kills/signals to the postmaster/backends, not correctly disconnected connections, etc) Nicolas Huillard G.H.S Directeur Technique Tél : +33 1 43 21 16 66 Fax : +33 1 56 54 02 18 mailto:nhuillard@ghs.fr http://www.ghs.fr -----Message d'origine----- De: Len Morgan [SMTP:len-morgan@crcom.net] Date: samedi 22 avril 2000 17:02 À: pgsql-admin@postgresql.org Objet: [ADMIN] Dead Postmasters On a couple of my installations, I've noticed that after a few days there are several "dead" postmasters (i.e., not associated with any running backend). When I do a ps -ax (RedHat 6.1, Postgresql 6.5.3) I see: .. [postmaster] [postmaster] [postmaster] [postmaster] [postmaster] [postmaster] .. and several /usr/bin/postgres ..... lines The problem is that there are more [postmaster] lines (sometimes 4 or 5 times as many) as there are /usr/bin/postgres lines. When I do a kill -TERM pid on all of the [postmaster] pids or restart the postmaster, the system gets much faster. The problem is I also cut of "live" connections in the process. My question is: Is there any way I can determine which of the [postmaster] entries are associated with which /usr/bin/postgres entries? Thank you! Len Morgan