On Mon, Oct 30, 2000 at 01:29:49PM -0800, Ian Lance Taylor wrote:
> Date: Mon, 30 Oct 2000 12:28:06 -0800 (PST)
> From: Jeff Mayzurk <[EMAIL PROTECTED]>
>
> The pipe works fine for small distribution lists, but I'm getting consistent
> blocking after writing about 10KB of addresses (around 400 recipients) to the
> pipe. qmail-queue is blocked in read() and my returns EAGAIN indefinitely on
> write(), or blocks indefinitely without O_NONBLOCK set.
>
> You need two pipes to send information to qmail-queue. In which order
> are you writing and closing them?
That sounds right to me, well spotted. So qmail-queue is not reading the same pipe
that the program is writing to.
Regards.