Re: Large memory application exhuasts buffers during write.
From: Robin Holt
Date: Fri Mar 26 2004 - 05:55:16 EST
On Fri, Mar 26, 2004 at 12:47:10PM +0200, Denis Vlasenko wrote:
> On Friday 26 March 2004 03:20, Robin Holt wrote:
> > We have a large memory application which is being killed by the OOM
> > killer.
> > This is a 2.4 based kernel with many of the redhat patches applied.
> > Before the application is started, there is approx 350GB of memory
> > free according to top. When the app starts, it mallocs a 300GB
> > buffer, initializes it, does computations into it, and then starts
> > to write it to a disk file.
> > What we see happen is the first approx 30GBs gets written and then
> > swap starts getting utilized. Once swap has been heavily utilized,
> > the OOM killer kicks in and kills the job.
> How many swap do you have? What do you see in top?
I am not sure how much swap is configured or available, but I
highly doubt that there is 350GB of swap.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/