Re: qmail uses 100% cpu after FreeBSD-5.0 to 5.1 upgrade

From: Terry Lambert <tlambert2_at_mindspring.com>
Date: Mon, 16 Jun 2003 04:21:44 -0700
Don Lewis wrote:
> Actually, something seems broken.  I modified my little test program to
> actually read the data, which works just fine, but select() still blocks
> when the writer closes the fifo, so there doesn't seem to be a way to
> detect the EOF.

I think this should be covered under the "exceptional event"
and "read" select flags (a subsequent read will return 0).

Also, you should remember that qmail opens the thing with
non-blocking I/O, and then expects the select to block.  Very
odd program, qmail.

-- Terry
Received on Mon Jun 16 2003 - 02:38:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:12 UTC