Splunk Search

[8.0.6] Scheduler stops dispatching scheduled searches intermittently.

sylim_splunk
Splunk Employee
Splunk Employee

Our Splunk  SH cluster scheduler stopping, users complaining that alerts/scheduled reporting not running or processing. We disabled and enabled the scheduler on the captain but that didnt work. We decided to switch captaincy to another and that worked - scheduling/processing resumed.
Today we had reoccurrence but on a different Search head cluster - we switched captains and that remediated issue again. 

Version 8.0.6 and recent change - cascading bundle replication enabled around a month ago.

Labels (1)
Tags (1)
1 Solution

sylim_splunk
Splunk Employee
Splunk Employee

Once scheduler stopped scheduling jobs and stuck with something it will not put logs in scheduler.log at all on the captain - which can be used for us to confirm it must be stuck with something.

Pstack collection would be helpful to address the issue.

After inspection on the pstack collected when the issue was noticed, it turned out to be caused by a deadlock situation by cascading bundle push and the fix is available in 8.0.7+ and 8.1.3+.

If you would like to confirm it is the case please open a support case with a diag and pstack outputs collected when it is outstanding/before restarting of splunk. SPL-200260.

View solution in original post

sylim_splunk
Splunk Employee
Splunk Employee

Once scheduler stopped scheduling jobs and stuck with something it will not put logs in scheduler.log at all on the captain - which can be used for us to confirm it must be stuck with something.

Pstack collection would be helpful to address the issue.

After inspection on the pstack collected when the issue was noticed, it turned out to be caused by a deadlock situation by cascading bundle push and the fix is available in 8.0.7+ and 8.1.3+.

If you would like to confirm it is the case please open a support case with a diag and pstack outputs collected when it is outstanding/before restarting of splunk. SPL-200260.

Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...