Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Sep 2010 08:53:52 +1000
From:      Peter Jeremy <peterjeremy@acm.org>
To:        freebsd-arch@freebsd.org
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r212964 - head/sys/kern
Message-ID:  <20100924225352.GD49476@server.vk2pj.dyndns.org>
In-Reply-To: <alpine.LNX.2.00.1009231841500.23791@ury.york.ac.uk>
References:  <201009211507.o8LF7iVv097676@svn.freebsd.org> <4C9A1602.4020204@freebsd.org> <1285169017.64197.29.camel@buffy.york.ac.uk> <201009221558.27393.jhb@freebsd.org> <4C9A6EE6.5050301@freebsd.org> <20100922222441.00002f27@unknown> <1285253887.95760.33.camel@bauer.cse.buffalo.edu> <alpine.LNX.2.00.1009231841500.23791@ury.york.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--8w3uRX/HFJGApMzv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

[Pruning CC list and re-adding freebsd-arch on the (forlorn) hope that
this thread will move to where it belongs]

On 2010-Sep-23 07:31:13 -0700, Matthew Jacob <mj@feral.com> wrote:
>It turns out that the big issue here was more the savecore time coming=20
>back up rather than the time of dumping.

In my experience, the problem isn't so much the savecore time as the
time to run /usr/bin/crashinfo.  Whilst savecore needs to run early
(before anything tramples on the crashdump in swap), the latter could
run at any time.  It would seem reasonable to either run crashinfo in
the background or as a batchjob triggered by /etc/rc.d/savecore.

On 2010-Sep-23 18:59:53 +0100, Gavin Atkinson <gavin@FreeBSD.org> wrote:
>I appreciate the issue about filling partitions is a valid one.  Would a=
=20
>possible compromise be that on release media, crashinfo(8) or similar will=
=20
>default to only keeping the most recent coredump or similar?  Given /var=
=20
>now defaults to 4GB, Defaulting to keeping a single core is probably=20
>acceptable.

savecore already has support for a 'minfree' file to prevent
crashdumps filling the crashdir.  Maybe the default install should
include a minfree set to (say) 512MB.

--=20
Peter Jeremy

--8w3uRX/HFJGApMzv
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (FreeBSD)

iEYEARECAAYFAkydLAAACgkQ/opHv/APuIeBZwCgrPXGmE7tyoHtpXnxO14kZa9q
ezAAoIqq9p9cKpm2pD4gHQbBqSEWcATJ
=tjph
-----END PGP SIGNATURE-----

--8w3uRX/HFJGApMzv--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100924225352.GD49476>