Re: ISSUE: infinite fork() kills 2.4.0-test10

From: Tigran Aivazian (tigran@veritas.com)
Date: Wed Nov 01 2000 - 05:49:07 EST


On Wed, 1 Nov 2000, Peter Hawkins wrote:

> Hi...
>
> I am not subscribed to this list at present (subscription is pending approval), so please CC me with replies.
>
> This simple program run as an unprivileged user effectively kills 2.4.0-test10 "Greased weasel":
> int main(void)
> {
> fork();
> main();
> return 0;
> }
>
> Watching a top(1) listing once this program has been started, the load average briefly hits ~560, before the system temporarily ceases responding. After a few seconds, all processes on consoles are killed, and there is an endless spew of:
> __alloc_pages: 1-order allocation failed

and what part of the above do you consider to be a bug? So you have a
misconfigured system with no limits setup for a user (nobody _should_ need
them, users must be educated and not run the above stupid programs) and
expect the system to somewhow "guess" the kind of behaviour you expect?
How can it possibly guess? To me, the above is quite expected behaviour
for a desktop configuration.

Regards,
Tigran

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Nov 07 2000 - 21:00:09 EST