Knowledgebase

Powered by WHMCompleteSolution

Language:

Please Login or Register

 

Knowledgebase Article
Subject: How to turn off logging of core files?
Run this on a console/shell:



echo "/dev/null" > /proc/sys/kernel/core_pattern;



Add the above line to /etc/rc.local to permanently change across
reboots. The line goes right before the "exit 0" (if there's one).
Back