Re: OOM and Swappiness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 09/16/2015 09:11 AM, Callum Scott wrote:
It is running a little
tight on memory and so there have been a couple of events where the
OOM_killer has been invoked and killed off MySQL, which you would expect.

One thing that should be noted is that regardless of swappiness, overcommit might be an issue. If a single process is using most of the memory in a system, and attempts to fork(), as it will if it calls system(), then the system may require that there is enough memory for a second instance of that huge process.

This is one of the reasons why swap should be as large or larger than system RAM.

If you have very little swap, you should consider allocating more, or reviewing the overcommit options in addition to the swappiness settings.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux