<?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 Excessive diskspace var/run/splunk/dispatch in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Excessive-diskspace-var-run-splunk-dispatch/m-p/173489#M1905</link>
    <description>&lt;P&gt;I've noticed that my Splunk searchhead is using more disk space than expected. Traversing through the /opt/splunk directory structure the majority of the data is associated with a number of rt_scheduler_xxxxx directories within var/run/splunk/dispatch. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;root@core-index-1:/opt/splunk/var/run/splunk/dispatch# du -sh rt_sche*
9.2G   rt_scheduler__nobody_c3BpbmVfb3Bz__RMD53c62647d6192c773_at_1400376360_31462
20M    rt_scheduler__nobody_c3BpbmVfb3Bz__RMD58de258515d430540_at_1400502810_38825
9.3G   rt_scheduler__nobody__operations__RMD53c62647d6192c773_at_1400377140_31693
20M    rt_scheduler__nobody__operations__RMD58de258515d430540_at_1400502810_38824
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Within the directory there are hundreds of csv files e.g. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;root@core-index-1:/opt/splunk/var/run/splunk/dispatch/rt_scheduler__nobody_c3BpbmVfb3Bz__RMD53c62647d6192c773_at_1400376360_31462# du -sh *
1.5M    rtwindow_1400578535.212.csv.gz
1.5M    rtwindow_1400579355.213.csv.gz
1.5M    rtwindow_1400580828.214.csv.gz
1.5M    rtwindow_1400582774.215.csv.gz
1.5M    rtwindow_1400584602.216.csv.gz
1.5M    rtwindow_1400586048.217.csv.gz
1.5M    rtwindow_1400587830.218.csv.gz
1.5M    rtwindow_1400589574.219.csv.gz
5.6M    search.log
9.6M    search.log.1
9.6M    search.log.2
9.6M    search.log.3
1.5M    srtmpfile_1000166697.csv.gz
1.5M    srtmpfile_1000259418.csv.gz
1.5M    srtmpfile_1000627332.csv.gz
1.5M    srtmpfile_1000715784.csv.gz
1.5M    srtmpfile_1000774912.csv.gz
...
..
.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I've looked through known issues for Splunk 5.0.4 and the limits.conf documentation with respect to real-time search and scheduling but cannot find anything which looks like a candidate. The only information I found is associated with Splunk 4 - &lt;A href="http://answers.splunk.com/answers/29551/too-many-search-jobs-found-in-the-dispatch-directory" target="_blank"&gt;http://answers.splunk.com/answers/29551/too-many-search-jobs-found-in-the-dispatch-directory&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Would it be possible to get some advice as to what the files are for and how I should go about preventing them from building up.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 16:41:03 GMT</pubDate>
    <dc:creator>simonroberts2</dc:creator>
    <dc:date>2020-09-28T16:41:03Z</dc:date>
    <item>
      <title>Excessive diskspace var/run/splunk/dispatch</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Excessive-diskspace-var-run-splunk-dispatch/m-p/173489#M1905</link>
      <description>&lt;P&gt;I've noticed that my Splunk searchhead is using more disk space than expected. Traversing through the /opt/splunk directory structure the majority of the data is associated with a number of rt_scheduler_xxxxx directories within var/run/splunk/dispatch. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;root@core-index-1:/opt/splunk/var/run/splunk/dispatch# du -sh rt_sche*
9.2G   rt_scheduler__nobody_c3BpbmVfb3Bz__RMD53c62647d6192c773_at_1400376360_31462
20M    rt_scheduler__nobody_c3BpbmVfb3Bz__RMD58de258515d430540_at_1400502810_38825
9.3G   rt_scheduler__nobody__operations__RMD53c62647d6192c773_at_1400377140_31693
20M    rt_scheduler__nobody__operations__RMD58de258515d430540_at_1400502810_38824
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Within the directory there are hundreds of csv files e.g. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;root@core-index-1:/opt/splunk/var/run/splunk/dispatch/rt_scheduler__nobody_c3BpbmVfb3Bz__RMD53c62647d6192c773_at_1400376360_31462# du -sh *
1.5M    rtwindow_1400578535.212.csv.gz
1.5M    rtwindow_1400579355.213.csv.gz
1.5M    rtwindow_1400580828.214.csv.gz
1.5M    rtwindow_1400582774.215.csv.gz
1.5M    rtwindow_1400584602.216.csv.gz
1.5M    rtwindow_1400586048.217.csv.gz
1.5M    rtwindow_1400587830.218.csv.gz
1.5M    rtwindow_1400589574.219.csv.gz
5.6M    search.log
9.6M    search.log.1
9.6M    search.log.2
9.6M    search.log.3
1.5M    srtmpfile_1000166697.csv.gz
1.5M    srtmpfile_1000259418.csv.gz
1.5M    srtmpfile_1000627332.csv.gz
1.5M    srtmpfile_1000715784.csv.gz
1.5M    srtmpfile_1000774912.csv.gz
...
..
.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I've looked through known issues for Splunk 5.0.4 and the limits.conf documentation with respect to real-time search and scheduling but cannot find anything which looks like a candidate. The only information I found is associated with Splunk 4 - &lt;A href="http://answers.splunk.com/answers/29551/too-many-search-jobs-found-in-the-dispatch-directory" target="_blank"&gt;http://answers.splunk.com/answers/29551/too-many-search-jobs-found-in-the-dispatch-directory&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Would it be possible to get some advice as to what the files are for and how I should go about preventing them from building up.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:41:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Excessive-diskspace-var-run-splunk-dispatch/m-p/173489#M1905</guid>
      <dc:creator>simonroberts2</dc:creator>
      <dc:date>2020-09-28T16:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Excessive diskspace var/run/splunk/dispatch</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Excessive-diskspace-var-run-splunk-dispatch/m-p/173490#M1906</link>
      <description>&lt;P&gt;If you have real-time alerts running, these are probably the files associated with those alerts.&lt;/P&gt;

&lt;P&gt;You &lt;EM&gt;might&lt;/EM&gt; be able to reduce the disk usage by changing the default saved TTL (time to live) in &lt;CODE&gt;limits.conf&lt;/CODE&gt;, but I am not sure that will work for this problem.&lt;/P&gt;

&lt;P&gt;But perhaps a better way is to limit the role that is running these searches. If you just look at the Settings-&amp;gt;Searches on your search head, you can probably figure out the user, and by extension, the role. You can then cut back the disk quota for that role.&lt;/P&gt;

&lt;P&gt;On the other hand, you may find that this is actually important data that is necessary for your alerts to work properly.&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2014 19:06:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Excessive-diskspace-var-run-splunk-dispatch/m-p/173490#M1906</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2014-05-21T19:06:44Z</dc:date>
    </item>
  </channel>
</rss>

