On 19/01/16 11:36, Jonathan Wakely wrote:
On 19/01/16 11:10 +0000, Tom Hughes wrote:
On 19/01/16 10:55, Jonathan Wakely wrote:
Is there a way to tell it to ignore certain core files?
I run parts of the GCC testsuite several times a day, and many of the
tests are expected to call abort() to terminate. I don't want hundreds
of them clogging up my journal, or being stored in ABRT.
If you set RLIMIT_CORE to one byte (yes one, not zero) then the kernel
won't send the core to the configured pipe at all.
But that affects all cores, right?
It looks like the path config Jakub suggested in his reply is what I
want.
Well all cores generated in an environment with that set, yes,
I set it in my shells so I don't get cores when developing, but still
get them when bits of my desktop crash because those were started from
the gnome session which doesn't have it set.
My problem wasn't that I got them, it was when using asan which has a
vast but largely empty address space, which the kernel tried to pipe to
abrtd in it's entirety because it ignores all core limits (except the
special value of one) when dumping to a pipe.
So the actual crashing program would be sat there for several minutes or
more not actually exiting until the core dump was done while one CPU was
spinning like mad in one of the abrt processes.
Tom
--
Tom Hughes (tom@xxxxxxxxxx)
http://compton.nu/
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx