HP-UX 11i and largefiles on rsync 2.6.2

John Van Essen vanes002 at umn.edu
Wed Jul 28 07:06:45 GMT 2004

On Tue, 27 Jul 2004, Steve Bonds <knnf6cy7w001 at sneakemail.com> wrote:
> bigfile
> rsync: writefd_unbuffered failed to write 32768 bytes: phase "unknown":
> Broken pipe (32)
> rsync error: error in rsync protocol data stream (code 12) at io.c(902)
> The receiver backtrace is:
> -----
> (gdb) bt
> #0  _exit_cleanup (code=11, file=0x56cf0 "receiver.c", line=253)
>     at cleanup.c:88
> #1  0x9dc0 in receive_data (f_in=0,
>     fname_r=0x77ff1a90 "bigfile", fd_r=1,size_r=2147483647,
>     fname=0x77ff1a90 "bigfile", fd=4,total_size=2532431502)
>     at receiver.c:253

Here's the relevant code in receiver.c:

                if (fd != -1 && write_file(fd,map,len) != (int) len) {
                        rprintf(FERROR, "write failed on %s: %s\n",
                                full_fname(fname), strerror(errno));

Wayne - why is the "write failed" message not being displayed?
It should have contained the EFBIG File Too Large error message.
That would helped figure out the original problem (which, as Craig
Barratt noted, is perhaps a per-process limit setting).
        John Van Essen  Univ of MN Alumnus  <vanes002 at umn.edu>

More information about the rsync mailing list