Splunk Enterprise

Why did the search head crash?

danielbb
Motivator

A search head crashed and the last message in the log file is -

-- 06-22-2020 11:13:39.341 -0400 WARN  PeriodicReapingTimeout - Spent 20995ms reaping search artifacts in /opt/apps/splunk/var/run/splunk/dispatch

What can it be?

Labels (1)
Tags (1)
0 Karma

anilchaithu
Builder

@danielbb 

The reap_time (time to clean up expired search artifacts) is 20995ms. This looks to be on higher side. Again this value is subjective to the setup.

This means you have more searches running at that time.

check for cpu and memory utilization for this SH at the same time.

danielbb
Motivator

In the MC under Resource Usage: Instance, I see that the SH maxed out the memory. Where can I see the search(es) that caused it?

0 Karma

anilchaithu
Builder

@danielbb 

check here

MC -> search tab -> activity -> search activity : instance

the bottom panel will list top memory consuming searches

danielbb
Motivator

Search > Activity > Instance shows the top 20 memory searches and nothing stands out.

Under Resource Usage: Instance, the graph shows us that **search** took 10 GBs of memory just before the crash and the **splunkd** process took over 20 GBs of memory. What can it be?

0 Karma

anilchaithu
Builder

@danielbb 

check splunkd.log for more errors leading to the crash.

If you still not able to figure out, open a support ticket with splunk and share diag.

 

Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...