dbTalk Databases Forums  

postmaster.pid not being removed on improper shut down

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss postmaster.pid not being removed on improper shut down in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dan Brown
 
Posts: n/a

Default postmaster.pid not being removed on improper shut down - 11-06-2003 , 10:45 AM






We are running postgresql 7.2 on Red Hat Linux 7.3, and occasionally
we run into the problem where the postmaster.pid is still hanging
around from an improper shutdown (i.e. computer crash due to power
problems).

I know that I can go in and delete the old postmaster.pid, and it will
start up fine...but I have a couple of questions:

1. Why doesn't postgres see that an old pid is present during
startup, and remove it (or at least provide a flag that can be set to
force the removal).

2. Is it ok to add to the startup script code that will remove the
pid if one is present?

3. Is it left hanging around for a reason?

Thanks,
Dan

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.