| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Евгений Килимчук | Date: | August 5 2010 6:43pm |
| Subject: | mysql and oom-killer | ||
| View as plain text | |||
Hello! I use CentOS 5.4 with LAMP. On the server runs heavy cgi-programs. MySQL use 75% (100% = 8GB) of memory. When cgi programs use more than 25% of memory and all SWAP file (8GB), kernel run OOM-Kiler wich kill mysqld procces. I use: echo "0" > /proc/sys/vm/swappiness - This allows to reduce using of SWAP. I want to use: echo "-17" > /proc/`pidof mysqld`/oom_adj - This allows save mysqld when run oom-killer. Someone used this option?
| Thread | ||
|---|---|---|
| • mysql and oom-killer | Евгений Килимчук | 5 Aug |
| • Re: mysql and oom-killer | Walter Heck - OlinData.com | 5 Aug |
| • Re: mysql and oom-killer | Евгений Килимчук | 5 Aug |
| • Re: mysql and oom-killer | Евгений Килимчук | 5 Aug |
| • Re: mysql and oom-killer | Johan De Meersman | 5 Aug |
| • Re: mysql and oom-killer | Евгений Килимчук | 5 Aug |
| • Re: mysql and oom-killer | Rob Wultsch | 6 Aug |
| • Re: mysql and oom-killer | Rob Wultsch | 6 Aug |
