Red Hat Bugzilla – Bug 1315582
Geo-replication CPU usage is 100%
Last modified: 2016-04-19 03:21:07 EDT
Description of problem:
Geo-replication CPU usage is 100% without any I/O.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Start Geo-replication and watch CPU usage.
CPU usage is 100%
CPU usage should not be 100%
REVIEW: http://review.gluster.org/13645 (geo-rep: Fix CPU utilization 100% with Popen) posted (#1) for review on release-3.7 by Aravinda VK (firstname.lastname@example.org)
COMMIT: http://review.gluster.org/13645 committed in release-3.7 by Vijay Bellur (email@example.com)
Author: Aravinda VK <firstname.lastname@example.org>
Date: Tue Mar 8 13:41:58 2016 +0530
geo-rep: Fix CPU utilization 100% with Popen
Errorstore is maintained by Geo-rep to collect errors from
the child processes opened using Popen. If Popen.communicate
is used then it closes stderr. When stderr is not available
errorstore.tailer() will enter into infinite loop without gap.
With this patch, sleep time added when stderr of Child process
is already closed.
Signed-off-by: Aravinda VK <email@example.com>
Smoke: Gluster Build System <firstname.lastname@example.org>
CentOS-regression: Gluster Build System <email@example.com>
NetBSD-regression: NetBSD Build System <firstname.lastname@example.org>
Reviewed-by: Vijay Bellur <email@example.com>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.9, please open a new bug report.
glusterfs-3.7.9 has been announced on the Gluster mailinglists , packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist  and the update infrastructure for your distribution.