<?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: What is the max value for maxsearches? Is there a way to NOT have a max (set to 0 or -1)? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-max-value-for-maxsearches-Is-there-a-way-to-NOT-have/m-p/177270#M50956</link>
    <description>&lt;P&gt;The following is the current configuration in our environment. We are getting &lt;CODE&gt;max_concurrent limit reached&lt;/CODE&gt; on one of the three Search Heads for specific Saved Search. It does not happen on rest of the two Search Heads.&lt;BR /&gt;
&lt;CODE&gt;Search Head:- 3x16+10=58&lt;/CODE&gt;&lt;BR /&gt;
  &lt;CODE&gt;Search Peer :-  1x20+6=26&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Is it necessary to maintain identical parameters on both Search peers and Search heads?&lt;BR /&gt;
Shall i increase &lt;CODE&gt;max_searches_per_cpu&lt;/CODE&gt; on &lt;CODE&gt;Search Peers&lt;/CODE&gt; from &lt;CODE&gt;1&lt;/CODE&gt; to &lt;CODE&gt;2&lt;/CODE&gt;?&lt;/P&gt;</description>
    <pubDate>Wed, 01 Mar 2017 07:45:47 GMT</pubDate>
    <dc:creator>biec1</dc:creator>
    <dc:date>2017-03-01T07:45:47Z</dc:date>
    <item>
      <title>What is the max value for maxsearches? Is there a way to NOT have a max (set to 0 or -1)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-max-value-for-maxsearches-Is-there-a-way-to-NOT-have/m-p/177268#M50954</link>
      <description>&lt;P&gt;What is the max value for maxsearches? Is there a way to NOT have a max (set to 0 or -1)?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2015 17:58:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-max-value-for-maxsearches-Is-there-a-way-to-NOT-have/m-p/177268#M50954</guid>
      <dc:creator>dougmartin</dc:creator>
      <dc:date>2015-08-18T17:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: What is the max value for maxsearches? Is there a way to NOT have a max (set to 0 or -1)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-max-value-for-maxsearches-Is-there-a-way-to-NOT-have/m-p/177269#M50955</link>
      <description>&lt;P&gt;You can adjust this, but the primary calculation is a practical limit on performance. This is controlled in &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.5/Admin/Limitsconf"&gt;limits.conf&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;The maximum number of concurrent searches is calculated based on &lt;CODE&gt;max_searches_per_cpu&lt;/CODE&gt; times the number of CPU cores in the system (as reported by the OS, which means VMs often lie when given multiple vCPUs but are running on a small number of hardware cores thanks to threading and shady hypervisor oversubscription models) + &lt;CODE&gt;base_max_searches&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;max_searches_per_cpu&lt;/CODE&gt; defaults to 1&lt;BR /&gt;
&lt;CODE&gt;base_max_searches&lt;/CODE&gt; defaults to 6&lt;/P&gt;

&lt;P&gt;Therefore, in a reference system with 12 cores, you have &lt;CODE&gt;1 x 12 + 6 = 18&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;If you need to crank this up, you can linearly scale this by core count using &lt;CODE&gt;max_searches_per_cpu&lt;/CODE&gt; by setting it to 2 or more. This changes the math to be &lt;CODE&gt;2 x 12 + 6 = 30&lt;/CODE&gt; or &lt;CODE&gt;3 x 12 + 6 = 42&lt;/CODE&gt;. If you just want to tweak it up by a fixed amount, adjust &lt;CODE&gt;base_max_searches&lt;/CODE&gt; to a higher value.&lt;/P&gt;

&lt;P&gt;All of the above comes with the caveat that generally these are bad ideas to implement in a production setting unless you have a highly underutilized system performing large numbers of extremely low memory and low CPU usage searches.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2015 19:09:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-max-value-for-maxsearches-Is-there-a-way-to-NOT-have/m-p/177269#M50955</guid>
      <dc:creator>jtrucks</dc:creator>
      <dc:date>2015-08-18T19:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: What is the max value for maxsearches? Is there a way to NOT have a max (set to 0 or -1)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-max-value-for-maxsearches-Is-there-a-way-to-NOT-have/m-p/177270#M50956</link>
      <description>&lt;P&gt;The following is the current configuration in our environment. We are getting &lt;CODE&gt;max_concurrent limit reached&lt;/CODE&gt; on one of the three Search Heads for specific Saved Search. It does not happen on rest of the two Search Heads.&lt;BR /&gt;
&lt;CODE&gt;Search Head:- 3x16+10=58&lt;/CODE&gt;&lt;BR /&gt;
  &lt;CODE&gt;Search Peer :-  1x20+6=26&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Is it necessary to maintain identical parameters on both Search peers and Search heads?&lt;BR /&gt;
Shall i increase &lt;CODE&gt;max_searches_per_cpu&lt;/CODE&gt; on &lt;CODE&gt;Search Peers&lt;/CODE&gt; from &lt;CODE&gt;1&lt;/CODE&gt; to &lt;CODE&gt;2&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 07:45:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-max-value-for-maxsearches-Is-there-a-way-to-NOT-have/m-p/177270#M50956</guid>
      <dc:creator>biec1</dc:creator>
      <dc:date>2017-03-01T07:45:47Z</dc:date>
    </item>
  </channel>
</rss>

