Hello, 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. Also I never had this problem before, it appeared some months ago. Does anybody know how to solve this? Thanks in advance, Benedikt. -------------- 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/20161014/19999e50/attachment.sig>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEVAwUBWADK13z1H7kL/d9rAQKw6gf/SbLMdf988i3u5arben3YseszjkOfMLqr bRzuBa3wopFC7h456qORiSUqs14YWK7IvLkC5Ke81pdz3beDPFaYrjxvIjldn0KJ YZzsAp7Nc04OzdcC1JZlZ96zjL85AfiokGVvjhCuqVNV0S1R9dy5wJLyouvdnNym gLO2twykuEajJugcnqSfMj0QWhMFO+quYAOEUNeRpf4fDvPPNo11Y89aDtwCrZUp OMEbDIMa92CnNRARkiqRINJmqt3v9ou3DEETnoyj8qGglO/zU+uAOE9BeoihPF4l GIKMJ4agva1p1Un53RBsnpsXxVCljMcvt++M5g/vs+svYqulRpZeXQ==O6DY -----END PGP SIGNATURE-----
This happens to me too. On my case, connections are ESTABILISHED. On Fri, Oct 14, 2016 at 9:09 AM Steffen Kaiser < skdovecot at smail.inf.fh-brs.de> wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > 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 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > > iQEVAwUBWADK13z1H7kL/d9rAQKw6gf/SbLMdf988i3u5arben3YseszjkOfMLqr > bRzuBa3wopFC7h456qORiSUqs14YWK7IvLkC5Ke81pdz3beDPFaYrjxvIjldn0KJ > YZzsAp7Nc04OzdcC1JZlZ96zjL85AfiokGVvjhCuqVNV0S1R9dy5wJLyouvdnNym > gLO2twykuEajJugcnqSfMj0QWhMFO+quYAOEUNeRpf4fDvPPNo11Y89aDtwCrZUp > OMEbDIMa92CnNRARkiqRINJmqt3v9ou3DEETnoyj8qGglO/zU+uAOE9BeoihPF4l > GIKMJ4agva1p1Un53RBsnpsXxVCljMcvt++M5g/vs+svYqulRpZeXQ=> =O6DY > -----END PGP SIGNATURE----- >
The state of the processes according to ps is "S" which means "interruptible sleep" as far as I know? What is also interesting is, that the processes, that seem to have this problem are not shown with the owner name but with the user ID. Normal imap process in ps aux: username 10841 0.1 0.1 9148 3472 ? S 13:18 0:04 dovecot/imap Imap Processes that seem to be quite old already: 1405 11099 0.0 0.1 8072 2644 ? S 13:23 0:00 dovecot/imap But I am not sure if this is really linked to the problem. Benedikt. 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/20161014/bf81f623/attachment-0001.sig>
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>