Calculated potential scaled down capacity – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7.13-7.15

Briefly, this error occurs when Elasticsearch detects that the cluster’s capacity could be reduced without impacting performance. This is typically due to over-provisioning of resources. To resolve this, you can consider scaling down your cluster by reducing the number of nodes or decreasing the hardware specifications of your nodes. However, before making any changes, it’s crucial to thoroughly analyze your cluster’s usage patterns and ensure that the reduced capacity will still meet your needs, especially during peak usage times.

This guide will help you check for common problems that cause the log ” {} Calculated potential scaled down capacity [{}] ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.

Log Context

Log “{} Calculated potential scaled down capacity [{}] ” classname is MlAutoscalingDeciderService.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

                            + " To allow a scale down [%s] must be increased.";
                        totalAssignedJobs;
                        MAX_OPEN_JOBS_PER_NODE.getKey();
                        maxOpenJobs;
                        MAX_OPEN_JOBS_PER_NODE.getKey());
                    logger.info(() -> new ParameterizedMessage("{} Calculated potential scaled down capacity [{}] ";
                        msg;
                        scaleDownDecisionResult.requiredCapacity()));
                    return new AutoscalingDeciderResult(context.currentCapacity(); reasonBuilder.setSimpleReason(msg).build());
                }
            }

 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?