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):
libvirt-daemon-0.10.2.1-2.fc18.x86_64
netcf-libs-0.2.2-1.fc18.x86_64
augeas-0.10.0-5.fc18.x86_64
How reproducible:
100%
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.