Oren Held wrote:

B. I can't see why disabling the swap would help to AVOID oomkiller? Swap should ENLARGE the available memory space; disabling swap might cause triggering oomkiller more frequently. Maybe I misunderstood what you meant.
The memory I suspect the system is running out of is the memory allocated for the Kernel's use. It is labeled "Low memory" under /proc/meminfo. Here is the strange part - the more memory the system has, the more memory the kernel needs in order to keep track of it all. On the other hand, the amount of memory the kernel actually has does not change when you increase the amount of memory.

Disabling the swap was my attempt to decrease the amount of overall memory the system has, and thus decrease the memory management memory requirement.

As for A, when it is not application memory that the system is out of, but kernel memory, oom-killer is, for all intent and purposes, killing processes at random.
 - Oren
Shachar

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to