当前位置: 动力学知识库 > 问答 > 编程问答 >

linux - 'Killed' after curl | tee

问题描述:

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 kill and 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.

分享给朋友:
您可能感兴趣的文章:
随机阅读: