pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Dead Postmasters 2+ messages / 2 participants [nested] [flat]
* Dead Postmasters @ 2000-04-22 15:02 Len Morgan <len-morgan@crcom.net> 0 siblings, 0 replies; 2+ messages in thread From: Len Morgan @ 2000-04-22 15:02 UTC (permalink / raw) To: pgsql-admin 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 ^ permalink raw reply [nested|flat] 2+ messages in thread
* RE: Dead Postmasters @ 2000-04-22 21:46 Nicolas Huillard <nhuillard@ghs.fr> 0 siblings, 0 replies; 2+ messages in thread From: Nicolas Huillard @ 2000-04-22 21:46 UTC (permalink / raw) To: 'Len Morgan' <len-morgan@crcom.net>; pgsql-admin 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 ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2000-04-22 21:46 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2000-04-22 15:02 Dead Postmasters Len Morgan <len-morgan@crcom.net> 2000-04-22 21:46 RE: Dead Postmasters Nicolas Huillard <nhuillard@ghs.fr>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox