Deployment Architecture

Why did our search head crash? and how can we prevent it?

danielbb
Motivator

Our search head crashed, saying -

-- Apr 23 09:00:35 kernel: Out of memory: Kill process 2137 (splunkd) score 162 or sacrifice child

Two instances of the TA-check-point-app-for-splunk ran - one for 21 minutes consuming 21 GBs of memory and the other for 11 minutes, consuming 11 GBs.

How can we put safe-guards to prevent it?

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

The SH crashed because the OS killed it for using too much memory.

One solution is to add more memory to the SH, but that may be a short-term fix.

More important than knowing which apps were running at the time is knowing which searches were running at the time. Once you know that you can take steps to prevent future crashes, such as:

  • Make the searches more efficient
  • Schedule the searches so they don't run at the same time.
---
If this reply helps you, Karma would be appreciated.

danielbb
Motivator

We decided to use the enable_memory_tracker feature as in How can I generate a search which uses lots of memory?

0 Karma
Get Updates on the Splunk Community!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...