2010/8/5 Rob Wultsch <[email protected]>:
> 2010/8/5 Евгений Килимчук <[email protected]>:
>> 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
> [email protected]
>

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

-- 
Rob Wultsch
[email protected]

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[email protected]

Reply via email to