Thread: BUG #4255: could not write to log file: Bad file descriptor

BUG #4255: could not write to log file: Bad file descriptor

From
"Ati Rosselet"
Date:
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