Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'core-settings in /etc/rc.common' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
core-settings in /etc/rc.common
Authored by: voldenuit on Oct 03, '03 03:14:47PM

The place to look for is in /etc/rc.common, at the end of the file, here's the relevant snip :

# Enable coredumps if requested.
##
if [ "${COREDUMPS:=-NO-}" = "-YES-" ]; then
ulimit -c unlimited
fi

To make sure there is nothing wrong with your defaults you should grep all files involved in startup (etc/rc*, StartUpItems...) for ulimit.
My /cores directory was completely empty and I like it that way :-)



[ Reply to This | # ]
core-settings in /etc/rc.common
Authored by: MattHaffner on Oct 06, '03 12:40:50PM

Wow, I don't know how this escaped my 'grepping' :)

Anyway, just to complete the thought for those that don't like tinkering that much, placing this line in your /etc/hostconfig file will **enable** core dumps:

COREDUMPS=-YES-

Make sure it's either not there (the default) or is set to -NO- if you don't want them.



[ Reply to This | # ]