lkml.org 
[lkml]   [2000]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ISSUE: infinite fork() kills 2.4.0-test10
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/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.055 / U:3.572 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site