Re: OOM killer invoked on 2.6.24.4

From: Marcelo Tosatti
Date: Mon Jun 16 2008 - 15:56:10 EST


On Sat, Jun 14, 2008 at 05:31:18PM +0200, Bart Van Assche wrote:
> On Sat, Jun 14, 2008 at 12:13 PM, Marco Barbero <marco.barbero@xxxxxxxxx> wrote:
> > samba/slapd/heartbeat/drbd/mon
> ...
> > Jun 14 01:00:17 pippo kernel: Out of memory: kill process 6873 (slapd)
> > score 5003 or a child
> > Jun 14 01:00:17 pippo kernel: Killed process 6873 (slapd)
> >
> > Anyone can help me in understanding what went wrong? And if I need to
> > upgrade to last kernel version?
>
> One or more processes on your system used too much memory. Dumping the
> output of the following command periodically (e.g. every 10 minutes)
> to a file will tell you which process is using too much memory:
>
> { ps aux | head -n 1; ps aux | sort -n +4 | tail -n 10; }

There were lots of swap free:

Jun 14 01:00:17 pippo kernel: Free swap = 3903752kB
Jun 14 01:00:17 pippo kernel: Total swap = 3903752kB
Jun 14 01:00:17 pippo kernel: Free swap: 3903752kB

Something is wrong.

--
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/