Monitoring Splunk

How to resolve this error: "The minimum free disk space (5000MB)"

jaracan
Communicator

Hi,

I had this error below:
search:262 - reason="Search not executed: Dispatch Manager: The minimum free disk space (5000MB) reached for /opt/splunk/var/run/splunk/dispatch. user=admin.", concurrency_category="historical", concurrency_context="user_instance-wide", current_concurrency=0, concurrency_limit=5000

I do not want to change the limit 5000MB.
I already had deleted some logs in /opt/splunk/var/log/splunk like metrics.log.* but it did not resolve the issue.
Also try the clean-dispatch command, and also deleted the files inside the /opt/splunk/var/run/splunk/dispatch.

Is there any suggestion you could share with me excluding the change the set limit of 5000MB?

0 Karma

Atchyuth_P
Path Finder

Hi @jaracan 

 

Please execute the commands in the terminal 

## Fix minimum free diskspace issue - only for lab environment not for production
echo "[diskUsage]" >> /opt/splunk/etc/system/local/server.conf
echo "minFreeSpace = 50" >> /opt/splunk/etc/system/local/server.conf

After this restart the splunk service

codebuilder
Influencer

Another option is to configure logrotate to both rotate and compress your Splunk log files, then blacklist .gz files.

----
An upvote would be appreciated and Accept Solution if it helps!
0 Karma

woodcock
Esteemed Legend

Best answer: redo your search head so that /opt/splunk/var is in its own disk volume so that nothing else can take up this space. Some people even go so var as to put /opt/splunk/var/run/dispatch into its own volume.

The next best answer: add more disk space to to the volume that contains the dispatch directory.

OK answer: Reduce the TTL for search artifacts so things auto-purge more quickly as described here: https://www.splunk.com/blog/2012/09/12/how-long-does-my-search-live-default-search-ttl.html

The WORST answer: reduce this quota in Settings -> Server settings -> General settings -> Pause indexing if free disk space (in MB) falls below.

dionelhani
Engager

Thanks for the answers...and the pun 😉

0 Karma

adonio
Ultra Champion
0 Karma

p_gurav
Champion

Can you check "Indexing: Indexes and volumes" page in monitoring console to get more details?
Also you can try to adjust no of concurrent searches in limits.conf

0 Karma

jaracan
Communicator

Hi p_gurav,

The search capability is disabled.
Also, can you specify which parameter/attribute in limits.conf should I adjust?

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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...