file descriptors on FreeBSD

Julian Field mailscanner at ecs.soton.ac.uk
Thu Dec 12 11:45:13 GMT 2002


At 20:14 11/12/2002, you wrote:
>My file descriptor problem:
>Dec  9 10:01:04 mx3 sendmail[39837]: File descriptors missing on startup:
>stdin, stdout, stderr; Bad file descriptor
>
>disappears if I restart MailScanner every hour.  The problem hasn't returned
>for 2 days.
>
>Juilian, what does the parent process do?  Which bits of code should I look
>at?

Look at the /usr/sbin/MailScanner script, the "for(;;)" loop which starts
at line 179. You can ignore the "WorkForHours()" call as that only happens
in the child process.
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list