Bug 875006

Summary: excessive cpu usage if a file with a left parenthesis exists in /etc/sysconfig/network-scripts
Product: [Fedora] Fedora Reporter: Alon Levy <alevy>
Component: libvirtAssignee: Laine Stump <laine>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: berrange, clalancette, crobinso, dallan, dblechte, itamar, jforbes, jyang, laine, libvirt-maint, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-16 15:00:31 EST Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Alon Levy 2012-11-09 04:58:00 EST
Description of problem:
This is actually a problem of netcf which libvirt uses to count the number of interfaces, but it results in a libvirt problem so I think it should be solved here as well, by not using too much cpu in the case netcf fails repeatedly.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. sudo touch /etc/sysconfig/network-scripts/ifcfg-\(
Actual results:
top shows libvirt using 40% cpu

Expected results:
no significant change in cpu usage

Additional info:
The fault path is actually in augeas usage by netcf, and most of the cpu is in regexp code in glibc per perf record.

I couldn't grok the augeas code so I just started removing the ifcfg files until finding the faulty one.
Comment 1 Cole Robinson 2013-12-16 15:00:31 EST
This doesn't seem to be an issue with F20 at least, and given that F18 is EOL real soon, just closing