<?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: Error in search in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-resolve-this-Error-in-search-The-maximum-number-of/m-p/605224#M13278</link>
    <description>&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was looking for setting under SearchHead =&amp;gt; Settings =&amp;gt; Roles/Users but unable to locate any setting related to concurrent searches for which error is generated. Is this something which I need to update from CLI configuration of Splunk?&lt;BR /&gt;&lt;BR /&gt;Sorry if I am asking something very common or stupid, I am trying to understand Splunk.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2022 03:10:05 GMT</pubDate>
    <dc:creator>dhimanv</dc:creator>
    <dc:date>2022-07-12T03:10:05Z</dc:date>
    <item>
      <title>How to resolve this Error in search: The maximum number of concurrent historical searches for this user has been reached</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-resolve-this-Error-in-search-The-maximum-number-of/m-p/605103#M13250</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am getting error below when trying to search the data in Splunk SearchHead:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR SearchScheduler - The maximum number of concurrent historical searches for this user based on their role quota has been reached&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;I tried to change the parameters as below&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;scheduler&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;max_searches_per_cpu from 25 to 50&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;search&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;max_searches_per_cpu from 6 to 10&lt;BR /&gt;&lt;BR /&gt;But too seems not working and even generating high LOAD.&lt;BR /&gt;&lt;BR /&gt;Could you please suggest how I can fix this issue? I am using Splunk Enterprise 8.0.5 version (I know its out of date&amp;nbsp; but still need help to figure out issue to plan upgrade)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 13:50:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-resolve-this-Error-in-search-The-maximum-number-of/m-p/605103#M13250</guid>
      <dc:creator>dhimanv</dc:creator>
      <dc:date>2022-07-12T13:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error in search</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-resolve-this-Error-in-search-The-maximum-number-of/m-p/605106#M13251</link>
      <description>&lt;P&gt;You have max_searches_per_cpu at 25 or 50? It's supposed to be 1 by default. Sometimes you can set it to something more, but not by that factor! Are you sure you're not talking about a different parameter?&lt;/P&gt;&lt;P&gt;Anyway, as the message says - your user is exceeding quota enforced by his role, not the global configuration.&lt;/P&gt;&lt;P&gt;So if you have some "spare room" within your resources you can raise the user's limits.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 07:46:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-resolve-this-Error-in-search-The-maximum-number-of/m-p/605106#M13251</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-07-11T07:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error in search</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-resolve-this-Error-in-search-The-maximum-number-of/m-p/605124#M13258</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp; Thanks for your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry it was typo, i changed the&amp;nbsp;&lt;SPAN&gt;max_searches_perc from 25 to 50 and&amp;nbsp;max_searches_per_cpu from 6 to 10 but still getting the error. I have 8 vCPU with and 32GB of instances in both Indexers and searchhead.&lt;BR /&gt;&lt;BR /&gt;Could you advice which params I can tweak to fix the error and able to search the data.&lt;BR /&gt;&lt;BR /&gt;Thanks once again.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 09:49:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-resolve-this-Error-in-search-The-maximum-number-of/m-p/605124#M13258</guid>
      <dc:creator>dhimanv</dc:creator>
      <dc:date>2022-07-11T09:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error in search</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-resolve-this-Error-in-search-The-maximum-number-of/m-p/605129#M13259</link>
      <description>&lt;P&gt;If you're raising max_searches_per_cpu to 10 (even 6 was a relatively high value), you have to expect trouble.&lt;/P&gt;&lt;P&gt;But as I said before - your "problem" is not in server parameters, but rather in limitations applied to your user which is running the searches (or on whose behalf the searches are run).&lt;/P&gt;&lt;P&gt;Check the user's roles and adjust the quota for max searches there. On user's level, not in global server configuration.&lt;/P&gt;&lt;P&gt;BTW, 8vCPU is a relatively small machine. The reference indexer has minimum of 12 cores and searchhead - 16.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 10:39:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-resolve-this-Error-in-search-The-maximum-number-of/m-p/605129#M13259</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-07-11T10:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error in search</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-resolve-this-Error-in-search-The-maximum-number-of/m-p/605224#M13278</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was looking for setting under SearchHead =&amp;gt; Settings =&amp;gt; Roles/Users but unable to locate any setting related to concurrent searches for which error is generated. Is this something which I need to update from CLI configuration of Splunk?&lt;BR /&gt;&lt;BR /&gt;Sorry if I am asking something very common or stupid, I am trying to understand Splunk.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 03:10:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-resolve-this-Error-in-search-The-maximum-number-of/m-p/605224#M13278</guid>
      <dc:creator>dhimanv</dc:creator>
      <dc:date>2022-07-12T03:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error in search</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-resolve-this-Error-in-search-The-maximum-number-of/m-p/605249#M13281</link>
      <description>&lt;P&gt;Settings -&amp;gt; Roles&lt;/P&gt;&lt;P&gt;Edit particular role&lt;/P&gt;&lt;P&gt;5th tab - Resources&lt;/P&gt;&lt;P&gt;There you have two limit categories - one is applied as a total to all users of a given role and another is applied to each user separately.&lt;/P&gt;&lt;P&gt;I suppose it's the latter that's the cause of your error here.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PickleRick_0-1657612563746.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20489i1BA6A85C6E3BB75B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PickleRick_0-1657612563746.png" alt="PickleRick_0-1657612563746.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 07:56:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-resolve-this-Error-in-search-The-maximum-number-of/m-p/605249#M13281</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-07-12T07:56:10Z</dc:date>
    </item>
  </channel>
</rss>

