PDA

View Full Version : [Solved] KDE core dump files placement


smooky
February 10th, 2010, 12:58
Where can I specify a location for KDE (and application also) where core dump files (*.core) need put?
For instance, I have for root partition ("/") so not large size... But when KDE had been crashed (or some applications) core dump files puts to the root partition and there is not enough disk size for them... and then crashed all!x(

Thanks!

Keep your feet on the ground

VoViK
February 10th, 2010, 13:07
Hi,

sysctl -w kern.corefile="/var/tmp/%U.%N.core"

DutchDaemon
February 10th, 2010, 13:30
See also core.

If you're not planning on actually looking at or analysing the core files, just disable them, or drop them in the bitbucket.

sysctl kern.coredump=0
sysctl kern.corefile=/dev/null

smooky
February 10th, 2010, 14:20
Aha! Thanks so much guys! Yep, it works!