[CentOS] top and allocation issues

Fri Mar 4 21:22:46 UTC 2011
Brunner, Brian T. <BBrunner at gai-tronics.com>


> It appears that option 2 would be the best for me, so I set: sysctl
> vm.overcommit_memory=2 
> 
> However, it resets to 0 on reboot, and only root can reset it.
> It would be good if it would be set to 2 on reboot.  Is there
> a good way to do this?  I suppose I could put something in
> /etc/init.d/ if there is no better way.

man sysctl.conf (file: /etc/sysctl.conf)

I'm betting
vm.overcommit_memory=2
is the line you want to add to /etc/sysctl.conf.

This is a bet that "sysctl -p" is somewhere in your /etc/rc.d/rc.sysinit


Insert spiffy .sig here


//me
*******************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**