Bug 1095915

Summary: Patch to fix memory leak in classify code of irqbalance
Product: [Fedora] Fedora Reporter: Dr. Tilmann Bubeck <tilmann>
Component: irqbalanceAssignee: Petr Holasek <pholasek>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: dhoward, pholasek
Target Milestone: ---   
Target Release: ---   
Hardware: arm   
OS: Linux   
Whiteboard:
Fixed In Version: irqbalance-1.0.7-5.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1095941 (view as bug list) Environment:
Last Closed: 2014-05-08 21:35:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1095941    
Attachments:
Description Flags
Patch to fix the problem none

Description Dr. Tilmann Bubeck 2014-05-08 20:04:09 UTC
Created attachment 893775 [details]
Patch to fix the problem

Description of problem:
irqbalance has a memory leak on machines without a PCI bus (e.g. many ARM boards). There is a fix upstreams. See https://github.com/Irqbalance/irqbalance/commit/699deffdd881bf4759f3fcc4d6ee3e018e4c266e

The result is dramatic on ARM: irqbalance eats up memory until the lowmemorykiller of android kills some processes. lowmemorykiller is part of ARM kernel of fedora. After killing irqbalance it kills "named" which results in a non functional system.

Please find attached a patch to update fedora's irqbalance package to apply the upstream patch.

Version-Release number of selected component (if applicable):
irqbalance-1.0.7-1.fc20.x86_64

How reproducible:
always if you have no PCI bus.

Steps to Reproduce:
1. Boot on arm
2. turn on irqbalance
3. wait for low memory killer to kill around.

Actual results:
named and other important system daemons get killed

Expected results:
System running stable.

Additional info:

Comment 1 Petr Holasek 2014-05-08 21:35:34 UTC
Thanks for your report. This serious issue was fixed in build irqbalance-1.0.7-5.fc21 right now.