Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: [gentoo-user] mysqld invoked oom-killer
Date: Wed, 20 Jul 2011 20:31:19
Message-Id: CAN0CFw1mBx_2iJfZcX1TWLfTs1qT1TfPo_zuJ9AJc_jy1Tc=ww@mail.gmail.com
1 I ran into an out of memory problem. The first mention of it in the
2 kernel log is "mysqld invoked oom-killer". I haven't run into this
3 before. I do have a swap partition but I don't activate it based on
4 something I read previously that I later found out was wrong so I
5 suppose I should activate it. Is fstab the way to do that? I have a
6 commented line in there for swap.
7
8 Can anyone tell how much swap this is:
9
10 /dev/sda2 80325 1140614 530145 82 Linux swap / Solaris
11
12 If it's something like 512MB, that may not have prevented me from
13 running out of memory since I have 4GB RAM. Is there any way to find
14 out if there was a memory leak or other problem that should be
15 investigated?
16
17 - Grant

Replies

Subject Author
Re: [gentoo-user] mysqld invoked oom-killer Paul Hartman <paul.hartman+gentoo@×××××.com>
Re: [gentoo-user] mysqld invoked oom-killer Alan McKinnon <alan.mckinnon@×××××.com>