Hi, Thanks for your reply, Tom and Michael. Maybe an irrelevant question, but I would like to know if there anything from postgres process (e.g any parameter that is not set right) that might remove the postmaster.pid? FYI, we have 20 other sites with the same database use but have not experienced this problem. Thank you. -----Original Message----- From: Michael Paquier [mailto:michael.paquier@xxxxxxxxx] Sent: Jumaat, 23 Jun 2017 1:26 ptg To: Tom Lane <tgl@xxxxxxxxxxxxx> Cc: Muhammad Hanif Abdul Hamid <hanif.hamid@xxxxxxxx>; pgsql-general@xxxxxxxxxxxxxx Subject: Re: Suddenly - LOG: could not open file "postmaster.pid": No such file or directory On Fri, Jun 23, 2017 at 1:43 PM, Tom Lane <tgl@xxxxxxxxxxxxx> wrote: > Muhammad Hanif Abdul Hamid <hanif.hamid@xxxxxxxx> writes: >> Within this week, I have faced two times "postmaster.pid" went missing in a sudden. Nobody deleted it or shutdown the server. > > I'd lay very long odds that your second statement is false. > *Something* removed that file, and it wasn't the postmaster. Yup, and the postmaster is designed to stop if it finds out that postmaster.pid is removed. See that: commit: 7e2a18a9161fee7e67642863f72b51d77d3e996f author: Tom Lane <tgl@xxxxxxxxxxxxx> date: Tue, 6 Oct 2015 17:15:52 -0400 Perform an immediate shutdown if the postmaster.pid file is removed -- Michael ________________________________ DISCLAIMER: This e-mail (including any attachments) is for the addressee(s) only and may be confidential, especially as regards personal data. If you are not the intended recipient, please note that any dealing, review, distribution, printing, copying or use of this e-mail is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete the original message (including any attachments). MIMOS Berhad is a research and development institution under the purview of the Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions and other information in this e-mail that do not relate to the official business of MIMOS Berhad and/or its subsidiaries shall be understood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts responsibility for the same. All liability arising from or in connection with computer viruses and/or corrupted e-mails is excluded to the fullest extent permitted by law. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general