Persistent cache index loaded – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7.11-8.9

Briefly, this error occurs when Elasticsearch loads a persistent cache index. It’s not an error but an informational message indicating that the persistent cache, which is used to store frequently accessed data, has been successfully loaded. This helps in improving the search performance. If you see this message frequently and it’s causing concern, you can adjust the logging level to avoid such informational messages. Alternatively, if you’re facing performance issues, consider optimizing your cache settings or upgrading your hardware resources.

This guide will help you check for common problems that cause the log ” persistent cache index loaded ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, index, persistent, cache.

Log Context

Log “persistent cache index loaded” classname is PersistentCache.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

                    }
                }
                for (CacheIndexWriter writer : writers) {
                    writer.commit();
                }
                logger.info("persistent cache index loaded");
                documents.clear();
            } catch (IOException e) {
                try {
                    close();
                } catch (Exception e2) {

 

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?