<div dir="ltr">In the past I've used kill directly with a process ID, or 'killall rsync'.<div><br></div><div style>Like Laurence, I would assume that any forked processes should also be killed (and my experience backs this up). Could you see which processes were actually creating traffic? My first guess would be to assume that something else was using the traffic instead of your killed process.</div>
<div style><br></div><div style>Karl</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 14 March 2013 12:25, Laurence Southon <span dir="ltr"><<a href="mailto:laurence@southon.uk.net" target="_blank">laurence@southon.uk.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 14/03/13 11:58, Paul Littlefield wrote:<br>
> If I kill a rsync-over-ssh process, should that stop the data transfer<br>
> right then?<br>
><br>
> I would have thought so.<br>
><br>
> I only ask because it appears that the 'transfer' was still continuing<br>
> hours later and clogging up my customer's broadband.<br>
><br>
> I checked this with 'iftop' and 'ntop', and in the end it just<br>
> stopped... 4 hours later than it should have done.<br>
<br>
</div>Guessing, but it's normal for rsync to fork a number of processes when<br>
started.<br>
<br>
In theory pkill should kill them all, but perhaps rsync needs a SIGKILL<br>
rather than the default SIGTERM to be certain.<br>
<br>
Regards,<br>
<br>
LS<br>
<span class="HOEnZb"><font color="#888888">--<br>
Laurence Southon<br>
Tiger Computing, Bexley<br>
<a href="http://www.tiger-computing.co.uk" target="_blank">www.tiger-computing.co.uk</a><br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Kent mailing list<br>
<a href="mailto:Kent@mailman.lug.org.uk">Kent@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a><br>
</div></div></blockquote></div><br></div>