Briefly, this error occurs when Elasticsearch is unable to access the system’s memory information. This could be due to insufficient permissions, or the system not supporting the required method to retrieve memory info. To resolve this issue, you can try running Elasticsearch with higher privileges, or check if your operating system supports the memory info retrieval method used by Elasticsearch. If the problem persists, consider upgrading your system or Elasticsearch to a version that supports this feature.
This guide will help you check for common problems that cause the log ” Unable to obtain memory info from [{}] ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: memory, plugin.
Log Context
Log “Unable to obtain memory info from [{}]” classname is AutoscalingMemoryInfoService.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :
ImmutableOpenMap.Builderbuilder = ImmutableOpenMap. builder(nodeToMemory); missingNodes.stream().map(DiscoveryNode::getEphemeralId).forEach(builder::remove); nodeToMemory = builder.build(); } logger.warn("Unable to obtain memory info from [{}]"; missingNodes); } } ); }