Package: rsync
Version: 3.1.1-3
Usertags: serious

When I press Ctrl+C, a background rsync process survives, continuing to clog up my modest Internet connection:

$ rsync -avP 
rsync://meetings-archive.debian.net/pub/debian-meetings/2015/debconf15/misc/ .
MOTD: Welcome to the rsync archive at Academic Computer Club, UmeƄ University.

receiving incremental file list
./
DebConf15-Final.mp4
       327,680   0%   59.52kB/s    0:11:40  ^C
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(632) 
[generator=3.1.1]
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at io.c(504) 
[receiver=3.1.1]

$ pgrep rsync
6251

$ strace -p 6251
strace: Process 6251 attached
_newselect(4, [3], [], [3], {59, 989267}) = 1 (in [3], left {59, 980959})
read(3, 
"\3644\212W\272\\\345\371:\371\260\3460;R\361t\240\237\324\245)\n\303\205\26\241.\321p\20\322"...,
 1288) = 1288
_newselect(4, [3], [], [3], {60, 0})    = 1 (in [3], left {59, 999995})
read(3, 
"\241\3752:=~\337\217\274q\251\25\354\25\260~;s\252\7\220\205\4\227\17{&\222(\304\20\350"...,
 31756) = 160
...


-- System Information:
Debian Release: stretch/sid
 APT prefers unstable
 APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 4.6.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages rsync depends on:
ii  base-files  9.6
ii  libacl1     2.2.52-3
ii  libattr1    1:2.4.47-2
ii  libc6       2.23-1
ii  libpopt0    1.16-10
ii  lsb-base    9.20160629

Versions of packages rsync suggests:
ii  openssh-client  1:7.2p2-5
pn  openssh-server  <none>

--
Jakub Wilk

Reply via email to