BUG #4255: could not write to log file: Bad file descriptor - Mailing list pgsql-bugs

From Ati Rosselet
Subject BUG #4255: could not write to log file: Bad file descriptor
Date
Msg-id 200806201638.m5KGck9Z056245@wwwmaster.postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged online:

Bug reference:      4255
Logged by:          Ati Rosselet
Email address:      ati.rosselet@gmail.com
PostgreSQL version: 8.3.3.1
Operating system:   windows 2003 svr sp2+updates
Description:        could not write to log file: Bad file descriptor
Details:

in EventLog:
   could not write to log file: Bad file descriptor
This error occurs repeatedly, but not consistently, other than that it
ALWAYS occurs at almost exactly same time as log rollover, and it's
frequency is reduced by reducing the amount logged (less chance for a
conflict somewhere?)

eg:
postgres log:
postgresql-2008-06-20_121525.log
EventLog error occurs at 12:15:26 PM

I know.. no speculation.. but the small delay between creation of a new
logfile, and closure of the previous seems to indicate a stale file
handle... mind you....  just a guess..

Hope this can be resolved...
Cheers

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG advisory_lock
Next
From: ArLi
Date:
Subject: bug