Re: tuning/tweaking VM settings for low memory (preventing OOM)

2007-01-15 Thread Kumar Gala
On Jan 12, 2007, at 10:54 PM, Nick Piggin wrote: Kumar Gala wrote: I'm working on an embedded PPC setup with 64M of memory and no swap. I'm trying to figure out how best to tune the VM for an OOM situation I'm running into. I'm running a 2.6.16.35 kernel and have a bittorrent app that

Re: tuning/tweaking VM settings for low memory (preventing OOM)

2007-01-13 Thread Toon van der Pas
On Sat, Jan 13, 2007 at 03:30:27PM +0100, Willy Tarreau wrote: > On Sat, Jan 13, 2007 at 02:16:01PM +0100, Toon van der Pas wrote: > > On Sat, Jan 13, 2007 at 08:22:18AM +0100, Willy Tarreau wrote: > > > > > > > > Which makes me think that we aren't writing back fast enough. If I > > > > mount

Re: tuning/tweaking VM settings for low memory (preventing OOM)

2007-01-13 Thread Willy Tarreau
Hi Toon, On Sat, Jan 13, 2007 at 02:16:01PM +0100, Toon van der Pas wrote: > On Sat, Jan 13, 2007 at 08:22:18AM +0100, Willy Tarreau wrote: > > > > > > Which makes me think that we aren't writing back fast enough. If I > > > mount the drive "sync" the issue clearly goes away. > > > > > > It a

Re: tuning/tweaking VM settings for low memory (preventing OOM)

2007-01-13 Thread Toon van der Pas
On Sat, Jan 13, 2007 at 08:22:18AM +0100, Willy Tarreau wrote: > > > > Which makes me think that we aren't writing back fast enough. If I > > mount the drive "sync" the issue clearly goes away. > > > > It appears from an strace we are doing ftruncate64(5, 178257920) when > > we OOM. > > > >

Re: tuning/tweaking VM settings for low memory (preventing OOM)

2007-01-12 Thread Willy Tarreau
On Fri, Jan 12, 2007 at 03:58:08PM -0600, Kumar Gala wrote: > I'm working on an embedded PPC setup with 64M of memory and no swap. > I'm trying to figure out how best to tune the VM for an OOM situation > I'm running into. > > I'm running a 2.6.16.35 kernel and have a bittorrent app that appe

Re: tuning/tweaking VM settings for low memory (preventing OOM)

2007-01-12 Thread Nick Piggin
Kumar Gala wrote: I'm working on an embedded PPC setup with 64M of memory and no swap. I'm trying to figure out how best to tune the VM for an OOM situation I'm running into. I'm running a 2.6.16.35 kernel and have a bittorrent app that appears to be initializing a large file for it to do

tuning/tweaking VM settings for low memory (preventing OOM)

2007-01-12 Thread Kumar Gala
I'm working on an embedded PPC setup with 64M of memory and no swap. I'm trying to figure out how best to tune the VM for an OOM situation I'm running into. I'm running a 2.6.16.35 kernel and have a bittorrent app that appears to be initializing a large file for it to download into. What