Re: fork bomb protection
On Thu, 31 Jan 2002, Thedore Knab wrote:
> Although I have spent a lot of time securing things, I still fear that
> fork bombs may kill the box.
>
> Is there a way in the 2.4.17 kernel to prevent fork bombs from crashing
> a system ?
I think ulimit (builtin of bash) is your friend. Try ulimit -u. See
bash(1).
> I fear the students from the Operating Systems class.
Well, they can just sabotage themselves, or is there anything critical
running on those machines?
Alex
--
"Forgive me, but I'm talking to a politician."
John Simpson, BBC World
Reply to: