conf/63648: [PATCH] make the startup savecore(8) to compress
saved cores by default
Ruslan Ermilov
ru at FreeBSD.org
Wed Mar 3 00:30:20 PST 2004
The following reply was made to PR conf/63648; it has been noted by GNATS.
From: Ruslan Ermilov <ru at FreeBSD.org>
To: Xin LI <delphij at frontfree.net>
Cc: bug-followup at FreeBSD.org
Subject: Re: conf/63648: [PATCH] make the startup savecore(8) to compress saved cores by default
Date: Wed, 3 Mar 2004 10:24:29 +0200
On Wed, Mar 03, 2004 at 08:42:44AM +0800, Xin LI wrote:
> Hello, Ruslan
>
> On Tue, Mar 02, 2004 at 08:12:52PM +0200, Ruslan Ermilov wrote:
> [...]
> > [...]
> > > -savecore_flags="" # Used if dumpdev is enabled above, and present.
> > > +savecore_flags="-z" # Used if dumpdev is enabled above, and present.
> >
> > I don't see much point making it the default, as it violates POLA.
> > Many users expect ``gdb -k'' to just work, without needing to
> > uncompress core first.
> [...]
>
> It seems reasonable to me about the POLA violation, thank you
> for pointing this out.
>
> Frankly, one of my friends is running a box with 4GB of RAM and
> having many 4GB'sized coredumps on his /var/crash is really not
> an interesting thing...
>
> Another possible approach is to have older coredumps compressed
> after the system is started up, what do you think about this idea?
>
I think those that need it just need to set -z in savecore_flags.
After all, it's there just to be able to do that. ;)
Cheers,
--
Ruslan Ermilov
FreeBSD committer
ru at FreeBSD.org
More information about the freebsd-bugs
mailing list