July 11, 2010

Linux Kernel Out of Memory Management

-ENOMEM Error - OOM state When the kernel needs to allocate memory to a process, its first action is to check whether or not that requested memory is available.. To achieve is, the kernel makes sure that the requested memory is globally available on the system excluding 3% reserved for root process and that the committed amount of RAM does not exceed the allowed threshold. The threshold is determined using this formula ... Read more