[Bug 5478] rsync: writefd_unbuffered failed to write 4092 bytes [sender]: Broken pipe (32)

samba-bugs at samba.org samba-bugs at samba.org
Thu Sep 22 13:25:20 MDT 2011


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

--- Comment #13 from Eric Shubert <ejs at shubes.net> 2011-09-22 19:25:19 UTC ---
(In reply to comment #12)
> I'm presently attempting to capture a corresponding strace on the source side
> to see what's going on there.

Here are matching straces from the sending and receiving sides.

First the receiving (time on this host is slightly ahead):
13265 12:01:56.418051 read(0, "\374\17\0\7", 4) = 4
13265 12:01:56.418251 select(1, [0], [], NULL, {60, 0}) = 1 (in [0], left {60,
0})
13265 12:01:56.418544 read(0,
"\341\2373}P\226ZL\316n\273\220\344\246\r\n\215r\245I\241Z\351\225\273t\224\302p\375\375\316"...,
4092) = 4092
13265 12:01:56.418855 select(1, [0], [], NULL, {60, 0}) = 1 (in [0], left {60,
0})
13265 12:01:56.419119 read(0, "\374\17\0\7", 4) = 4
13265 12:01:56.419319 select(1, [0], [], NULL, {60, 0}) = 1 (in [0], left {60,
0})
13265 12:01:56.419564 read(0,
"vmb/\216L\360\227\343\31&\240x\306[T\376Dx-\354\360v0\263\f0\266#\305b\363"...,
4092) = 4092
13265 12:01:56.421406 select(1, [0], [], NULL, {60, 0} <unfinished ...>
13264 12:02:55.255790 <... select resumed> ) = 0 (Timeout)
13264 12:02:55.256043 select(4, [3], [], NULL, {60, 0} <unfinished ...>
13265 12:02:56.421901 <... select resumed> ) = 0 (Timeout)
13265 12:02:56.422114 select(1, [0], [], NULL, {60, 0} <unfinished ...>
13264 12:03:55.257239 <... select resumed> ) = 0 (Timeout)
13264 12:03:55.257426 select(4, [3], [], NULL, {60, 0} <unfinished ...>
13265 12:03:56.420390 <... select resumed> ) = 0 (Timeout)

Now the sending:
2611  12:01:55.348752 write(4, "\374\17\0\7", 4) = 4
2611  12:01:55.348862 select(5, NULL, [4], [4], {60, 0}) = 1 (out [4], left
{60, 0})
2611  12:01:55.348983 write(4,
"\17m\304\365\313M\344:\26\253Ogu\311\200Q\2\303\254\373\233T<;\221\351\375\207\264\305\365z"...,
4092) = 4092
2611  12:01:55.349115 select(5, NULL, [4], [4], {60, 0}) = 1 (out [4], left
{60, 0})
2611  12:01:55.349236 write(4, "\374\17\0\7", 4) = 4
2611  12:01:55.349344 select(5, NULL, [4], [4], {60, 0}) = 1 (out [4], left
{60, 0})
2611  12:01:55.349465 write(4,
"\10\2074\tC\36\336r\364\233\0_\336]\311\17\"N\352\22\241O\2450\250\271\305\204Q\202\316\344"...,
4092) = 4092
2611  12:01:55.353308 select(5, NULL, [4], [4], {60, 0}) = 1 (out [4], left
{60, 0})
2611  12:01:55.353471 write(4, "\374\17\0\7", 4) = 4
2611  12:01:55.353586 select(5, NULL, [4], [4], {60, 0} <unfinished ...>
2612  12:01:56.089897 <... select resumed> ) = 1 (out [3])
2612  12:01:56.090021 write(3,
"\326\n\324q\327dR\6\215\201?\227\234\217K:\221c\336\204|@\273\2431f9.\17KTr"...,
158192) = 97920
2612  12:01:56.091620 select(7, [3], [3], NULL, NULL <unfinished ...>
2611  12:02:55.349271 <... select resumed> ) = 0 (Timeout)
2611  12:02:55.349381 select(5, NULL, [4], [4], {60, 0}) = 0 (Timeout)
2611  12:03:55.347803 select(5, NULL, [4], [4], {60, 0}) = 0 (Timeout)
2611  12:04:55.346412 select(5, NULL, [4], [4], {60, 0} <unfinished ...>
2612  12:05:06.185778 <... select resumed> ) = ? ERESTARTNOHAND (To be
restarted)
2611  12:05:06.185871 <... select resumed> ) = ? ERESTARTNOHAND (To be
restarted)
2612  12:05:06.185926 --- SIGINT (Interrupt) @ 0 (0) ---
2611  12:05:06.186867 --- SIGINT (Interrupt) @ 0 (0) ---
2612  12:05:06.187011 sigreturn( <unfinished ...>

I don't know what's supposed to be happening here, so I'll be grateful for any
pointers. I suspect at this point that the problem is with the sending side,
but that's not saying much.

Thanks.

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


More information about the rsync mailing list