Kenneth Porter wrote at about 18:27:52 -0800 on Saturday, January 22, 2022:
> --On Saturday, January 22, 2022 8:55 PM -0500 [email protected] wrote:
>
> > It gets "stuck" at varying places... as IO slows to a complete halt
> > (based on iftop) until rsync timesout.
> > Similarly, 'strace' stalls.
> >
> > This happens even if I run rsync_bpc from the command line directly,
> > but it does *not* happen when I use native rsync with the comparable
> > options.
> >
> > Any ideas on how to debug this further?
>
> Once it stalls but before the timeout, run ps and lsof to see what files
> are open by the rsync_bpc. Maybe run from gdb and force a break at that
> point to get a stack dump.
>
Here is a backtrace where it gets stuck...
0x00007ffff74c7dd7 in __GI___select (nfds=5, readfds=0x7fffffff9a10,
writefds=0x7fffffff9b10, exceptfds=0x7fffffff9a90, timeout=0x7fffffff9a00)
at ../sysdeps/unix/sysv/linux/select.c:41
41 ../sysdeps/unix/sysv/linux/select.c: No such file or directory.
(gdb) where
#0 0x00007ffff74c7dd7 in __GI___select (nfds=5, readfds=0x7fffffff9a10,
writefds=0x7fffffff9b10, exceptfds=0x7fffffff9a90, timeout=0x7fffffff9a00)
at ../sysdeps/unix/sysv/linux/select.c:41
#1 0x000055555543fc43 in perform_io (needed=2, flags=2) at io.c:742
#2 0x0000555555444230 in write_buf (f=4, buf=0x7fffffff9c70
"\255\327\031\231\032^L\"Dq:\004\225\203D\265p\026\362\367\377\177", len=2) at
io.c:2186
#3 0x0000555555418bbe in generate_and_send_sums (fd=3, len=5536048, f_out=4,
f_copy=-1) at generator.c:765
#4 0x000055555541d822 in recv_generator (fname=0x7fffffffc000
"dalvik-cache/data@[email protected]@classes.dex",
file=0x7ffff7f21670, ndx=880, itemizing=1, code=FLOG,
f_out=4) at generator.c:1971
#5 0x000055555541ed4b in generate_files (f_out=4, local_name=0x0) at
generator.c:2340
#6 0x000055555542e3cd in do_recv (f_in=3, f_out=4, local_name=0x0) at
main.c:963
#7 0x000055555542ed17 in client_run (f_in=5, f_out=4, pid=30838, argc=1,
argv=0x5555559c1628) at main.c:1213
#8 0x000055555542f691 in start_client (argc=1, argv=0x5555559c1628) at
main.c:1423
#9 0x000055555542fddf in main (argc=2, argv=0x5555559c1620) at main.c:1672
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/