RE: [PATCH] Re: reliability of linux-vm subsystem

2000-11-14 Thread Chris Swiedler
> > Good, so the OOM killer works. > > But it doesn't work for this kind of application misbehaviours (or > user attacks): > > main() { while(1) if (fork()) malloc(1); } This seems to be a fork() bomb, not a VM issue. The system is overwhelmed by the the forks, not by the space consumed by the al

Re: [PATCH] Re: reliability of linux-vm subsystem

2000-11-14 Thread Szabolcs Szakacsits
On Tue, 14 Nov 2000, Erik Mouw wrote: > On Mon, Nov 13, 2000 at 10:50:05PM +0100, Szabolcs Szakacsits wrote: > > But it doesn't work for this kind of application misbehaviours (or > > user attacks): > > main() { while(1) if (fork()) malloc(1); } > Proper process limits stop the fork bomb. You co

Re: [PATCH] Re: reliability of linux-vm subsystem

2000-11-14 Thread Helge Hafting
Michael Peddemors wrote: > > > up to the sysadmin to enforce the policy. For the home user it means > > that the distribution providers have to set decent limits, > > What is decent today may not be with tommorows' newest softwares > Which is why you upgrade your distribution now and then.

Re: [PATCH] Re: reliability of linux-vm subsystem

2000-11-13 Thread Michael Peddemors
> up to the sysadmin to enforce the policy. For the home user it means > that the distribution providers have to set decent limits, What is decent today may not be with tommorows' newest softwares > for enterprises it means that they have to hire a sysadmin. That is one of the reasons that

Re: [PATCH] Re: reliability of linux-vm subsystem

2000-11-13 Thread Erik Mouw
On Mon, Nov 13, 2000 at 10:50:05PM +0100, Szabolcs Szakacsits wrote: > On Mon, Nov 13, 2000 Erik Mouw wrote: > > Good, so the OOM killer works. > > But it doesn't work for this kind of application misbehaviours (or > user attacks): > > main() { while(1) if (fork()) malloc(1); } Proper process l

[PATCH] Re: reliability of linux-vm subsystem

2000-11-13 Thread Szabolcs Szakacsits
On Mon, Nov 13, 2000 Erik Mouw wrote: > On Mon, Nov 13, 2000 at 05:29:48PM +0530, [EMAIL PROTECTED] wrote: > > System becomes useless till all of the instance of this programming are > > killed by vmm. > Good, so the OOM killer works. But it doesn't work for this kind of application misbehaviou

Re: reliability of linux-vm subsystem

2000-11-13 Thread Erik Mouw
On Mon, Nov 13, 2000 at 05:29:48PM +0530, [EMAIL PROTECTED] wrote: > When i run following code many times. > System becomes useless till all of the instance of this programming are > killed by vmm. Good, so the OOM killer works. > Till that time linux doesn't accept any command though it switche

Re: reliability of linux-vm subsystem

2000-11-13 Thread Francois romieu
The Mon, Nov 13, 2000 at 05:29:48PM +0530, [EMAIL PROTECTED] wrote : [...] > When i run following code many times. > System becomes useless till all of the instance of this programming are > killed by vmm. [malloc bomb] Check some archives of the linux-kernel list for "overcommit". -- Ueimor -

reliability of linux-vm subsystem

2000-11-13 Thread aprasad
Hi, When i run following code many times. System becomes useless till all of the instance of this programming are killed by vmm. Till that time linux doesn't accept any command though it switches from one VT to another but its useless. The above programme is run as normal user previleges. Theoret