Skip to main content

how to enable coredumps on debian 3.0 (woody)

..raw:: html

<html><body><p>Have you tried to change the default core size of 0 in Debian? The current default setting disables the writing of core files (coredumps) all together. Which is a pain in the you-know-where, when you have an application which crashes now and then and you don't know how to reproduce it.

So here's the deal:

</p><ol>

<li>Uncomment the line in /etc/security/limits.conf

<code>

  • hard core 10000

</code>

You might want to change the "hard" into "soft", so anyone can change the

setting again to something reasonable.

</li>

<li>Uncomment the line in /etc/pam.d/login which says something like this

<code>

session required pam_limits.so

</code>

</li>

</ol></body></html>