Dovecot does not close connections

Benedikt Carda carda at two-wings.net
Sat Oct 22 10:45:08 UTC 2016


How do I check the state of the connection?

-- Benedikt Carda


Am 14.10.2016 um 14:08 schrieb Steffen Kaiser:
> On Fri, 14 Oct 2016, Benedikt Carda wrote:
>
> > I am running into this error:
> > /Maximum number of connections from user+IP exceeded
> > (mail_max_userip_connections=10)/
>
> > The suggested solution in hundreds of support requests on this mailing
> > list and throughout the internet is to increase the number of maximum
> > userip connections. But this is not curing the problem, it is just
> > postponing it to the moment when the new limit is reached.
>
> > When i type:
> > /doveadm who//
> > /
>
> > I can see that some accounts have several pids running:
> > /someaccount       10 imap  (25396 25391 25386 25381 25374 7822 7817
> > 5559 5543 5531) (xxx.xxx.xxx.xxx)/
>
> > Now when I check these pids with
> > /ps aux/
>
> > I find out that the oldest pid (5531) has a lifetime of already over 12
> > hours. Anyway I know that the clients that initiated the connections are
> > not connected anymore, so there is no way that there is a valid reason
> > why this connection should still be open.
>
> What's the state of the connection ?
>
>
> -- Steffen Kaiser


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20161022/bb900d35/attachment.sig>


More information about the dovecot mailing list