Re: imapd never times out? Is this a bug?

Lockywolf <[email protected]> Sun, 2 Aug 2026 01:57:24 -0400
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
--17856502441.9be5eCCE8.36119
Date: Sun, 2 Aug 2026 01:57:24 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

>Don't be so sure about that. There might be OCSP checks hanging etc., so=20
you should really investigate the client side too!

I wrote the client, and it's extremely dumb. It's not doing anything beyond=
 "connect to imap, set NOTIFY and hibernate until something arrives". Moreo=
ver, the client works normally with "default settings" (no maxchild, no -T,=
 and no -U). It's just that the amount of imapd daemons is growing until my=
 machine is out of RAM.

>client_timeout

I just tried setting it, and the experience is the same.

Thing kinda work, until the system is running out of daemons to start. I am=
 gradually increasing the number, and at the moment maxchild=3D20. But hone=
sly, it seems that the demons are never shut down after having exhausted al=
l allowed connections.
The network is wonky, so I am not surprised that the connections are runnin=
g out at about 1000 per hour. For 10 client watching 10 folders, it's about=
 10 reconnects per hour.

------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T22ff1c7d14d4cd97-M26f5be=
c38bb760c949c05e6d
Delivery options: https://cyrus.topicbox.com/groups/info/subscription

--17856502441.9be5eCCE8.36119
Date: Sun, 2 Aug 2026 01:57:24 -0400
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html>
<html><html><html><body><div>&gt;Don&#39;t be so sure about that. There mig=
ht be OCSP checks hanging etc., so=20
you should really investigate the client side too!<br /></div><div><br /></=
div><div>I wrote the client, and it&#39;s extremely dumb. It&#39;s not doin=
g anything beyond &quot;connect to imap, set NOTIFY and hibernate until som=
ething arrives&quot;. Moreover, the client works normally with &quot;defaul=
t settings&quot; (no maxchild, no -T, and no -U). It&#39;s just that the am=
ount of imapd daemons is growing until my machine is out of RAM.<br /></div=
><div><br /></div><div>&gt;client_timeout<br /></div><div><br /></div><div>=
I just tried setting it, and the experience is the same.<br /></div><div><b=
r /></div><div>Thing kinda work, until the system is running out of daemons=
 to start. I am gradually increasing the number, and at the moment maxchild=
=3D20. But honesly, it seems that the demons are never shut down after havi=
ng exhausted all allowed connections.<br /></div><div>The network is wonky,=
 so I am not surprised that the connections are running out at about 1000 p=
er hour. For 10 client watching 10 folders, it&#39;s about 10 reconnects pe=
r hour.<br /></div><div><br /></div><div id=3D"topicbox-footer" style=3D"ma=
rgin:10px 0 0;border-top:1px solid #ddd;border-color:rgba(0,0,0,.15);paddin=
g:7px 0;">

<strong><a href=3D"https://cyrus.topicbox.com/latest" style=3D"color:inheri=
t;text-decoration:none">Cyrus</a></strong>
  / Info / see
<a href=3D"https://cyrus.topicbox.com/groups/info">discussions</a>
  +
<a href=3D"https://cyrus.topicbox.com/groups/info/members">participants</a>
  +
<a href=3D"https://cyrus.topicbox.com/groups/info/subscription">delivery&nb=
sp;options</a>
<a href=3D"https://cyrus.topicbox.com/groups/info/T22ff1c7d14d4cd97-M26f5be=
c38bb760c949c05e6d" style=3D"float:right">Permalink</a>
</div>
</body></html></html></html>=

--17856502441.9be5eCCE8.36119--