Bug 1359711

Summary: [GSS] Rebalance crashed
Product: [Community] GlusterFS Reporter: Susant Kumar Palai <spalai>
Component: distributeAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: mainlineCC: bugs, nbalacha, olim, rhs-bugs, spalai, storage-qa-internal
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.9.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1352805
: 1362069 1362070 (view as bug list) Environment:
Last Closed: 2017-03-27 18:17:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1352805    
Bug Blocks: 1362069, 1362070    

Comment 1 Vijay Bellur 2016-07-25 10:42:34 UTC
REVIEW: http://review.gluster.org/15000 (dht/rebalance: allocate thread pool dynamically) posted (#1) for review on master by Susant Palai (spalai)

Comment 2 Vijay Bellur 2016-07-26 07:07:31 UTC
REVIEW: http://review.gluster.org/15000 (dht/rebalance: allocate thread pool dynamically) posted (#2) for review on master by Susant Palai (spalai)

Comment 3 Vijay Bellur 2016-07-26 18:43:20 UTC
REVIEW: http://review.gluster.org/15000 (dht/rebalance: allocate thread pool dynamically) posted (#3) for review on master by Susant Palai (spalai)

Comment 4 Vijay Bellur 2016-07-27 07:11:50 UTC
REVIEW: http://review.gluster.org/15000 (dht/rebalance: allocate migrator thread pool dynamically) posted (#4) for review on master by Susant Palai (spalai)

Comment 5 Vijay Bellur 2016-07-27 08:52:50 UTC
REVIEW: http://review.gluster.org/15000 (dht/rebalance: allocate migrator thread pool dynamically) posted (#5) for review on master by Susant Palai (spalai)

Comment 6 Vijay Bellur 2016-07-28 12:46:33 UTC
COMMIT: http://review.gluster.org/15000 committed in master by Raghavendra G (rgowdapp) 
------
commit b8e8bfc7e4d3eaf76bb637221bc6392ec10ca54b
Author: Susant Palai <spalai>
Date:   Thu Jul 21 18:17:21 2016 +0530

    dht/rebalance: allocate migrator thread pool dynamically
    
    Problems: The maximum number of migratior threads created was static set
    to "40". And the number of these threads get created in rebalance depends
    on the number of cores user has. If the number of cores exceeds 40, a
    crash or memory corruption can be seen.
    
    Fix: Make the migratior thread pool dynamic.
    
    Change-Id: Ifbdac8a1a396363dd75e2f6bcb454070cfdbf839
    BUG: 1359711
    Signed-off-by: Susant Palai <spalai>
    Reviewed-on: http://review.gluster.org/15000
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Raghavendra G <rgowdapp>

Comment 7 Shyamsundar 2017-03-27 18:17:28 UTC
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.9.0, please open a new bug report.

glusterfs-3.9.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/gluster-users/2016-November/029281.html
[2] https://www.gluster.org/pipermail/gluster-users/