Issue with one user only, exceeding connections

Richard inbound-dovecot at listmail.innovate.net
Thu Jun 9 16:29:09 UTC 2022



> Date: Thursday, June 09, 2022 11:07:38 -0500
> From: Jeremy Schaeffer <kb9mfd at phonesplus.biz>
>
> On 6/9/2022 10:59, Richard wrote:
>> 
>>> Date: Thursday, June 09, 2022 10:46:25 -0500
>>> From: Jeremy Schaeffer <kb9mfd at phonesplus.biz>
>>> 
>>> That was the first thing I tried, I lowered the cache connections
>>> in Thunderbird. Actually the max connections was 50, not 500, but
>>> I could see why as I do have a lot of folders, but what is odd is
>>> I have other mailboxes that have even more folders, but it's only
>>> one mailbox that is trowing the error.
>>> 
>>> "# ps -axww | grep imap" does not give me the same results -
>>> 
>>> .....
>>> 
>>> 19897 ?        S      0:00 dovecot/imap
>>> 19900 ?        S      0:02 dovecot/imap
>>> 19901 ?        S      0:00 dovecot/imap
>>> 19902 ?        S      0:00 dovecot/imap
>>> .....
>>> 
>>> I wish it did give me the mailbox, is there a option to get it to
>>> give me that information?
>>
>> Try "auxw" on your "ps". I.e., add in the "u" which will get you
>> the user detail in the first column, otherwise you just get the
>> process id.
>> 
>> 
> Thank you! That worked, I piped the output to a file, grep the
> username and sure enough there are 60 lines. So I guess going over
> 50 was a possibility.
> 
> Learn something new every day. I set the maximum to 100 so I should
> not have any errors on that anymore.
> 
 
Rather than simply upping the limit I think a reasonable question to
ask is why/how they are managing to do that. That's a lot of open
folders.
 
By the way, the single command:
 
 ps auxw | grep imap | cut -d" " -f1 | sort | uniq -c
 
will get you a nice list with the users and their connection counts.
 
 
 


More information about the dovecot mailing list