Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jun 2003 04:21:44 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Don Lewis <truckman@freebsd.org>
Cc:        tjr@freebsd.org
Subject:   Re: qmail uses 100% cpu after FreeBSD-5.0 to 5.1 upgrade
Message-ID:  <3EEDA848.DFB6E6F2@mindspring.com>
References:  <200306161109.h5GB9MM7048819@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EEDA848.DFB6E6F2>