IndicesStatsAction timed out for ClusterInfoUpdateJob reason – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 2.3-2.3

Briefly, this error occurs when Elasticsearch’s IndicesStatsAction, a process that collects index statistics, times out during a ClusterInfoUpdateJob. This could be due to heavy load, insufficient resources, or network issues. To resolve this, you can increase the timeout settings, scale up your resources (like CPU, RAM, or storage), optimize your queries to reduce load, or check your network for any connectivity issues. Also, ensure your cluster health is green and consider upgrading Elasticsearch if you’re using an older version.

This guide will help you check for common problems that cause the log ” IndicesStatsAction timed out for ClusterInfoUpdateJob (reason [{}]) ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: cluster and indices.

Log Context

Log “IndicesStatsAction timed out for ClusterInfoUpdateJob (reason [{}])” classname is InternalClusterInfoService.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

             }

            
Override
            public void onFailure(Throwable e) {
                if (e instanceof ReceiveTimeoutTransportException) {
                    logger.error("IndicesStatsAction timed out for ClusterInfoUpdateJob (reason [{}])"; e.getMessage());
                } else {
                    if (e instanceof ClusterBlockException) {
                        if (logger.isTraceEnabled()) {
                            logger.trace("Failed to execute IndicesStatsAction for ClusterInfoUpdateJob"; e);
                        }



 

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?