Re: imapd never times out? Is this a bug?
Lockywolf <[email protected]> Sat, 1 Aug 2026 05:53:41 -0400
| Newsgroups | gmane.mail.imap.cyrus |
|---|---|
| Message-ID | <[email protected]> |
--17855780211.FDdAc3.35453 Date: Sat, 1 Aug 2026 05:53:41 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I really suspect that something is wrong here. I changed -U 2=C2=A0 to -U 200, increased maxchild to 10, and set the recom= mended sysctls. This should give me 2000 connections, which should be more than enough for = ~10 devices. Assuming each device is IDLE'ing on about 20 directories, this= should only require about 200 connections, and I am giving them 2000. ss shows ~20 ESTAB connections, and 32 CLOSE-WAIT connections, nowhere near= even 200, not even mentioning 2000. But some of my clients fail to connect: Failed to connect to IMAP server:socket.timeout: _ssl.c:1130: The handshake= operation timed out; This didn't happen when the amount of daemons was large... Which part is responsible for not giving my client a serving imapd? ------------------------------------------ Cyrus: Info Permalink: https://cyrus.topicbox.com/groups/info/T22ff1c7d14d4cd97-Mcfdbbb= 6082422d96d3c6c250 Delivery options: https://cyrus.topicbox.com/groups/info/subscription --17855780211.FDdAc3.35453 Date: Sat, 1 Aug 2026 05:53:41 -0400 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE html> <html><html><html><body><div>I really suspect that something is wrong here.= <br /></div><div><br /></div><div>I changed -U 2 to -U 200, increased= maxchild to 10, and set the recommended sysctls.<br /></div><div><br /></d= iv><div>This should give me 2000 connections, which should be more than eno= ugh for ~10 devices. Assuming each device is IDLE'ing on about 20 direc= tories, this should only require about 200 connections, and I am giving the= m 2000.<br /></div><div><br /></div><div>ss shows ~20 ESTAB connections, an= d 32 CLOSE-WAIT connections, nowhere near even 200, not even mentioning 200= 0.<br /></div><div><br /></div><div>But some of my clients fail to connect:= <br /></div><div><br /></div><div><code style=3D"border-radius:3px;border:1= px solid #ccc;padding:1px 3px;background:#f6f6f6;font-family:menlo,consolas= ,monospace;font-size:90%;">Failed to connect to IMAP server:socket.timeout:= _ssl.c:1130: The handshake operation timed out;</code><br /></div><div><br= /></div><div>This didn't happen when the amount of daemons was large..= .<br /></div><div>Which part is responsible for not giving my client a serv= ing imapd?<br /></div><div><br /></div><div id=3D"topicbox-footer" style=3D= "margin:10px 0 0;border-top:1px solid #ddd;border-color:rgba(0,0,0,.15);pad= ding: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-Mcfdbbb= 6082422d96d3c6c250" style=3D"float:right">Permalink</a> </div> </body></html></html></html>= --17855780211.FDdAc3.35453--