[Klug-general] SSH and Rsync weirdness

Laurence Southon laurence at southon.uk.net
Thu Mar 14 12:25:39 UTC 2013


On 14/03/13 11:58, Paul Littlefield wrote:
> If I kill a rsync-over-ssh process, should that stop the data transfer
> right then?
> 
> I would have thought so.
> 
> I only ask because it appears that the 'transfer' was still continuing
> hours later and clogging up my customer's broadband.
> 
> I checked this with 'iftop' and 'ntop', and in the end it just
> stopped... 4 hours later than it should have done.

Guessing, but it's normal for rsync to fork a number of processes when
started.

In theory pkill should kill them all, but perhaps rsync needs a SIGKILL
rather than the default SIGTERM to be certain.

Regards,

LS
-- 
Laurence Southon
Tiger Computing, Bexley
www.tiger-computing.co.uk



More information about the Kent mailing list