Splunk Search

Splunk 7 upgrade - "ERROR DispatchThread - Failed to read runtime settings: File :/opt/splunk/var/run/splunk/dispatch/subsearch_***/runtime.csv does not exist"

splunkyouverymu
Explorer

Hi All,

We just upgraded to Splunk 7 and a subsearch started auto-finalizing after 9000s timeout. Running this search by itself takes ~220s.

Search.log shows a long list of (900s worth) entries of:

ERROR DispatchThread - Failed to read runtime settings: File :/opt/splunk/var/run/splunk/dispatch/subsearch_tmp_###/runtime.csv does not exist

I've seen plenty of old answers like this one https://answers.splunk.com/answers/104690/error-dispatchthread-error-reading-runtime-settings-file-d... being a known issue in Splunk 6 and that it should be supressed. Curious if others are seeing this in Splunk 7 and if there is a better explanation of what is happening and how to resolve it.

splunkyouverymu
Explorer

I came across this Documentation about dispatch directory and performance.

I will get with one of our admins and see if perhaps our directory is too cluttered. The fact that this timeout does not happen every day leads me to suspect something that changes daily such as the amount of files existing in this directory.

0 Karma

yoho
Contributor

I happen to have several long running searches having the same error message. Have you found any clue regarding these messages ?

0 Karma

deepashri_123
Motivator

Hey@splunkyouverymuch,

Refer this ans:
https://answers.splunk.com/answers/501897/what-does-search-error-dispatchthread-error-readin.html

Let me know if this helps!!

0 Karma

splunkyouverymu
Explorer

Unfortunately, that does not help me. I'd read through that Splunk Answer previously, and I don't really see a solution.

Is that saying that the error needs to be treated differently on Admin side? Is there a way to ignore it to allow the search to continue running. Does this error indicate something is wrong that could affect data accuracy?

This report runs every night to populate a summary index, and the timeout seems to happen every other day.

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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...