<?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: Memory Usage Exceeded when using accelerated report? in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Memory-Usage-Exceeded-when-using-accelerated-report/m-p/399322#M9893</link>
    <description>&lt;P&gt;What is the size of your index and datamodel acceleration? &lt;/P&gt;

&lt;P&gt;The datamodel acceleration results reside on the indexers, and still have to be pulled down to the search heads for you to view. Depending on the size of your search artifacts, and those of other search activity happening on the SHC, you could still very well hit the limits.&lt;/P&gt;

&lt;P&gt;Also, when you accelerate 30 days of data (or any range), that 30 days is rolling. Meaning, the scheduler runs jobs in the background to keep your acceleration up to date as new data comes in. Those also count against the numbers mentioned above.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Apr 2019 14:11:35 GMT</pubDate>
    <dc:creator>codebuilder</dc:creator>
    <dc:date>2019-04-08T14:11:35Z</dc:date>
    <item>
      <title>Memory Usage Exceeded when using accelerated report?</title>
      <link>https://community.splunk.com/t5/Reporting/Memory-Usage-Exceeded-when-using-accelerated-report/m-p/399317#M9888</link>
      <description>&lt;P&gt;I am using report acceleration.  &lt;/P&gt;

&lt;P&gt;My orginal report was for 1 hr.  &lt;/P&gt;

&lt;P&gt;index=ckpfw002 sourcetype=opsec action=blocked OR action=dropped&lt;BR /&gt;
|  timechart count &lt;/P&gt;

&lt;P&gt;I accelerated the report for 30 days. &lt;/P&gt;

&lt;P&gt;Now that it is 100% completed, when I run the report for say 7 days, it says "Dispatch Command: The search processs with sid=1554406128.97404_37C9C149-435D-43B6-AA71-9D2A5518DF5F was forcefully terminated because its physical memory usage (28177.609000 MB) has exceeded the 'search_process_memory_usage_threshold' (24000.000000 MB) setting in limits.conf." &lt;/P&gt;

&lt;P&gt;When I look at the job inspector, it is using the accelerated report --&amp;gt; [splunk-idx-1023] Using summaries for search, summary_id=C67F4BC3-E7CF-4AC4-9CF9-090758F478F6_search_u621929_NS000f0d20f92d3c54, maxtimespan=30m&lt;/P&gt;

&lt;P&gt;I am trying to do a timechart for the entire month, but it fails even when I select 7 days.  Any Suggestions?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:02:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Memory-Usage-Exceeded-when-using-accelerated-report/m-p/399317#M9888</guid>
      <dc:creator>john_glasscock</dc:creator>
      <dc:date>2020-09-30T00:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage Exceeded when using accelerated report?</title>
      <link>https://community.splunk.com/t5/Reporting/Memory-Usage-Exceeded-when-using-accelerated-report/m-p/399318#M9889</link>
      <description>&lt;P&gt;I would make a summary index, accelerated searches take a lot of indexer resources. &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.5/Knowledge/Usesummaryindexing"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.5/Knowledge/Usesummaryindexing&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.splunk.com/view/SP-CAAACZW"&gt;https://www.splunk.com/view/SP-CAAACZW&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 01:05:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Memory-Usage-Exceeded-when-using-accelerated-report/m-p/399318#M9889</guid>
      <dc:creator>sbattista09</dc:creator>
      <dc:date>2019-04-05T01:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage Exceeded when using accelerated report?</title>
      <link>https://community.splunk.com/t5/Reporting/Memory-Usage-Exceeded-when-using-accelerated-report/m-p/399319#M9890</link>
      <description>&lt;P&gt;I understand accelerated searches take a lot of indexer time when they are building, but the accelerated report (30 days) is 100% complete.   So, when I run the report (7 days) that uses the completed report acceleration, it should be pulling from the completed acceleration report, correct?   &lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 11:35:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Memory-Usage-Exceeded-when-using-accelerated-report/m-p/399319#M9890</guid>
      <dc:creator>john_glasscock</dc:creator>
      <dc:date>2019-04-05T11:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage Exceeded when using accelerated report?</title>
      <link>https://community.splunk.com/t5/Reporting/Memory-Usage-Exceeded-when-using-accelerated-report/m-p/399320#M9891</link>
      <description>&lt;P&gt;You'll need to increase the threshold within limits.conf.&lt;/P&gt;

