summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2012-12-16 23:29:56 +0000
committerpjd <pjd@FreeBSD.org>2012-12-16 23:29:56 +0000
commitcbf6823f9afcdfa0776c6a47cce2962d97a087ef (patch)
tree8441e04f6c3680c0998674cf6956168a22200bad /etc
parent81a7aa503ccef5a267f9644672eb54b5256125de (diff)
downloadFreeBSD-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
Diffstat (limited to 'etc')
-rw-r--r--etc/defaults/rc.conf4
1 files changed, 3 insertions, 1 deletions
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).
OpenPOWER on IntegriCloud