Bug 549452
| Summary: | ABRT consumes inordinate amounts of memory, CPU | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Matthias Clasen <mclasen> |
| Component: | abrt | Assignee: | Jiri Moskovcak <jmoskovc> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | anton, beland, bill, dfediuck, dkbatson, dmalcolm, dvlasenk, iprikryl, jmoskovc, kklic, mnowak, npajkovs |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-01-29 13:30:59 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Matthias Clasen
2009-12-21 18:21:23 UTC
I experienced the same thing regarding the same yumex crash. I ran top while trying to resend the abrt and found that Python was consuming a steady 90-95% of the CPU and kept consuming memory up to about 74%. This lasted for some 15 minutes or so. I have 1GB RAM and 2GB of SWAP on my system. I noticed once the CPU had been released, if I clicked anywhere in the abrt window, such as to type some info or scroll the window, the CPU would again be tied up for some minutes. An example of a very large backtrace for this bug can be seen in attachment 379287 [details] to bug 548849 - almost 200000 frames. (There are various dupes of that bug; many backtraces there are only partial; perhaps bugzilla refused/timedout the upload) *** Bug 548058 has been marked as a duplicate of this bug. *** Can you run something like: $ ps -A -o pid,comm,args,rss,vsz | sort -n -k4 | tail -20 so that it is visible which processes are especially big? Initial description says it was gdb which ate all the memory, comment #2 says it was python... do we have two bugs here? Note: abrtd uses python only for GUI, so if you see huge python process but abrt GUI was never started, then it shouldn't be abrt. But anyway, ps output is better than speculation... If it is gdb, abrt 1.0.4 will have a (largish) limit of frames in the backtrace. We reproduced near-OOM condition when gdb tries to produce a backtrace of SEGVed application which had infinite recursion. The bug that was triggering this was actually an infinite recursion causing a stack overflow. So I think limiting the frames in the backtrace is the right fix here. The backtrace depth has been limited to 3000 frames in git. (I think that can be lowered more, other devels disagree). Closing, reopen if abrt >= 1.0.5 still does this. |