[PATCH] rsync kills all user processes on fork failure
Martin Pool
mbp at samba.org
Wed Mar 20 10:06:35 EST 2002
On 19 Mar 2002, Paul Haas <paulh at hamjudo.com> wrote:
> I filed this as bug 4150 http://rsync.samba.org/cgi-bin/rsync/
>
> We had a few hundred hung processes and reached the limit for "max user
> processes" (see the ulimit command). rsync did not handle this very
> well. It passed -1 as a PID to kill(). When kill() gets -1, it kills all
> of the processes owned by that user, or if run by root, all processes.
Bloody hell.
Yes, I think that's a real bug. Thanks for yourhelp.
It'll be in the next release.
--
Martin
More information about the rsync
mailing list