Re: OOM killer invoked on 2.6.24.4

From: Bart Van Assche
Date: Sat Jun 14 2008 - 11:31:45 EST


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; }

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