Security

Dispatch Manager : The minimum free space reached for...

gduc
Observer

Hello guys;

I'm getting this message in search head :
"Dispatch Manager : The minimum free space (5000MB) reached for /opt/splunk/var/run/splunk/dispatch"

after researchs on server, i found:
- df -h => /opt/splunk full at 91% - 4.2Go free on 47Go (yesterday - 13/01/2020)
- df -h => /opt/splunk full at 92% - 3.9Go free on 47Go (today - 14/01/2020)
- the bigest directory is : /opt/splunk/var/lib/splunk/csmsi_supervision_active/datamodel_summary => 32Go
and is full of directories like 3374-ED6F9A3B-E103-4D86-8F41-xxxxxxxx
-the oldest directories are October 16 2019 and lots of them are refreshed each 10 minutes.

my questions:
is-it safe to delete oldest directories?
why the alerte is about another directory than the one i found?
best practices are to exand fs ? resize server.conf? delete folders/restart?

thanks a lot for helping.

0 Karma

mdsnmss
SplunkTrust
SplunkTrust

Your search head doesn't have enough space for the recommended minimum. The dispatch directory is what contain artifacts (such as search results) created by each search that get executed. Depending on time to live of the search this stuff ages out and keeps cycling so there is a fluctuation there. You want to have enough space for your results to reside there though. You can change the warning to appear at a different size if you want to get it closer to max <5GB by changing dispatch_dir_warning_size in limits.conf.

The directories you are referencing as the largest/oldest are for datamodel acceleration. You can see your datamodels can be seen in "Settings-->Datamodels". I wouldn't go in and manually delete the directory, but if the datamodel is not used and you want to remove it you can remove the acceleration from the Datamodels page. Alternatively, you can reduce the acceleration duration so it retains a smaller set of data.

0 Karma

gduc
Observer

thanks a lot for your answer 😉

0 Karma

mdsnmss
SplunkTrust
SplunkTrust

I converted the comment to an answer. Feel free to accept if this resolved your issue or let me know if you have any other questions. Thanks!

0 Karma

gduc
Observer

I forgot in describtion, investigations are made on indexer server

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!

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...