Out of Memory - continued
Ray Van Dolson
rvandolson at esri.com
Wed Jan 23 16:15:36 UTC 2008
On Wed, Jan 23, 2008 at 12:50:24PM +0000, Andrew.Bridgeman at corusgroup.com wrote:
> I have also just noticed that the following text comes up when i do a free
> -m. Does this mean i have no dedicated swap space on the hard disk with the
> OS on it. If this is the case can i add some dynamically with out messing
> up the operating system, as i have 2 gig free on the OS disk currently?
>
> total used free shared buffers cached
> Mem: 2006 94 1912 0 7 43
> -/+ buffers/cache: 43 1963
> Swap: 0 0 0
>
> Any advice would be great.
>
Yeah, looks like you have no swap. :-) Or at least nothing enabled.
Also, here are settings we use for 32-bit VMware servers which although
had plenty of RAM (24GB), were exhibiting OOM errors:
vm.min_free_kbytes = 16384
vm.overcommit_memory = 2
vm.overcommit_ratio = 75
vm.lower_zone_protection = 80
vm.swappiness = 60
Using these settings, our OOM problems have gone away.
Ray
More information about the redhat-list
mailing list