[Bug 2628] hangs indefinitely (while listing files)

samba-bugs at samba.org samba-bugs at samba.org
Wed May 11 14:21:58 GMT 2005


https://bugzilla.samba.org/show_bug.cgi?id=2628





------- Additional Comments From oopla at users.sf.net  2005-05-11 07:21 -------
sorry 4 late reply, I had to revert back to rsync setup for doing the test.

here's what netstat -tpn|grep 873 shows...

tcp        0   2347 192.168.10.254:1739     192.168.0.2:873        ESTABLISHED 
19437/rsync         
tcp        0   4053 192.168.10.254:1329     192.168.0.2:873        LAST_ACK    
-                   
tcp        0   2588 192.168.10.254:1049     192.168.0.2:873        LAST_ACK    
-

... when client is stuck in ...


[pid 19437] select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left {60, 0})
[pid 19437] write(3, "\5\1\0\0\20\0\7\1\0\0\20\0000\1\0\0\20\0001\1\0\0\20\000".
.., 3700) = 3700
[pid 19437] time(NULL)                  = 1115820917
[pid 19437] select(5, [4], [], NULL, {60, 0} <unfinished ...>
[pid 19470] <... select resumed> )      = 1 (in [3], left {58, 270000})
[pid 19470] read(3, "\230\1\0\7", 4)    = 4
[pid 19470] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 19470] read(3, "\5\1\0\0\20\0\7\1\0\0\20\0000\1\0\0\20\0001\1\0\0\20\000"..
., 408) = 408
[pid 19470] select(4, [3], [], NULL, {60, 0} <unfinished ...>
[pid 19437] <... select resumed> )      = 0 (Timeout)
[pid 19437] select(5, [4], [], NULL, {60, 0} <unfinished ...>
[pid 19470] <... select resumed> )      = 0 (Timeout)
[pid 19470] select(4, [3], [], NULL, {60, 0}

... and correspondingly server is waiting on:


[pid 23453] gettimeofday({1115820907, 675213}, NULL) = 0
[pid 23453] select(6, [5], [], NULL, {60, 0}) = 1 (in [5], left {54, 470000})
[pid 23453] read(5, "\2\0\0\0\20\0B\0\0\0\20\0d\0\0\0\20\0m\0\0\0\20\0n\0\0"...,
8184) = 210
[pid 23453] select(6, NULL, [5], NULL, {60, 0}) = 1 (out [5], left {60, 0})
[pid 23453] write(5,
"\314\0\0\7\2\0\0\0\20\0B\0\0\0\20\0d\0\0\0\20\0m\0\0\0"..., 208) = 208
[pid 23453] gettimeofday({1115820913, 203228}, NULL) = 0
[pid 23453] select(6, NULL, [5], NULL, {60, 0}) = 1 (out [5], left {60, 0})
[pid 23453] write(5, "\6\0\0\7\263\0\0\0\20\0", 10) = 10
[pid 23453] gettimeofday({1115820913, 205305}, NULL) = 0
[pid 23453] select(6, [5], [], NULL, {60, 0}) = 1 (in [5], left {58, 120000})
[pid 23453] read(5,
"\5\1\0\0\20\0\7\1\0\0\20\0000\1\0\0\20\0001\1\0\0\20\000"..., 8184) = 1353
[pid 23453] select(6, NULL, [5], NULL, {60, 0}) = 1 (out [5], left {60, 0})
[pid 23453] write(5,
"\230\1\0\7\5\1\0\0\20\0\7\1\0\0\20\0000\1\0\0\20\0001\1"..., 412) = 412
[pid 23453] gettimeofday({1115820915, 84990}, NULL) = 0
[pid 23453] select(6, [5], [], NULL, {60, 0}) = 0 (Timeout)
[pid 23453] select(6, [5], [], NULL, {60, 0}


-- paolo

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list