Re: KPATCH] Reserve VM for root (was: Re: Looking for better VM)

2000-11-18 Thread Pavel Machek
Hi! > >>main() { while(1) if (fork()) malloc(1); } > >>With the patch below I could ssh to the host and killall the offending > >>processes. To enable reserving VM space for root do > > what about main() { while(1) system("ftp localhost &"); } > > This. or so,ething similar should all

RE: KPATCH] Reserve VM for root (was: Re: Looking for better VM)

2000-11-16 Thread Szabolcs Szakacsits
On Thu, 16 Nov 2000, Rik van Riel wrote: > On Thu, 16 Nov 2000, Szabolcs Szakacsits wrote: > [snip exploit that really shouldn't take Linux down] I don't really consider it as an exploit. It's a kind of workload that's optimized for fast testing simulating many busy user daemons (e.g. dyna

Re: KPATCH] Reserve VM for root (was: Re: Looking for better VM)

2000-11-16 Thread Rik van Riel
On Thu, 16 Nov 2000, Christoph Hellwig wrote: > On Thu, Nov 16, 2000 at 01:51:01PM -0200, Rik van Riel wrote: > > > If you think fork() kills the box then ulimit the maximum number > > > of user processes (ulimit -u). This is a different issue and a > > > bad design in the scheduler (see e.g. Tru6

Re: KPATCH] Reserve VM for root (was: Re: Looking for better VM)

2000-11-16 Thread Christoph Hellwig
On Thu, Nov 16, 2000 at 01:51:01PM -0200, Rik van Riel wrote: > > If you think fork() kills the box then ulimit the maximum number > > of user processes (ulimit -u). This is a different issue and a > > bad design in the scheduler (see e.g. Tru64 for a better one). > > My fair scheduler catches th

RE: KPATCH] Reserve VM for root (was: Re: Looking for better VM)

2000-11-16 Thread Rik van Riel
On Thu, 16 Nov 2000, Szabolcs Szakacsits wrote: [snip exploit that really shouldn't take Linux down] > This or something similar didn't kill the box [I've tried all local > DoS from Packetstorm that I could find]. Please send a working > example. Of course probably it's possible to trigg

RE: KPATCH] Reserve VM for root (was: Re: Looking for better VM)

2000-11-16 Thread Szabolcs Szakacsits
On Wed, 1 Jan 1997 [EMAIL PROTECTED] wrote: >>main() { while(1) if (fork()) malloc(1); } >>With the patch below I could ssh to the host and killall the offending >>processes. To enable reserving VM space for root do > what about main() { while(1) system("ftp localhost &"); } > This.

RE: KPATCH] Reserve VM for root (was: Re: Looking for better VM)

2000-11-15 Thread pavel-velo
Hi! >I've also never said OOM killer should be disabled. In theory the >non-overcommitting systems deadlock, Linux survives. Ironically >usually it's just the opposite in practice. Any user can >deadlock/crash Linux [default install, no quotas] but not an >non-overcommitting system