re: Limits in the kernel

Ralf Wierzbicki (rafal@boa1.dcss.McMaster.CA)
Mon, 22 Jun 1998 00:28:42 -0400 (EDT)


On Sun, 21 Jun 1998, J'aime Fournier wrote:

> Well you could lower the MAX_TASKS_PER_USER in
> /usr/src/linux/include/tasks.h
> To somethine more reasonable like 50 or so.
> The default is 256.

The fork bomb -> main(){fork();main();} maybe doesn't crash a system but
it makes it totally unresponsive which seems like one and the same thing
to me. On a solaris box such a fork bomb doesnt even bring the system load
up to more than 0.03 on a p133. I limit the number of per user processes
to 128 there. I'm very much interested in that patch so if you could post
the url here or maybe even the patch itself you'd make me a happy man :)

Ralf.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu