chiark / gitweb /
systemd-coredump: Ignore coredumps larger than COREDUMP_MAX
authorAndrew Cook <ariscop@gmail.com>
Wed, 4 Sep 2013 13:27:40 +0000 (23:27 +1000)
committerHarald Hoyer <harald@redhat.com>
Fri, 6 Sep 2013 08:09:54 +0000 (10:09 +0200)
commitca0ceb6f3e7e8ffda57b18c2dfe72dfb9de08f35
treeb970038061840594036d2cb697ab1fe4abe96fa4
parent489798614cefed16db5f086c3fa9a301f0276fd8
systemd-coredump: Ignore coredumps larger than COREDUMP_MAX

Currently this check happens when the coredump has been collected in
it's entirety and being received by journald. this is not ideal
behaviour when the crashing process is consuming significant percentage
of physical memory such as a large instance of firefox or a java
application.
src/journal/coredump.c