On Thursday 21 April 2005 22:12, Andreas Philipp wrote:
Anders:
El Jue 14 Abr 2005 22:17, Anders Johansson escribió:
You could try turning off memory overcommitting.
echo "2" > /proc/sys/vm/overcommit_memory
This will force the system to return an out of memory error when a process tries to allocate memory the system doesn't have
Since my last kernel update (2.4.20-131 on 8.2, installed 2005-03-26) I have been experimenting almost daily system hangs during high memory commitment. One week ago I did as you recommended to Bruce and my current system uptime is 7 days.
Thank you very much for your helpful advice, I would never have found out on my own.
No problem, glad to help. And yes, Lisa's suggestion to put it in sysctl.conf is a good idea, when you're sure you want to keep it across reboots Just create /etc/sysctl.conf and put it in there /etc/sysconfig/sysctl can override some settings in /etc/sysctl.conf, but only the ones it already mentions. The scripts in /etc/init.d reads it and for those specific settings it can override, but if you want to add another setting, you need to create sysctl.conf