Received: from mail1.crcom.net (mail1.crcom.net [208.220.74.12]) by hub.org (8.9.3/8.9.3) with ESMTP id LAA59177 for ; Sat, 22 Apr 2000 11:04:05 -0400 (EDT) (envelope-from len-morgan@crcom.net) Received: from H233.bstx.cc (max02-16.crcom.net [208.234.65.73]) by mail1.crcom.net (8.8.8/8.8.8) with SMTP id KAA24551 for ; Sat, 22 Apr 2000 10:03:59 -0500 (CDT) Message-ID: <002501bfac6b$bb498920$0908a8c0@H233.bstx.cc> From: "Len Morgan" To: Subject: Dead Postmasters Date: Sat, 22 Apr 2000 10:02:06 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-Mimeole: Produced By Microsoft MimeOLE V4.72.3110.3 X-Archive-Number: 200004/82 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