Re: Out of Memory: Killed process 16498 (java).

From: Andrew Morton
Date: Thu Jan 19 2006 - 03:55:11 EST


"Andy Chittenden" <AChittenden@xxxxxxxxxxx> wrote:
>
> Why does running the following command cause processes to be killed:
>
> dd if=/dev/zero of=/u/u1/andyc/tmpfile bs=1M count=8k
>
> And I noticed one of my windows disappeared. Further investigation
> showed that was my terminator window (java based app: see
> http://software.jessies.org/terminator/). I found this in my syslog:
>
> Jan 17 11:12:58 boco kernel: Out of Memory: Killed process 16498 (java).
>
> My hardware: amd64 based machine (ASUS A8V Deluxe motherboard) with 4Gb
> of memory.
> My kernel: debian package linux-image-2.6.15-1-amd64-k8 package
> installed. IE its running 2.6.15 compiled for amd64.
>
> This is repeatable. The above dd command also causes the machine to
> become very unresponsive (eg windows don't focus).

What type of filesytem is being written to?

Has someone tuned /proc/sys/vm/swappiness, or something else under
/proc/sys/vm?

It'd be useful to see the dmesg output from that oom event.
-
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/