Bug 434146
| Summary: | xend, xenstored are consuming too much CPU | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | monbernard <michel.monbernard> |
| Component: | xen | Assignee: | Xen Maintainance List <xen-maint> |
| Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 5.1 | ||
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-07-11 14:00:18 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 of problem: xend, xenstored are consuming too much CPU Version-Release number of selected component (if applicable): RHEL5.1 xen-libs-3.0.3-41.el5 kernel-xen-2.6.18-53.el5 kernel-xen-devel-2.6.18-53.el5 xen-3.0.3-41.el5 How reproducible: just loop on "xm list" command leads xend and xenstored to use a lot of CPU time Steps to Reproduce: 1. execute the following command: while true; do xm list; usleep 5000;done Actual results: top command displays xend and xenstored consuming more than 50% of CPU time. Expected results: Additional info: strace()'ing the xenstored process gives: # strace -p 2647 -e trace=open,rename,unlink Process 2647 attached - interrupt to quit open("/var/lib/xenstored/tdb.0x6000000000027040", O_WRONLY|O_CREAT|O_TRUNC, 0640) = 1 open("/var/lib/xenstored/tdb.0x6000000000027040", O_RDWR) = 18 rename("/var/lib/xenstored/tdb.0x6000000000027040", "/var/lib/xenstored/tdb") = 0 unlink("/var/lib/xenstored/tdb.0x6000000000027040") = -1 ENOENT (No such file or directory) ... repeated 16 times per listed domain!