[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: smtp busylooping



On Tue, 2002-07-16 at 16:03, Matti Aarnio wrote:

> > Every now and then, I get a few smtp agents busylooping.  System is
> > Linux, source is couple months' old CVS:
> 
>   This might be related:
> 
> 2002-06-18  Matti Aarnio  <mea@zmailer.org>
> 	* transports/smtp/smtp.c:
> 	    Fix the call parameters to "select_sleep()" so that there
> 	    is explicite knowledge of when the select is for writing,
> 	    and when it is for reading.

I'll check when I have an opportunity to upgrade the production system.

>   But   strace   run at a busy-looping SMTP-TA could reveal a bit more
>   data for me.

read(-1, 0xbfff610c, 512)               = -1 EBADF (Bad file descriptor)
time([1026821312])                      = 1026821312
select(2, [], [1], NULL, {0, 0})        = 1 (out [1], left {0, 0})
read(-1, 0xbfff610c, 512)               = -1 EBADF (Bad file descriptor)
time([1026821312])                      = 1026821312
select(2, [], [1], NULL, {0, 0})        = 1 (out [1], left {0, 0})
read(-1, 0xbfff610c, 512)               = -1 EBADF (Bad file descriptor)
time([1026821312])                      = 1026821312
select(2, [], [1], NULL, {0, 0})        = 1 (out [1], left {0, 0})
read(-1, 0xbfff610c, 512)               = -1 EBADF (Bad file descriptor)
...

Eugene

-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi