generator hanging when used with stunnel

Steve Sether steve at vellmont.com
Sun Dec 11 06:27:43 GMT 2005


I'm working on the problem I'm having with the generator hanging on the server when
the client side dies.  This only happens when I'm connecting through stunnel.
This is the strace output I'm getting, but I'm not sure how to interpret
the output.  Can anyone help?

write(4, "2005/10/03 13:58:12 [16992] recv"..., 137) = 137
select(8, [7], [3], NULL, {60, 0})      = 1 (in [7], left {59, 660000})
select(8, [7], [], NULL, {60, 0})       = 1 (in [7], left {60, 0})
read(7, "m\0\0\n", 4)                   = 4
select(8, [7], [], NULL, {60, 0})       = 1 (in [7], left {60, 0})
read(7, "recv localhost.localdomain [127."..., 109) = 109
getpid()                                = 16992
time(NULL)                              = 1128365892
write(4, "2005/10/03 13:58:12 [16992] recv"..., 137) = 137
select(8, [7], [3], NULL, {60, 0})      = 1 (in [7], left {58, 460000})
select(8, [7], [], NULL, {60, 0})       = 1 (in [7], left {60, 0})
read(7, "2\0\0\10", 4)                  = 4
select(8, [7], [], NULL, {60, 0})       = 1 (in [7], left {60, 0})
read(7, "rsync: read error: Connection re"..., 50) = 50
getpid()                                = 16992
time(NULL)                              = 1128365894
write(4, "2005/10/03 13:58:14 [16992] rsyn"..., 78) = 78
select(4, NULL, [3], NULL, {60, 0})     = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, NULL, WNOHANG, NULL)          = 17007
wait4(-1, NULL, WNOHANG, NULL)          = -1 ECHILD (No child processes)
rt_sigaction(SIGCHLD, {0x401ddb30, [CHLD], SA_RESTORER|SA_RESTART, 0x400c1978}, {0x401ddb30, [CHLD], SA_RESTORER|SA_RESTART, 0x400c1978}, 8) = 0
sigreturn()                             = ? (mask now [RTMIN])
select(4, NULL, [3], NULL, {60, 0})     = 0 (Timeout)
select(4, NULL, [3], NULL, {60, 0})     = 0 (Timeout)




More information about the rsync mailing list