Protecting against fork bombs

Giorgos Keramidas keramida at ceid.upatras.gr
Sat Apr 5 19:44:36 PST 2003


On 2003-04-05 13:59, Adam <blueeskimo at gmx.net> wrote:
>On Sat, 2003-04-05 at 13:22, Dirk-Willem van Gulik wrote:
>> 	ulimit -u 100
>>
>> does not do that for you adequately enough (or setting the same in
>> /etc/login.conf (field maxproc)) ??
>
> I suppose ulimit would do the trick .. Are there any standard guidelines
> for how many processes to allow? This box is 1.5GHz Athlon, 512mb RAM,
> 1024mb swap ..

Anything above 100 should probably be fine for individual users, even if
they want to run X11.  You can always experiment and increase as needed.

- Giorgos



More information about the freebsd-questions mailing list