doveadm who 
and 
doveadm kick 
are useful too :) 

On Thu, Jun 9, 2022 at 11:29 AM Richard <inbound-dovecot@listmail.innovate.net> wrote:


> Date: Thursday, June 09, 2022 11:07:38 -0500
> From: Jeremy Schaeffer <kb9mfd@phonesplus.biz>
>
> On 6/9/2022 10:59, Richard wrote:
>>
>>> Date: Thursday, June 09, 2022 10:46:25 -0500
>>> From: Jeremy Schaeffer <kb9mfd@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.





--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c)     E-Mail: larryrtx@gmail.com
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106