On Sun, Feb 1, 2009 at 2:08 AM, Aryeh Gregor
<[email protected]> wrote:
> On Sat, Jan 31, 2009 at 6:57 PM, Ilmari Karonen <[email protected]> wrote:
>> Come to think of it, shouldn't the toolserver have some resource use
>> limits that would stop things like this from happening?  A single
>> non-root user running a fork bomb or anything similar really shouldn't
>> be able to bring down the entire server.
>
> Maybe set ulimit -m to a gigabyte or something?
>
And limit the number of processes a user can run. while (1) { fork();
} is gonna run you out of pids rather than memory.


Bryan

_______________________________________________
Toolserver-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/toolserver-l

Reply via email to