Splunk Search

Intermittent Unclean Shutdowns

tgiles
Path Finder

Hi, All.

I'm setting up a new indexer and have run into an intermittent issue with Splunk (on 64 bit Linux) reporting an unclean shutdown and requiring to clean up before starting. It's happened the past 3 of the last 5 restarts I've done.

System is currently just reading its own system logs into a separate index from main.

(one shutdown)

bucket=/opt/splunk/var/lib/splunk/audit/db/hot_v1_0 count mismatch tsidx=1401 source-metadata=1398, repairing...
bucket=/opt/splunk/var/lib/splunk/_internaldb/db/hot_v1_0 count mismatch tsidx=4021 source-metadata=3991, repairing...

(another shutdown)

bucket=/opt/splunk/var/lib/splunk/audit/db/hot_v1_1 count mismatch tsidx=18 source-metadata=15, repairing...
bucket=/opt/splunk/var/lib/splunk/blockSignature/db/hot_v1_1 count mismatch tsidx=77 source-metadata=72, repairing...
bucket=/opt/splunk/var/lib/splunk/_internaldb/db/hot_v1_1 count mismatch tsidx=1800 source-metadata=1701, repairing...

Questions I have is:

  • Is this to be expected in 4.2? I had 4.1 on some testing devices and never run into a problem with unclean shutdowns, even though it was restarted dozens of times.

  • When it detects an unclean shutdown, /etc/init.d/splunk is useless- the system requires manual intervention. Is there a way to have Splunk automatically recover when it detects an unclean shutdown?

Thanks in advance for your input!

Tags (1)

tgiles
Path Finder

After removing the "blockSignSize = 100" setting from the index, alerts on restart disappeared completely.

Unsure if that's the right answer, but it seems to handle my issue at this time. Will continue to research and look for any future alerts from the system.

southeringtonp
Motivator

Did this resolve your issue in the long term, and/or did you ever get any additional information?

0 Karma

tgiles
Path Finder

No memory or hard drive issues with the target system. I tested a second indexer, restarted splunk a few times, and it came up with a "Splunk has detected an unclean shutdown." message as well.

Note, this is different from SPL-37510. I'm not restarting it, going from a cold stop.

0 Karma

tgiles
Path Finder

As a quick update- performing a full memory test on the system over the weekend to see if that might pin down the problem. Will update once I know more. Cheers

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...