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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...