Re: PostgreSQL crashes with Qmail-SQL - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: PostgreSQL crashes with Qmail-SQL
Date
Msg-id 200201250105.g0P15mc22559@candle.pha.pa.us
Whole thread Raw
In response to Re: PostgreSQL crashes with Qmail-SQL  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: PostgreSQL crashes with Qmail-SQL  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Justin Clift <justin@postgresql.org> writes:
> >> No such file??  Hard to believe that that could happen while the
> >> postmaster was still running.  Unless something else had decided to
> >> delete the socket file from /tmp.  The postmaster certainly would not
> >> do it.
> 
> > This provides an interesting lead.  There's at least one linux
> > distribution which does this.  Part of the cron'd maintenance scripts
> > delete all the files in /tmp, and therefore play havoc....
> 
> Yeah, I do recall that some versions had a tmp-scrubber that didn't make
> any exception for socket files.  But it's kind of a big coincidence to
> assume that would happen just while Michael was running his benchmark.
> Not sure I credit it.

We added some PostgreSQL code to touch the socket file during
checkpoints, and I thought that was in 7.1.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: PostgreSQL crashes with Qmail-SQL
Next
From: Bruce Momjian
Date:
Subject: Re: Problem reloading regression database