IMAP over SSL (only) handshake hangs
Niels Dettenbach
nd at syndicat.com
Tue Jan 13 06:24:19 EST 2015
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 gomes with:
write:errno=104
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 308 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
Ive done a
strace -f -p on the master process which brought out:
10.010180 select(43, [7 9 12 14 15 17 18 20 21 24 27 29 30 32 33 35 36 38
39 42], NULL, NULL, {0, 984890}) = 0 (Timeout)
0.986051 socket(PF_LOCAL, SOCK_STREAM, 0) = 44
0.000055 connect(44, {sa_family=AF_LOCAL, sun_path="/var/agentx/master"},
110) = -1 ENOENT (No such file or directory)
0.000040 close(44) = 0
0.000036 stat("/etc/resolv.conf", {st_dev=makedev(8, 1), st_ino=927140,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=8, st_size=115, st_atime=2015/01/06-02:10:04,
st_mtime=2015/01/13-07:30:41, st_ctime=2015/01/13-07:30:41}) = 0
0.000048 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 44
0.000031 fstat(44, {st_dev=makedev(8, 1), st_ino=788109, st_mode=S_IFREG|
0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8,
st_size=1226, st_atime=2015/01/05-13:34:28, st_mtime=2015/01/13-11:51:37,
st_ctime=2015/01/13-11:51:37}) = 0
0.000045 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|
MAP_ANONYMOUS, -1, 0) = 0x7ff295338000
0.000029 read(44, "# /etc/hosts: Local Host Databas"..., 4096) = 1226
0.000076 read(44, "", 4096) = 0
0.000029 close(44) = 0
0.000026 munmap(0x7ff295338000, 4096) = 0
0.000035 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 44
0.000034 connect(44, {sa_family=AF_INET, sin_port=htons(705),
sin_addr=inet_addr("127.0.0.1")}, 16) = -1 ECONNREFUSED (Connection refused)
0.000083 close(44) = 0
0.000038 write(2, "Warning: Failed to connect to th"..., 64) = 64
0.000039 select(43, [7 9 12 14 15 17 18 20 21 24 27 29 30 32 33 35 36 38
39 42], NULL, NULL, {9, 0}
) = 1 (in [12], left {4, 294718})
4.705369 read(12, "\2\0\0\0008\32\0\0", 8) = 8
0.000076 read(12, "\3\0\0\0008\32\0\0", 8) = 8
0.000036 read(12, 0x7fff1bb0bbe0, 8) = -1 EAGAIN (Resource temporarily
unavailable)
0.000099 select(43, [7 9 11 12 14 15 17 18 20 21 24 27 29 30 32 33 35 36
38 39 42], NULL, NULL, {4, 0}) = 1 (in [12], left {3, 982250})
0.017874 read(12, "\1\0\0\0008\32\0\0", 8) = 8
0.000038 read(12, 0x7fff1bb0bbe0, 8) = -1 EAGAIN (Resource temporarily
unavailable)
0.000120 select(43, [7 9 12 14 15 17 18 20 21 24 27 29 30 32 33 35 36 38
39 42], NULL, NULL, {4, 0}
) = 0 (Timeout)
4.004195 select(43, [7 9 12 14 15 17 18 20 21 24 27 29 30 32 33 35 36 38
39 42], NULL, NULL, {6, 271546}) = 0 (Timeout)
6.278002 socket(PF_LOCAL, SOCK_STREAM, 0) = 44
0.000056 connect(44, {sa_family=AF_LOCAL, sun_path="/var/agentx/master"},
110) = -1 ENOENT (No such file or directory)
0.000047 close(44) = 0
0.000044 stat("/etc/resolv.conf", {st_dev=makedev(8, 1), st_ino=927140,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=8, st_size=115, st_atime=2015/01/06-02:10:04,
st_mtime=2015/01/13-07:30:41, st_ctime=2015/01/13-07:30:41}) = 0
0.000063 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 44
0.000034 fstat(44, {st_dev=makedev(8, 1), st_ino=788109, st_mode=S_IFREG|
0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8,
st_size=1226, st_atime=2015/01/05-13:34:28, st_mtime=2015/01/13-11:51:37,
st_ctime=2015/01/13-11:51:37}) = 0
0.000040 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|
MAP_ANONYMOUS, -1, 0) = 0x7ff295338000
0.000033 read(44, "# /etc/hosts: Local Host Databas"..., 4096) = 1226
0.000052 read(44, "", 4096) = 0
0.000027 close(44) = 0
0.000024 munmap(0x7ff295338000, 4096) = 0
0.000047 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 44
0.000030 connect(44, {sa_family=AF_INET, sin_port=htons(705),
sin_addr=inet_addr("127.0.0.1")}, 16) = -1 ECONNREFUSED (Connection refused)
0.000096 close(44) = 0
0.000040 write(2, "Warning: Failed to connect to th"..., 64) = 64
0.000034 select(43, [7 9 12 14 15 17 18 20 21 24 27 29 30 32 33 35 36 38
39 42], NULL, NULL, {4, 0}
) = 0 (Timeout)
4.004169 select(43, [7 9 12 14 15 17 18 20 21 24 27 29 30 32 33 35 36 38
39 42], NULL, NULL, {10, 0}) = ? ERESTARTNOHAND (To be restarted if no
handler)
7.662763 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6777,
si_uid=129, si_status=0, si_utime=0, si_stime=0} ---
0.000036 rt_sigreturn() = -1 EINTR (Interrupted system call)
0.000033 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG,
NULL) = 6777
0.000098 sendto(5, "<183>Jan 13 12:07:12 master[6687"..., 64,
MSG_NOSIGNAL, NULL, 0) = 64
0.000134 wait4(-1, 0x7fff1bb0bb54, WNOHANG, NULL) = 0
0.000052 select(43, [7 9 12 14 15 17 18 20 21 24 27 29 30 32 33 35 36 38
39 41 42], NULL, NULL, {3, 3
Niels.
--
---
Niels Dettenbach
Syndicat IT & Internet
http://www.syndicat.com
PGP: https://syndicat.com/pub_key.asc
---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20150113/42d00de5/attachment.bin
More information about the Info-cyrus
mailing list