Core Dump according to wikipedia,

A core dump consists of the recorded state of the working memory of a computer program at a specific time, generally when the program has terminated abnormally.

Find and delete all core dump files

find . -type f -regex ".*/core\.[0-9][0-9][0-9][0-9]$" -exec rm \;

Disable core dump in linux

echo '* soft core 0' >> /etc/security/limits.conf
echo '* hard core 0' >> /etc/security/limits.conf
echo 'fs.suid_dumpable = 0' >> /etc/sysctl.conf
echo 'ulimit -S -c 0 > /dev/null 2>&1' >> /etc/profile

Category Linux | Tags:

Leave a reply