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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...