DO NOT REPLY [Bug 5695] rsync local timeout

samba-bugs at samba.org samba-bugs at samba.org
Tue Aug 19 01:26:48 GMT 2008


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





------- Comment #2 from gabriele.tozzi at gmail.com  2008-08-18 20:26 CST -------
Thank you for your reply.
3.0.4pre2 times out at an earlier point:

strace -f /tmp/rsync/rsync-3.0.4pre2/rsync -v -a -x --timeout=300 --numeric-ids
--delete --delete-excluded /mnt/dati2/dati /mnt/extra/Backups > /tmp/rsync.out
2> /tmp/rsync.err

rsync.out:
sending incremental file list
[some files]

rsync.err (last lines):
[pid  9127]
lstat64("dati/Backups/Hell/home/bodom/.kde/share/apps/kopete/logs/JabberProtocol/---accountname---",
{st_mode=S_IFDIR|0700, st_size=2048, ...}) = 0
[pid  9127]
lstat64("dati/Backups/Hell/home/bodom/.kde/share/apps/kopete/logs/MSNProtocol/---accountname---",
{st_mode=S_IFDIR|0700, st_size=2048, ...}) = 0
[pid  9127]
lstat64("dati/Backups/Hell/home/bodom/.kde/share/apps/kopete/logs/MSNProtocol/---accountname---",
{st_mode=S_IFDIR|0700, st_size=2048, ...}) = 0
[pid  9127]
lstat64("dati/Backups/Hell/home/bodom/.kde/share/apps/kopete/logs/MSNProtocol/---accountname---",
{st_mode=S_IFDIR|0700, st_size=2048, ...}) = 0
[pid  9127]
lstat64("dati/Backups/Hell/home/bodom/.kde/share/apps/kopete/logs/MSNProtocol/---accountname---",
{st_mode=S_IFDIR|0700, st_size=67584, ...}) = 0
[pid  9127] select(4, [3], [], NULL, {60, 0} <unfinished ...>
[pid  9128] <... select resumed> )      = 1 (in [0], left {59, 990000})
[pid  9128] read(0, "\1\0\0\7"..., 4)   = 4
[pid  9128] time(NULL)                  = 1219108641
[pid  9128] select(1, [0], [], NULL, {60, 0}) = 1 (in [0], left {60, 0})
[pid  9128] read(0, "\0"..., 1)         = 1
[pid  9128] time(NULL)                  = 1219108641
[pid  9128] select(1, [0], [], NULL, {60, 0} <unfinished ...>
[pid  9126] <... select resumed> )      = 0 (Timeout)
[pid  9126] time(NULL)                  = 1219108701
[pid  9126] select(6, [5], [], NULL, {60, 0} <unfinished ...>
[pid  9128] <... select resumed> )      = 0 (Timeout)
[pid  9128] time(NULL)                  = 1219108701
[pid  9128] select(1, [0], [], NULL, {60, 0} <unfinished ...>
[pid  9127] <... select resumed> )      = 0 (Timeout)
[pid  9127] select(4, [3], [], NULL, {60, 0} <unfinished ...>
[pid  9126] <... select resumed> )      = 0 (Timeout)
[pid  9126] time(NULL)                  = 1219108761
[pid  9126] select(6, [5], [], NULL, {60, 0} <unfinished ...>
[pid  9127] <... select resumed> )      = 0 (Timeout)
[pid  9127] select(4, [3], [], NULL, {60, 0} <unfinished ...>
[pid  9128] <... select resumed> )      = 0 (Timeout)
[pid  9128] time(NULL)                  = 1219108761
[pid  9128] select(1, [0], [], NULL, {60, 0} <unfinished ...>
[pid  9126] <... select resumed> )      = 0 (Timeout)
[pid  9126] time(NULL)                  = 1219108821
[pid  9126] select(6, [5], [], NULL, {60, 0} <unfinished ...>
[pid  9127] <... select resumed> )      = 0 (Timeout)
[pid  9127] select(4, [3], [], NULL, {60, 0} <unfinished ...>
[pid  9128] <... select resumed> )      = 0 (Timeout)
[pid  9128] time(NULL)                  = 1219108821
[pid  9128] select(1, [0], [], NULL, {60, 0} <unfinished ...>
[pid  9126] <... select resumed> )      = 0 (Timeout)
[pid  9126] time(NULL)                  = 1219108881
[pid  9126] select(6, [5], [], NULL, {60, 0} <unfinished ...>
[pid  9128] <... select resumed> )      = 0 (Timeout)
[pid  9128] time(NULL)                  = 1219108881
[pid  9127] <... select resumed> )      = 0 (Timeout)
[pid  9128] select(1, [0], [], NULL, {60, 0} <unfinished ...>
[pid  9127] select(4, [3], [], NULL, {60, 0} <unfinished ...>
[pid  9126] <... select resumed> )      = 0 (Timeout)
[pid  9126] time(NULL)                  = 1219108941
[pid  9126] write(2, "io timeout after 300 seconds -- e"..., 39io timeout after
300 seconds -- exiting) = 39
[pid  9126] write(2, "\n"..., 1
)        = 1
[pid  9126] rt_sigaction(SIGUSR1, {SIG_IGN}, NULL, 8) = 0
[pid  9126] rt_sigaction(SIGUSR2, {SIG_IGN}, NULL, 8) = 0
[pid  9126] waitpid(9127, 0xbfbba3ec, WNOHANG) = 0
[pid  9126] getpid()                    = 9126
[pid  9126] kill(9127, SIGUSR1)         = 0
[pid  9127] <... select resumed> )      = ? ERESTARTNOHAND (To be restarted)
[pid  9127] --- SIGUSR1 (User defined signal 1) @ 0 (0) ---
[pid  9126] write(2, "rsync error: timeout in data send"..., 83 <unfinished
...>
[pid  9128] <... select resumed> )      = 0 (Timeout)
[pid  9128] time( <unfinished ...>
[pid  9126] <... write resumed> )       = 83
[pid  9127] rt_sigaction(SIGUSR1, {SIG_IGN},  <unfinished ...>
[pid  9126] write(2, "\n"..., 1
 <unfinished ...>
[pid  9127] <... rt_sigaction resumed> NULL, 8) = 0
[pid  9126] <... write resumed> )       = 1
[pid  9127] rt_sigaction(SIGUSR2, {SIG_IGN},  <unfinished ...>
[pid  9126] exit_group(30)              = ?
[pid  9127] <... rt_sigaction resumed> NULL, 8) = 0
[pid  9127] kill(9128, SIGUSR1)         = 0
[pid  9127] gettimeofday({1219108941, 713332}, NULL) = 0
[pid  9127] select(0, NULL, NULL, NULL, {0, 100000} <unfinished ...>
[pid  9128] <... time resumed> NULL)    = 1219108941
[pid  9128] --- SIGUSR1 (User defined signal 1) @ 0 (0) ---
[pid  9128] rt_sigaction(SIGUSR1, {SIG_IGN}, NULL, 8) = 0
[pid  9128] rt_sigaction(SIGUSR2, {SIG_IGN}, NULL, 8) = 0
[pid  9128] select(5, NULL, [4], [4], {60, 0}) = 1 (out [4], left {60, 0})
[pid  9128] write(4, "M\0\0\nrsync error: received SIGUSR1"..., 81) = 81
[pid  9128] gettimeofday({1219108941, 714385}, NULL) = 0
[pid  9128] select(0, NULL, NULL, NULL, {0, 100000}) = 0 (Timeout)
[pid  9128] gettimeofday({1219108941, 809137}, NULL) = 0
[pid  9128] select(0, NULL, NULL, NULL, {0, 6000} <unfinished ...>
[pid  9127] <... select resumed> )      = 0 (Timeout)
[pid  9127] gettimeofday({1219108941, 809390}, NULL) = 0
[pid  9127] select(0, NULL, NULL, NULL, {0, 4000}) = 0 (Timeout)
[pid  9127] gettimeofday({1219108941, 818916}, NULL) = 0
[pid  9127] exit_group(19)              = ?
Process 9127 detached
<... select resumed> )                  = 0 (Timeout)
gettimeofday({1219108941, 820423}, NULL) = 0
exit_group(19)                          = ?
Process 9128 detached


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