Bug 539551 - abrt going crazy when crashing process is respawned
Summary: abrt going crazy when crashing process is respawned
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jiri Moskovcak
QA Contact: Fedora Extras Quality Assurance
URL: http://www.christoph-wickert.de/blog/...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-20 14:51 UTC by Christoph Wickert
Modified: 2015-02-01 22:49 UTC (History)
9 users (show)

Fixed In Version: 1.0.3-1.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-07 00:59:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Christoph Wickert 2009-11-20 14:51:42 UTC
Description of problem:
As you may know I had to withdraw the LXDE spin temporarily. The problem itself was a trivial crash of lxde-settings-daemon, but the settings-daemon gets respawned by lxsession automatically. abrt then goes up to 100% CPU and fills the whole overlay of the live OS, until the system finally crashes with a kerneloops.

Please set a limit to the number of reports, e. g let abrt only run x times in a y minutes when the crash is the same.

Version-Release number of selected component (if applicable):
abrt-0.0.11-2.fc12.x86_64

Comment 1 Denys Vlasenko 2009-11-23 17:18:58 UTC
This would be not so easy. Every coredump is initiated by kernel - kernel starts a helper executable so called abrt "hook" and pipes the dump to it. When a few crashes happened at once or one right after another, kernel runs several copies of them.

If we want to protect against or ameliorate this, some ideas for CCpp hook:
(1) nice ourself?
(2) check total size of dump dir, if it overflows, either abort dump
    or delete oldest/biggest dumps? [abort would be simpler,
    abrtd already does "delete on overflow" thing]
(3) detect parallel dumps in progress and back off (pause/renice further)

Comment 2 Denys Vlasenko 2009-11-26 11:15:59 UTC
I implemented option (2): check total size of dump dir, if it overflows, delete oldest/biggest dump(s) until it fits into configured quota.

Should be in next update, 1.0.1. Let me know if you still observe this problem.

Comment 3 Christopher Beland 2010-01-04 15:23:57 UTC
The update is now generally available.  Christoph, if you'd like to retest and decide whether the solution is working for you, I think you should be able to intentionally induce a crash with "killall -SEGV lxde-settings-daemon".

---

Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 4 Fedora Update System 2010-01-05 21:00:09 UTC
abrt-1.0.3-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/abrt-1.0.3-1.fc12

Comment 5 Fedora Update System 2010-01-07 00:58:49 UTC
abrt-1.0.3-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.