From 2053b3414f5218b4e028906c13378f398239d47d Mon Sep 17 00:00:00 2001 From: Aditya Manthramurthy Date: Fri, 25 Jan 2019 13:11:17 -0800 Subject: [PATCH] Reduce heal parallelism (#7155) To avoid a large number of concurrent connections between minio servers and to reduce CPU pressure, it is better to limit the number of objects healed in parallel to number_of_CPUs. --- cmd/admin-heal-ops.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/admin-heal-ops.go b/cmd/admin-heal-ops.go index 5389329d9..d09b37724 100644 --- a/cmd/admin-heal-ops.go +++ b/cmd/admin-heal-ops.go @@ -719,7 +719,7 @@ func (h *healSequence) healBucket(bucket string) error { return nil } - entries := runtime.NumCPU() * globalEndpoints.Nodes() + entries := runtime.NumCPU() marker := "" isTruncated := true