Re: IMAP over SSL (only) handshake hangs

2019-12-03 Thread Helder Guerreiro via Info-cyrus
On 03/12/19 14:13, Raphaël Halimi wrote: Le 11/11/2019 à 13:53, Helder Guerreiro via Info-cyrus a écrit : It happened again, the entropy available never got bellow 3600 (logged it every minute or so). Is Cyrus installed in a VM ? It's not. I had the same problem after upgrading Debian from

Re: IMAP over SSL (only) handshake hangs

2019-12-03 Thread Vladislav Kurz
Dne úterý 3. prosince 2019 15:13:54 CET, Raphaël Halimi napsal(a): > Le 11/11/2019 à 13:53, Helder Guerreiro via Info-cyrus a écrit : > > It happened again, the entropy available never got bellow 3600 (logged > > it every minute or so). > > Is Cyrus installed in a VM ? > > I had the same problem

Re: IMAP over SSL (only) handshake hangs

2019-12-03 Thread Raphaël Halimi
Le 11/11/2019 à 13:53, Helder Guerreiro via Info-cyrus a écrit : > It happened again, the entropy available never got bellow 3600 (logged > it every minute or so). Is Cyrus installed in a VM ? I had the same problem after upgrading Debian from 9 to 10, on some virtual servers, with OpenSSH and O

Re: IMAP over SSL (only) handshake hangs

2019-11-12 Thread Zhivko Vasilev
Hello Helder, If there is no enough random seed OpenSSL will not hang, just return an error. Even /dev/random is opened in non-blocking mode. This is true only if OpenSSL is built with non-blocking mode. https://github.com/openssl/openssl/blob/master/crypto/rand/rand_unix.c If it hangs after so

Re: IMAP over SSL (only) handshake hangs

2019-11-11 Thread Helder Guerreiro via Info-cyrus
On 10/11/19 00:19, Helder Guerreiro via Info-cyrus wrote: On 09/11/2019 23.34, Patrick Boutilier wrote: Almost sounds like you are running out of entropy. What does this show? cat /proc/sys/kernel/random/entropy_avail Right now it's at 3769 bytes. I'll monitor this. It happened again, the e

Re: IMAP over SSL (only) handshake hangs

2019-11-09 Thread Helder Guerreiro via Info-cyrus
On 09/11/2019 23.34, Patrick Boutilier wrote: Almost sounds like you are running out of entropy. What does this show? cat /proc/sys/kernel/random/entropy_avail Right now it's at 3769 bytes. I'll monitor this. Note that STARTTLS works fine. Cyrus Home Page: http://www.cyrusimap.org/ List

Re: IMAP over SSL (only) handshake hangs

2019-11-09 Thread Patrick Boutilier
Almost sounds like you are running out of entropy. What does this show? cat /proc/sys/kernel/random/entropy_avail On 11/9/19 7:16 PM, Helder Guerreiro via Info-cyrus wrote: Hi all I'm having this exact same problem. Once the daemon is up it takes a while (a random while) to get to this stat

Re: IMAP over SSL (only) handshake hangs

2019-11-09 Thread Helder Guerreiro via Info-cyrus
Hi all I'm having this exact same problem. Once the daemon is up it takes a while (a random while) to get to this state. I'm on Debian 9.11 (stretch) which still is on Cyrus imap 2.5.10. Any help would be very much appreciated. /Helder On 13/01/2015 10.22, Niels Dettenbach wrote: Hi all,

Re: IMAP over SSL (only) handshake hangs

2015-01-13 Thread Niels Dettenbach
Am Dienstag, 13. Januar 2015, 08:44:11 schrieben Sie: > You may have something else running on tcp:imaps. Verify with: > > netstat -lp | grep imaps ...sorry, but no: tcp 14 0 0.0.0.0:993 0.0.0.0:* LISTEN 30543/master > See /usr/share/doc/cyrus-imapd-

Re: IMAP over SSL (only) handshake hangs

2015-01-13 Thread Dan White
On 01/13/15 11:22 +0100, Niels Dettenbach wrote: >While any other IMAP and POP3 ports with and without SSL / TLS are working - >connects to imaps (993) just hangs, there is nothing in the logs and a > > openssl s_client -connect mail.myhost.abc:993 > >just brings out: > > CONNECTED(

Re: IMAP over SSL (only) handshake hangs

2015-01-13 Thread Niels Dettenbach
Am Dienstag, 13. Januar 2015, 11:41:30 schrieben Sie: > Is it possible you have reached the maxchild limit? sorry, but no. there is just one child and maxchild is >150 and there could be still constructed new childs. but thank you very much for your idea... btw: The timeout with openssl client

Re: IMAP over SSL (only) handshake hangs

2015-01-13 Thread Sebastian Hagedorn
Is it possible you have reached the maxchild limit? --On 13. Januar 2015 11:22:44 +0100 Niels Dettenbach wrote: today i've runned into a very suspicious problem never seen before: While any other IMAP and POP3 ports with and without SSL / TLS are working - connects to imaps (993) just hang

IMAP over SSL (only) handshake hangs

2015-01-13 Thread Niels Dettenbach
Hi all, today i've runned into a very suspicious problem never seen before: While any other IMAP and POP3 ports with and without SSL / TLS are working - connects to imaps (993) just hangs, there is nothing in the logs and a openssl s_client -connect mail.myhost.abc:993 just brings ou