[Dovecot] imap-login hanging when firewall blocks ssl handshaking

Erik A Johnson johnsone at usc.edu
Thu Dec 6 07:43:53 EET 2012


On December 4, 2012 at 4:43:53 AM PST, Ben Morrow <ben at morrow.me.uk> wrote:
> So, it looks to me as though you have a firewall problem. You may be
> able to get more information by setting the kern.ipc.sodefunctlog sysctl
> to 1: this should make the kernel log to syslog (or wherever the OSX
> kernel logs go) when sockets are made DEFUNCT and when reads fail for
> that reason.

sudo sysctl -w kern.ipc.sodefunctlog=1 gives the following in the log:

12/5/12 9:10:00.000 PM kernel[0]: sosetdefunct[60169]: (target pid 60169 level 0) so 0xffffff803159c738 [2,1] marked as defunct
12/5/12 9:10:00.000 PM kernel[0]: sodefunct[60169]: (target pid 60169 level 0) so 0xffffff803159c738 [2,1] is now defunct [rcv_si 0x0, snd_si 0x0, rcv_fl 0x9400, snd_fl 0x1400]
12/5/12 9:10:00.000 PM kernel[0]: soreceive[60169]: defunct so 0xffffff803159c738 [2,1] (57)

The last line is repeated about once every 4 microseconds until I kill it.



More information about the dovecot mailing list