I have centos image in virtualbox. When I do
curl [url] | tee -a [file] where
[url] is the url for a large file, the system start to kill all new proccesses and I get
Killed answer in console for any command but
cd. How can I disable OOM daemon?
The OOM Killer is your friend, why would you want to disable it? When the system is running out of memory, the kernel must start killing processes in order to stay operational. So lets be honest, you need the OOM Killer.
Instead, you might consider configuring the OOM Killer with some configuration that suits your needs; yet your current problems may persist.
In the light of the facts, it may be better to implement a more efficient way of doing these tasks you are doing.