Re: Linux machines dieing in swap storms

2007-10-26 Thread Lenar Lõhmus
Hi, It seems very similar to my case, where it is very easy to completely trash the computer in 30 seconds. Conf: core2 cpu, 2gb memory, 2gb swap, 64-bit os. Software: latest stable xorg, firefox2, latest gnash (all from gutsy) Go to site http://www.epl.ee/ and almost immeditately you loose con

Re: Linux machines dieing in swap storms

2007-10-25 Thread Rik van Riel
On Fri, 26 Oct 2007 05:56:49 +0200 Bodo Eggert <[EMAIL PROTECTED]> wrote: > Rik van Riel <[EMAIL PROTECTED]> wrote: > > On Thu, 25 Oct 2007 16:20:41 +0100 > > Richard Purdie <[EMAIL PROTECTED]> wrote: > > >> Advice on solving this welcome preferably in mainline but I'll > >> happily hack my kerne

Re: Linux machines dieing in swap storms

2007-10-25 Thread Bodo Eggert
Rik van Riel <[EMAIL PROTECTED]> wrote: > On Thu, 25 Oct 2007 16:20:41 +0100 > Richard Purdie <[EMAIL PROTECTED]> wrote: >> Advice on solving this welcome preferably in mainline but I'll happily >> hack my kernels with a workaround if need be. > > I can't see any easy hacks or workarounds to fix

Re: Linux machines dieing in swap storms

2007-10-25 Thread David Newall
Richard Purdie wrote: I've got a problem I keep running into. My computers have buggy software which can sometimes run out of control. Ulimit them. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: Linux machines dieing in swap storms

2007-10-25 Thread Simon Arlott
On 25/10/07 16:20, Richard Purdie wrote: > This isn't a new problem. My mail server used to be running an ancient > 2.6.12 kernel and I upgraded it to 2.6.22.X in an effort to solve this > problem which no change. My desktop shows exactly the same kind of OOM > swap storm behaviour (2.6.20 based).

Re: Linux machines dieing in swap storms

2007-10-25 Thread Rik van Riel
On Thu, 25 Oct 2007 16:20:41 +0100 Richard Purdie <[EMAIL PROTECTED]> wrote: > Advice on solving this welcome preferably in mainline but I'll happily > hack my kernels with a workaround if need be. I can't see any easy hacks or workarounds to fix the issue in the current MM, except maybe activate

Re: Linux machines dieing in swap storms

2007-10-25 Thread Richard Purdie
On Thu, 2007-10-25 at 17:13 +0100, Alan Cox wrote: > > I'm seriously tempted to add a "kill the process using the most memory" > > key combination into SysRq which might let me save the desktop but won't > > help with my remote server. I could also just disable swap I guess. > > For specific appli

Re: Linux machines dieing in swap storms

2007-10-25 Thread Alan Cox
> I'm seriously tempted to add a "kill the process using the most memory" > key combination into SysRq which might let me save the desktop but won't > help with my remote server. I could also just disable swap I guess. For specific applications you can set resource limits, you can also set OOM pri

Linux machines dieing in swap storms

2007-10-25 Thread Richard Purdie
I've got a problem I keep running into. My computers have buggy software which can sometimes run out of control. Two specific examples: Evolution: Sometimes its memory usage decides to suddenly grow out of control. It usually idles at around 300MB, you can watch it in top, doubling, trebling and e