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.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...