Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
RHEL4 virtual machines running Oracle/Java randomly kill processes by OOM killer (1002704)
Details
- OOM killer kills applications even though ESX is not under memory load.
- The command top shows a lot of memory is being cached and swap is hardly being used.
Solution
When the size of the data to be copied exceeds the size of physical memory, oom-killer starts randomly killing processes.
This can be fixed by running:
sysctl -w vm.lower_zone_protection 100
When lower_zone_protection is set to 100, it increases the free page threshold by 100, thereby starting page reclamation earlier and preventing NFS (Network File System) from getting far behind the kernel's memory demands. This causes page reclamation to happen sooner, thus providing more 'protection' for the zones.
RedHat discusses this issue at https://bugzilla.redhat.com/show_bug.cgi?id=193542.
Note: The preceding link was correct as of August 4, 2010. If you find the link is broken, provide feedback and a VMware employee will update the link.
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
KB:
- Updated:
- Categories:
- Languages:
- Product Family:
- Product(s):
- Product Version(s):

