Shutting down in – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 1.7-1.7

Briefly, this error occurs when Elasticsearch is either manually shut down or encounters a critical issue that forces it to shut down. This could be due to insufficient memory, disk space, or a configuration error. To resolve this, ensure that your system has enough resources (RAM, disk space) to run Elasticsearch. Check your Elasticsearch configuration for any errors. If the shutdown was manual, simply restarting Elasticsearch might solve the issue. If the problem persists, check the Elasticsearch logs for more detailed error messages that can help identify the root cause.

This guide will help you check for common problems that cause the log ” shutting down in [{}] ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: admin, cluster and node.

Log Context

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

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
Override
public void messageReceived(final NodeShutdownRequest request; TransportChannel channel) throws Exception {
if (disabled) {
throw new ElasticsearchIllegalStateException("Shutdown is disabled");
}
logger.info("shutting down in [{}]"; delay);
Thread t = new Thread(new Runnable() {
Override
public void run() {
try {
Thread.sleep(delay.millis());
Override public void messageReceived(final NodeShutdownRequest request; TransportChannel channel) throws Exception { if (disabled) { throw new ElasticsearchIllegalStateException("Shutdown is disabled"); } logger.info("shutting down in [{}]"; delay); Thread t = new Thread(new Runnable() { Override public void run() { try { Thread.sleep(delay.millis());
         
Override
        public void messageReceived(final NodeShutdownRequest request; TransportChannel channel) throws Exception {
            if (disabled) {
                throw new ElasticsearchIllegalStateException("Shutdown is disabled");
            }
            logger.info("shutting down in [{}]"; delay);
            Thread t = new Thread(new Runnable() {
                
Override
                public void run() {
                    try {
                        Thread.sleep(delay.millis());


 

 [ratemypost]

Opster
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.