Before you dig into reading this guide, have you tried asking OpsGPT what this log means? You’ll receive a customized analysis of your log.
Try OpsGPT now for step-by-step guidance and tailored insights into your OpenSearch operation.
Briefly, this error occurs when OpenSearch creates a new thread pool. It’s not necessarily an error, but more of an informational message indicating that a new thread pool has been created. If you’re seeing performance issues, it could be due to excessive thread pool creation. To resolve this, you can monitor your thread pools to ensure they’re not being overused, adjust the thread pool settings to better suit your workload, or optimize your queries and indexing operations to reduce the need for new thread pools.
For a complete solution to your to your search operation, try for free AutoOps for Elasticsearch & OpenSearch . With AutoOps and Opster’s proactive support, you don’t have to worry about your search operation – we take charge of it. Get improved performance & stability with less hardware.
This guide will help you check for common problems that cause the log ” created thread pool: {} ” to appear. To understand the issues related to this log, read the explanation below about the following OpenSearch concepts: thread, threadpool.
Log Context
Log “created thread pool: {}” classname is ThreadPool.java.
We extracted the following from OpenSearch source code for those seeking an in-depth context :
final ExecutorBuilder.ExecutorSettings executorSettings = entry.getValue().getSettings(settings); final ExecutorHolder executorHolder = entry.getValue().build(executorSettings; threadContext); if (executors.containsKey(executorHolder.info.getName())) { throw new IllegalStateException("duplicate executors with name [" + executorHolder.info.getName() + "] registered"); } logger.debug("created thread pool: {}"; entry.getValue().formatInfo(executorHolder.info)); executors.put(entry.getKey(); executorHolder); } executors.put(Names.SAME; new ExecutorHolder(DIRECT_EXECUTOR; new Info(Names.SAME; ThreadPoolType.DIRECT))); this.executors = unmodifiableMap(executors);