[Dovecot] Resource temporarily unavailable?

Todd Burroughs todd at hostopia.com
Mon Aug 15 22:42:31 EEST 2005


On Mon, 15 Aug 2005, Timo Sirainen wrote:

> On Mon, 2005-08-08 at 20:12 -0400, Todd Burroughs wrote:
>>>>> One thing I'd like to suggest is that this error would be better if it had
>>>>> more information about what resource wasn't available.
>>>>
>>>> The error is EAGAIN caused from the socket() system call.
> ..
>> I think I found this in the kernel in unix_stream_connect().  It looks
>> like the backlog for waiting sockets gets too high and causes this error.
>> It can be set with /proc/sys/net/core/somaxconn, which defaults to 128.
>> I've set this to 1024 and will have to wait to see if it helps.
>
> I've also changed the code in CVS now to retry a few times if it gets
> EAGAIN error.

Changing somaxconn didn't work, I'm installing the latest CVS now.

Todd


More information about the dovecot mailing list