&lt;P&gt;By default, &lt;STRONG&gt;search_process_memory_usage_threshold&lt;/STRONG&gt; is set to 4GB (version dependent), but that setting is overruled by &lt;STRONG&gt;search_process_memory_usage_percentage_threshold&lt;/STRONG&gt; . &lt;/P&gt;

&lt;P&gt;Both require that &lt;STRONG&gt;enable_memory_tracker&lt;/STRONG&gt; be set to true, and in that case a process is killed when it exceeds the default value of 25% set by &lt;STRONG&gt;search_process_memory_usage_percentage_threshold&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;Stanza from limits.conf:&lt;/P&gt;

&lt;P&gt;search_process_memory_usage_percentage_threshold = float&lt;/P&gt;

&lt;P&gt;To use this setting, the “enable_memory_tracker” setting must be set&lt;BR /&gt;
  to “true”.&lt;BR /&gt;
 Specifies the percent of the total memory that the search process is &lt;BR /&gt;
  entitled to consume.&lt;BR /&gt;
* &lt;STRONG&gt;Search processes that violate the threshold percentage are terminated&lt;/STRONG&gt;.&lt;BR /&gt;
* If the value is set to zero, then splunk search processes are allowed to &lt;BR /&gt;
  grow unbounded in terms of percentage memory usage.&lt;BR /&gt;&lt;BR /&gt;
* Any setting larger than 100 or less than 0 is discarded and the default &lt;BR /&gt;
  value is used.&lt;BR /&gt;
* Default: 25%&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:58:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Memory-Usage-Exceeded-when-using-accelerated-report/m-p/399320#M9891</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2020-09-29T23:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage Exceeded when using accelerated report?</title>
      <link>https://community.splunk.com/t5/Reporting/Memory-Usage-Exceeded-when-using-accelerated-report/m-p/399321#M9892</link>
      <description>&lt;P&gt;I understand where the limitation is, but why is it hitting that limitation if the report is using the accelerated reports data that has already been gather 100%.  &lt;/P&gt;

&lt;P&gt;My Accelerated report to collect firewall stats is 100% completed.  I am running a timechart on the data that has already been collected.   So in my mind the way accelerated reports work, my report should just be pulling the stats from the accelerated reports which should be minimal.  Is my understanding of accelerated reports incorrect?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 11:35:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Memory-Usage-Exceeded-when-using-accelerated-report/m-p/399321#M9892</guid>
      <dc:creator>john_glasscock</dc:creator>
      <dc:date>2019-04-08T11:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage Exceeded when using accelerated report?</title>
      <link>https://community.splunk.com/t5/Reporting/Memory-Usage-Exceeded-when-using-accelerated-report/m-p/399322#M9893</link>
      <description>&lt;P&gt;What is the size of your index and datamodel acceleration? &lt;/P&gt;

&lt;P&gt;The datamodel acceleration results reside on the indexers, and still have to be pulled down to the search heads for you to view. Depending on the size of your search artifacts, and those of other search activity happening on the SHC, you could still very well hit the limits.&lt;/P&gt;

&lt;P&gt;Also, when you accelerate 30 days of data (or any range), that 30 days is rolling. Meaning, the scheduler runs jobs in the background to keep your acceleration up to date as new data comes in. Those also count against the numbers mentioned above.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 14:11:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Memory-Usage-Exceeded-when-using-accelerated-report/m-p/399322#M9893</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2019-04-08T14:11:35Z</dc:date>
    </item>
  </channel>
</rss>

