Getting Data In

Too many links error in splunkd.log

tlam_splunk
Splunk Employee
Splunk Employee

Recently I found some schedule jobs failed to run and there are some too many links error like below:

03-27-2017 09:00:04.109 +0800 ERROR SearchScheduler - failed to mkdir /opt/splunk/var/run/splunk/dispatch/scheduler_xxxxxsplunkxxxx_RMD0000000000000_at_1490576400_9999_5XXXXXX-9C41-4D98-8XXX-XXXXXXXXX: Too many links

Anyone knows the issue is.

Tags (1)
0 Karma

mwong
Splunk Employee
Splunk Employee

The error should be related to the number of folders created in dispatch directory. For Linux, there is limitation for creating number of directories, it should be about 32000 directories. Please go to the dispatch directory and count how many directories created in there. If there are more 30,000 directories, it should be the problem for creating scheduled job artifacts files in the dispatch, you will delete some of old directories first.

You can also try to google search "Linux mkdir too many links" , you can find that failed to mkdir, it should be related to this issue.

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...