Monitoring Splunk

Indexers Crashing from low memory, any way to prevent his?

daniel333
Builder

All,

My CentOS7 indexers in a cluster are crashing prety regularly now. /var/log/messages shows OOM errors and I can confirm we're pretty high on jobs being dispatched to Splunk. Is there any way to limit memory per search? I see some notes say limits.conf on the Search head, but my issue is the indexers. Same config?

Tags (2)
0 Karma

esix_splunk
Splunk Employee
Splunk Employee

First, do you have THP disabled? There are some pretty major bugs with Redhat and CentOS regarding Transparent Huge Pages and Splunk memory consumption. Disable this..

More reading here : https://docs.splunk.com/Documentation/Splunk/7.0.2/ReleaseNotes/SplunkandTHP

Aside from that, have you opened a support case with Splunk? There is some tuning you can do in limits.conf on both the SH and the IDX, however, its best if you get those parameters recommended via official support. They can provide a more comprehensive view of how these may effect your system.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...