<?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: How to set query memory usage for specific app? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-set-query-memory-usage-for-specific-app/m-p/482386#M1719</link>
    <description>&lt;P&gt;I'm trying to set something like this in an app.&lt;BR /&gt;
"[search]&lt;BR /&gt;
enable_memory_tracker = true&lt;BR /&gt;
search_process_memory_usage_threshold = 1000"&lt;/P&gt;

&lt;P&gt;in system/local I already have limits.conf set to:&lt;BR /&gt;
"[search]&lt;BR /&gt;
enable_memory_tracker = true&lt;BR /&gt;
search_process_memory_usage_threshold = 100"&lt;/P&gt;

&lt;P&gt;These values are for testing purposes. But when i try to search something from within the app itself, the memory limit still remains 100mb.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 05:08:00 GMT</pubDate>
    <dc:creator>mahjp</dc:creator>
    <dc:date>2020-09-30T05:08:00Z</dc:date>
    <item>
      <title>How to set query memory usage for specific app?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-set-query-memory-usage-for-specific-app/m-p/482382#M1715</link>
      <description>&lt;P&gt;Hi everyone, this is my first time here.&lt;/P&gt;
&lt;P&gt;I'm currently trying to set a limit that queries can use in my environment and i've successfully set a global config in limits.conf. But how can I make an exception to this config? Say I want to allow a single app to use more memory because it really needs it.&lt;BR /&gt;Where should I put this exception? Inside a limits.conf in app/default?&lt;/P&gt;
&lt;P&gt;Couldn't find anything related to that on the doc for limits.conf&lt;/P&gt;
&lt;P&gt;Many thanks in advance.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2020 02:34:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-set-query-memory-usage-for-specific-app/m-p/482382#M1715</guid>
      <dc:creator>mahjp</dc:creator>
      <dc:date>2020-06-07T02:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to set query memory usage for specific app?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-set-query-memory-usage-for-specific-app/m-p/482383#M1716</link>
      <description>&lt;P&gt;Splunk's Workload Management feature may be able to help.  It uses Linux cgroups to control how much resources searches can use. &lt;BR /&gt;
 See &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.3/Workloads/Aboutworkloadmanagement"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.3/Workloads/Aboutworkloadmanagement&lt;/A&gt; for more information.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 14:25:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-set-query-memory-usage-for-specific-app/m-p/482383#M1716</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-04-23T14:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to set query memory usage for specific app?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-set-query-memory-usage-for-specific-app/m-p/482384#M1717</link>
      <description>&lt;P&gt;Great, thanks. I'll check it out.&lt;BR /&gt;
But just to be sure, the limits.conf will not work if placed under app/default in my search heads?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 17:25:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-set-query-memory-usage-for-specific-app/m-p/482384#M1717</guid>
      <dc:creator>mahjp</dc:creator>
      <dc:date>2020-04-23T17:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to set query memory usage for specific app?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-set-query-memory-usage-for-specific-app/m-p/482385#M1718</link>
      <description>&lt;P&gt;limits.conf can be set in any app that is not disabled.  Which setting are you changing?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 19:44:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-set-query-memory-usage-for-specific-app/m-p/482385#M1718</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-04-23T19:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to set query memory usage for specific app?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-set-query-memory-usage-for-specific-app/m-p/482386#M1719</link>
      <description>&lt;P&gt;I'm trying to set something like this in an app.&lt;BR /&gt;
"[search]&lt;BR /&gt;
enable_memory_tracker = true&lt;BR /&gt;
search_process_memory_usage_threshold = 1000"&lt;/P&gt;

&lt;P&gt;in system/local I already have limits.conf set to:&lt;BR /&gt;
"[search]&lt;BR /&gt;
enable_memory_tracker = true&lt;BR /&gt;
search_process_memory_usage_threshold = 100"&lt;/P&gt;

&lt;P&gt;These values are for testing purposes. But when i try to search something from within the app itself, the memory limit still remains 100mb.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:08:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-set-query-memory-usage-for-specific-app/m-p/482386#M1719</guid>
      <dc:creator>mahjp</dc:creator>
      <dc:date>2020-09-30T05:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to set query memory usage for specific app?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-set-query-memory-usage-for-specific-app/m-p/482387#M1720</link>
      <description>&lt;P&gt;etc/system/local has highest priority for .conf files so it will override any setting in an app.&lt;BR /&gt;
The memory tracker settings are global - not per-app.  For granular control of resources use the Workload Management feature.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 13:42:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-set-query-memory-usage-for-specific-app/m-p/482387#M1720</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-04-24T13:42:40Z</dc:date>
    </item>
  </channel>
</rss>

