<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: The minimum free disk space (5000MB) reached for /opt/splunk/var/run/splunk/dispatch on an Indexer in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319939#M59750</link>
    <description>&lt;P&gt;Right, but the actual size of the dispatch directory is only 1230 MB so not really large. Plus the fact it's on the indexer (which no one should be using to run any searches), isn't it wiser to go ahead and just clean it?&lt;/P&gt;</description>
    <pubDate>Wed, 12 Apr 2017 12:31:03 GMT</pubDate>
    <dc:creator>aoliullah</dc:creator>
    <dc:date>2017-04-12T12:31:03Z</dc:date>
    <item>
      <title>The minimum free disk space (5000MB) reached for /opt/splunk/var/run/splunk/dispatch on an Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319930#M59741</link>
      <description>&lt;P&gt;Hi. I get the following error on one of my &lt;STRONG&gt;indexers&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;The minimum free disk space (5000MB) reached for /opt/splunk/var/run/splunk/dispatch. &lt;/P&gt;

&lt;P&gt;Having looked at the folder, all the files are from today. Is it safe for me to clean this folder? I understand that you could modify parameters in limits.conf, however, I want the indexer's minimum disk space to be left at 5000MB which I believe is safe? &lt;/P&gt;

&lt;P&gt;Could you please advise?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 10:54:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319930#M59741</guid>
      <dc:creator>aoliullah</dc:creator>
      <dc:date>2017-04-12T10:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: The minimum free disk space (5000MB) reached for /opt/splunk/var/run/splunk/dispatch on an Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319931#M59742</link>
      <description>&lt;P&gt;Hi aoliullah,&lt;/P&gt;

&lt;P&gt;Have a look at the docs &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.3/Search/Dispatchdirectoryandsearchartifacts#Clean_up_the_dispatch_directory_based_on_the_age_of_directories"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.3/Search/Dispatchdirectoryandsearchartifacts#Clean_up_the_dispatch_directory_based_on_the_age_of_directories&lt;/A&gt; and learn about the &lt;CODE&gt;clean-dispatch&lt;/CODE&gt; command. Otherwise if you no longer need the search artifacts you can actually just delete the files.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS &lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 11:11:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319931#M59742</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2017-04-12T11:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: The minimum free disk space (5000MB) reached for /opt/splunk/var/run/splunk/dispatch on an Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319932#M59743</link>
      <description>&lt;P&gt;Hi MuS - I have familiarise myself with the commands already. I wanted to find out how I could determine if I need those files or not. May be they are being used by a current search running in the background? Could you advise?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 11:58:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319932#M59743</guid>
      <dc:creator>aoliullah</dc:creator>
      <dc:date>2017-04-12T11:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: The minimum free disk space (5000MB) reached for /opt/splunk/var/run/splunk/dispatch on an Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319933#M59744</link>
      <description>&lt;P&gt;These files are generated when running searches or saved searches. They can safely be deleted, and will be regenerated when you re-run those searches again. Think of it as web-cache for Splunk Searches. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 12:06:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319933#M59744</guid>
      <dc:creator>brreeves_splunk</dc:creator>
      <dc:date>2017-04-12T12:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: The minimum free disk space (5000MB) reached for /opt/splunk/var/run/splunk/dispatch on an Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319934#M59745</link>
      <description>&lt;P&gt;No, because this all depends on your searches/use case.&lt;BR /&gt;
Just my 2cents, I usually remove anything that is older than 15 minutes and never had any problems/troubles. Start deleting/removing the oldest ones only and slowly decrease the age.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 12:06:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319934#M59745</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2017-04-12T12:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: The minimum free disk space (5000MB) reached for /opt/splunk/var/run/splunk/dispatch on an Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319935#M59746</link>
      <description>&lt;P&gt;But all the files seem to be around 5 to 10 mins old? Hence why I'm concerned if deleting it would cause any issues. Btw I'm talking about the dispatch directory on the &lt;STRONG&gt;indexer&lt;/STRONG&gt;. Not sure why it should generate files in the first place as it's not used to carry out searches.&lt;/P&gt;

&lt;P&gt;Plus they just seem to update in time constantly.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 12:09:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319935#M59746</guid>
      <dc:creator>aoliullah</dc:creator>
      <dc:date>2017-04-12T12:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: The minimum free disk space (5000MB) reached for /opt/splunk/var/run/splunk/dispatch on an Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319936#M59747</link>
      <description>&lt;P&gt;If a search builds out lookup tables, these files can be VERY large. If they're created in the last 5-10 minutes, then someone is running searches right now with LARGE results/outputs.&lt;/P&gt;

&lt;P&gt;Did you recently install any new apps?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 12:11:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319936#M59747</guid>
      <dc:creator>brreeves_splunk</dc:creator>
      <dc:date>2017-04-12T12:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: The minimum free disk space (5000MB) reached for /opt/splunk/var/run/splunk/dispatch on an Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319937#M59748</link>
      <description>&lt;P&gt;I have just taken over a project and have no clue about what has been done in the past. The lead consultant has left last night so Just trying to fix a list of errors and this one looked like it needed immediate attention.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 12:21:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319937#M59748</guid>
      <dc:creator>aoliullah</dc:creator>
      <dc:date>2017-04-12T12:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: The minimum free disk space (5000MB) reached for /opt/splunk/var/run/splunk/dispatch on an Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319938#M59749</link>
      <description>&lt;P&gt;If it continues to rebuild those large files, you'll want to look at the SID (search ID) to find out which one is creating these large outputs. Either that, or raise the 5000MB limit on the dispatch folder with the &lt;CODE&gt;dispatch_dir_warning_size = &amp;lt;int&amp;gt;&lt;/CODE&gt; setting.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.3/Admin/Limitsconf#.5Bsearch.5D"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.3/Admin/Limitsconf#.5Bsearch.5D&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 12:27:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319938#M59749</guid>
      <dc:creator>brreeves_splunk</dc:creator>
      <dc:date>2017-04-12T12:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: The minimum free disk space (5000MB) reached for /opt/splunk/var/run/splunk/dispatch on an Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319939#M59750</link>
      <description>&lt;P&gt;Right, but the actual size of the dispatch directory is only 1230 MB so not really large. Plus the fact it's on the indexer (which no one should be using to run any searches), isn't it wiser to go ahead and just clean it?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 12:31:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319939#M59750</guid>
      <dc:creator>aoliullah</dc:creator>
      <dc:date>2017-04-12T12:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: The minimum free disk space (5000MB) reached for /opt/splunk/var/run/splunk/dispatch on an Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319940#M59751</link>
      <description>&lt;P&gt;It is OK to go ahead and clean it, but that's just a bandaid on a potentially tedious process.&lt;/P&gt;

