[Bug 8979] New: rsync daemon: High load while skipping hardlinks

samba-bugs at samba.org samba-bugs at samba.org
Tue Jun 5 07:44:42 MDT 2012


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

           Summary: rsync daemon: High load while skipping hardlinks
           Product: rsync
           Version: 3.0.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: simon.klinkert at gmail.com
         QAContact: rsync-qa at samba.org


Hi,

I am observing a rsync daemon process with a high load and an endlessly running
loop in function check_prior() in hlink.c
I stepped (with gdb) through this function but there is no way out of this
while loop.

rsync command: rsync --server -vlHtprze.iLs --timeout=600 --delete --partial
--ignore-existing . <path>

gdb back trace:

#0  0x080ad49c in check_prior (file=0x8297f7c, gnum=0, prev_ndx_p=0x80449a0,
flist_p=0x80449a4) at hlink.c:268
#1  0x080ae0f3 in skip_hard_link (file=0x8297f7c, flist_p=0x81bf8b4) at
hlink.c:549
#2  0x080c6a14 in handle_skipped_hlink (file=0x8297f7c, itemizing=1, code=FLOG,
f_out=1) at generator.c:2015
#3  0x080c4b68 in recv_generator (
    fname=0x8045900 "<path to directory>", 
    file=0x8297f7c, ndx=647, itemizing=1, code=FLOG, f_out=1) at
generator.c:1400
#4  0x080c761f in generate_files (f_out=1, local_name=0x0) at generator.c:2262
#5  0x0809fa50 in do_recv (f_in=0, f_out=1, local_name=0x0) at main.c:832
#6  0x0809fdd0 in do_server_recv (f_in=0, f_out=1, argc=1, argv=0x81d06e4) at
main.c:942
#7  0x0809feb2 in start_server (f_in=0, f_out=1, argc=2, argv=0x81d06e0) at
main.c:972

Please tell me which further information do you need.

-- 
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