[Dovecot] Anvil client_limit reached

Jürgen Obermann Juergen.Obermann at hrz.uni-giessen.de
Wed Nov 3 15:12:34 EET 2010


Quoting Timo Sirainen <tss at iki.fi>:

> On 3.11.2010, at 9.35, Juergen Obermann wrote:
>
>> Nov  3 09:43:33 minerva dovecot: [ID 583609 local0.warning] master: 
>> Warning: service(anvil): client_limit reached, client connections 
>> are being dropped
>>
>> At that time I counted 2030 imap processes from 995 users and 1106 
>> imap-login processes. What can I do to set an appropriate 
>> client_limit for anvil?
>
> Well, it's easy to answer the question:
>
> service anvil {
>   client_limit = 8000 # or something
> }
>
> But you would probably benefit from not having that many login 
> processes: http://wiki2.dovecot.org/LoginProcess
>
I now switched the login processes from high security to high performance mode,
because the problem appeared again.

> There are some other weird things going on here though:
>
>> default_client_limit = 3000
>> default_process_limit = 300
>
> If the default process limit is 300 and you haven't overridden that 
> (I didn't see service imap-login in your settings), how do you have 
> 1106 imap-login processes?
>
Perhaps the imap-login processes should have gone away but still hang araound and serve SSL sessions 

> Also you didn't mention how many pop3-login processes there were. 
> With anvil's client_limit being 3000, this error shouldn't have 
> happened unless there were a total of about 3000 imap/pop3-login 
> processes.
>
Normally only a few but if dovecot hangs there are up to 64 pop3-login processes (64 is the number of cpus)

> So maybe there are some bugs related to this.. Also I should add a 
> check to startup that it warns if anvil's client_limit is too low.
>

-- 
Hochschulrechenzentrum der | Mail: Juergen.Obermann at hrz.uni-giessen.de
Justus-Liebig-Universitaet | WWW:  http://www.uni-giessen.de/obermann/
Heinrich-Buff-Ring 44      | Tel:  0641-99-13054 (0641-99-13001)
D-35392 Giessen, Germany   | Fax:  0641-99-13009

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


More information about the dovecot mailing list