&lt;P&gt;This conversation is going into deployment planning (which I understand since you just took it over). Whether you have a support contract or not, I might suggest contacting your Account Manager and seeing if you can talk to an SE or if you have any training credits on your account to get a deeper understanding of the intricacies of Splunk.&lt;/P&gt;

&lt;P&gt;That dispatch folder is replicated across Clusters and, as I said earlier, is used as cache so it is going to continue to grow and shrink based on search activity.&lt;/P&gt;

&lt;P&gt;The next question would be, where is the rest of the space in your drive going? Is this just the OS drive? Do we need to clean up other things to free up OS space? Is it safe to raise that 5000MB limit (which it would be if your drive is only 128GB to begin with)?&lt;/P&gt;

&lt;P&gt;I hope all of this helps. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 12:36:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319940#M59751</guid>
      <dc:creator>brreeves_splunk</dc:creator>
      <dc:date>2017-04-12T12:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: The minimum free disk space (5000MB) reached for /opt/splunk/var/run/splunk/dispatch on an Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319941#M59752</link>
      <description>&lt;P&gt;Thank you. I'll try to address it all. But to delete it does the clean-dispatch work? Looks like it just moves it to a different folder?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 12:39:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319941#M59752</guid>
      <dc:creator>aoliullah</dc:creator>
      <dc:date>2017-04-12T12:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: The minimum free disk space (5000MB) reached for /opt/splunk/var/run/splunk/dispatch on an Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319942#M59753</link>
      <description>&lt;P&gt;It does...just to make 100% sure you didn't need any of it. That's why I believe the documentation suggests moving it to /tmp&lt;/P&gt;

&lt;P&gt;Once you confirm all is well in Splunk, you can clear /tmp&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 12:41:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319942#M59753</guid>
      <dc:creator>brreeves_splunk</dc:creator>
      <dc:date>2017-04-12T12:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: The minimum free disk space (5000MB) reached for /opt/splunk/var/run/splunk/dispatch on an Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319943#M59754</link>
      <description>&lt;P&gt;Thank you! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 12:43:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319943#M59754</guid>
      <dc:creator>aoliullah</dc:creator>
      <dc:date>2017-04-12T12:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: The minimum free disk space (5000MB) reached for /opt/splunk/var/run/splunk/dispatch on an Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319944#M59755</link>
      <description>&lt;P&gt;My advice is to increase the filesystem space where /opt/splunk is residing&lt;BR /&gt;
the &lt;CODE&gt;clean-dispatch&lt;/CODE&gt; is a temporary fix only &lt;/P&gt;

&lt;P&gt;In my experience for (minimum)&lt;BR /&gt;
- Standalone system requires 20GB for /opt/splunk&lt;BR /&gt;
- Cluster system requires 50GB for /opt/splunk (for bundle replication)&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 13:33:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319944#M59755</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2017-04-12T13:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: The minimum free disk space (5000MB) reached for /opt/splunk/var/run/splunk/dispatch on an Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319945#M59756</link>
      <description>&lt;P&gt;An alternate approach is to add more disk space to the &lt;CODE&gt;dispatch&lt;/CODE&gt; directory.  You can do this like this:&lt;/P&gt;

&lt;P&gt;1: stop splunk on the search head&lt;BR /&gt;
2: mount a new disk with a TON of space to anywhere but let's say to &lt;CODE&gt;/mnt/MegaDiskForSplunkDispatch&lt;/CODE&gt; (ensure automount with &lt;CODE&gt;fstab&lt;/CODE&gt;, etc.).&lt;BR /&gt;
3: make new mount have same ownership ( &lt;CODE&gt;chown&lt;/CODE&gt; ) and same permission ( &lt;CODE&gt;chmod&lt;/CODE&gt; ) as indicated by:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ls -al $SPLUNK_HOME/var/run/splunk | grep dispatch
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;4: move all dispatch files:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;mv $SPLUNK_HOME/var/run/splunk/dispatch/* /mnt/MegaDiskForSplunkDispatch/
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;5: remove the dispatch directory&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rmdir $SPLUNK_HOME/var/run/splunk/dispatch
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;6: replace with softlink:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ln -fs /mnt/MegaDiskForSplunkDispatch/ $SPLUNK_HOME/var/run/splunk/dispatch/
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;7: Fix the permissions&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;chmod 711 $SPLUNK_HOME/var/run/splunk/dispatch/
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;8: restart splunk&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 14:25:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/The-minimum-free-disk-space-5000MB-reached-for-opt-splunk-var/m-p/319945#M59756</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-04-12T14:25:44Z</dc:date>
    </item>
  </channel>
</rss>

