On Wed, Nov 12, 2003 at 12:53:49AM -0000, Marc Henry Galang wrote:
> most of them are on the 2.2 kernel, except mandrake 9.1, and mandrake 8.0
> which Ive upgraded to 2.4.20. all of have the same results even the with
> the lastest kernels.

You can try the same thing on any version of Solaris, AIX, HP/UX or any
other commercial Unix you can name, and your fork bomb will eventually
kill all of them unless appropriate per-user process and memory limits
have been set.  In particular, running your fork bomb as root is a quick
way of killing any of them. :)

The only way to prevent this is by judicious use of ulimit and
appropriate entries in /etc/security/limits.conf.  There's a sweet spot
that prevents a user from grabbing enough to make the system grind to a
halt and allows them to do useful work.

--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to