Subject: misc/11215: netbsd ending up in db mode
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 10/13/2000 11:52:16
>Synopsis: netbsd ending up in db mode
>Arrival-Date: Fri Oct 13 11:52:00 PDT 2000
>Release: NetBSD-release 3 sept
just Mipam :)
System: NetBSD ibb0021.ibb.uu.nl 1.4.3_ALPHA NetBSD 1.4.3_ALPHA (Mipam) #0: Sun Sep 3 18:43:18 CEST 2000 email@example.com:/usr/src/sys/arch/i386/compile/Mipam i386
Compile this program:
while ( fork() )
call this program fun, make a little script under the name: toy
with these contents:
chmod u+x toy and run toy as just a user.
After a few seconds netbsd ends up in db mode.
Okay... i guess you all know 100000 ways to make this happen, but i
guess i seems a user can claim much memory per process and netbsd will
run outta memory and ands up in debugger mode.
Perhaps this shouldnt be so or is there a way to restrict the amount
of memory and proceses a user can fork, allocate memory?
Btw this will work with all netbsd's until 1.4.3_alpha... also
on 1.4, 1.4.1, 1.4.2 it'll work for x86 platform that is
Run toy, and it's repeated...
Restrict the amount of processes a user can fork ( i guess this is allrdy
done?) restrict the amount of memory a user can allocate.