Re: top and allocation issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Mar 04, 2011 at 12:52:51AM +0000, Michael D. Berger wrote:
> 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.

Just add it to /etc/sysctl.conf


-- 

rgds
Stephen
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux