[Bugs] [Bug 1315601] Geo-replication CPU usage is 100%

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 8 13:53:52 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1315601



--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13637 committed in master by Jeff Darcy
(jdarcy at redhat.com) 
------
commit 4318354aac650c18b4047142e43f3d4cff4310a7
Author: Aravinda VK <avishwan at redhat.com>
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.

    Change-Id: Ic36aabd6de35b259467d0bab7952468432867a94
    BUG: 1315601
    Signed-off-by: Aravinda VK <avishwan at redhat.com>
    Reviewed-on: http://review.gluster.org/13637
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Kotresh HR <khiremat at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=L02NFGYkF6&a=cc_unsubscribe


More information about the Bugs mailing list