2010/8/5 Rob Wultsch <wult...@gmail.com>:
> 2010/8/5 Евгений Килимчук <ekilimc...@gmail.com>:
>> When OOM-killer kill mysqld, I had a critical corrupted tables. My database
>> is a very big. I think Apache with cgi-scripts not critical process in this
>> story. And sshd is a real true.
>>
>
> OOM is configurable via the proc filesystem via /proc/<pid>/oom_adj .
> You can set the processes that you do not want to get killed to a
> negative number, if I remember correctly, and that will help to
> prevent them from being killed by OOM.
>
> So let's say mysqld pid is 123456, you could
> echo -17 > /proc/123456/oom_adj
> and then it would be less likely to be selected by OOM to be killed.
>
>
>
> --
> Rob Wultsch
> wult...@gmail.com
>

And I should have stated that this in significant use by the
PostgreSQL community.

-- 
Rob Wultsch
wult...@gmail.com

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=arch...@jab.org

Reply via email to