diff options
author | pjd <pjd@FreeBSD.org> | 2012-12-16 23:29:56 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2012-12-16 23:29:56 +0000 |
commit | cbf6823f9afcdfa0776c6a47cce2962d97a087ef (patch) | |
tree | 8441e04f6c3680c0998674cf6956168a22200bad | |
parent | 81a7aa503ccef5a267f9644672eb54b5256125de (diff) | |
download | FreeBSD-src-cbf6823f9afcdfa0776c6a47cce2962d97a087ef.zip FreeBSD-src-cbf6823f9afcdfa0776c6a47cce2962d97a087ef.tar.gz |
Use new savecore(8) option and limit number of kernel dumps that will
be kept around to the 10 most recent ones.
Add UPDATING entry with info how to return to the previous behaviour (no
limits).
Obtained from: WHEEL Systems
-rw-r--r-- | UPDATING | 7 | ||||
-rw-r--r-- | etc/defaults/rc.conf | 4 |
2 files changed, 10 insertions, 1 deletions
@@ -26,6 +26,13 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 10.x IS SLOW: disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20121217: + By default, only the 10 most recent kernel dumps will be saved. To + restore the previous behaviour (no limit on the number of kernel dumps + stored in the dump directory) add the following line to /etc/rc.conf: + + savecore_flags="" + 20121201: With the addition of auditdistd(8), a new auditdistd user is now depended on during installworld. "mergemaster -p" can be used to add diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index cc3e623..3760fc0 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -605,7 +605,9 @@ chkprintcap_enable="NO" # Run chkprintcap(8) before running lpd. chkprintcap_flags="-d" # Create missing directories by default. dumpdev="AUTO" # Device to crashdump to (device name, AUTO, or NO). dumpdir="/var/crash" # Directory where crash dumps are to be stored -savecore_flags="" # Used if dumpdev is enabled above, and present. +savecore_flags="-m 10" # Used if dumpdev is enabled above, and present. + # By default, only the 10 most recent kernel dumps + # are saved. crashinfo_enable="YES" # Automatically generate crash dump summary. crashinfo_program="/usr/sbin/crashinfo" # Script to generate crash dump summary. quota_enable="NO" # turn on quotas on startup (or NO). |