<?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: The maximum number of concurrent real-time scheduled searches on this instance has been reached in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/The-maximum-number-of-concurrent-real-time-scheduled-searches-on/m-p/511222#M143213</link>
    <description>&lt;P&gt;There are quite number of moving elements here&lt;/P&gt;&lt;P&gt;- is it Search Head cluster?&lt;/P&gt;&lt;P&gt;- how many CPU cores/memory your shc and indexers have?&lt;/P&gt;&lt;P&gt;But doing a guess, the settings are configured in `limits.conf` . Run a btool of `limits.conf` and export it out and check the settings carefully. Values as &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.5/Capacity/Accommodatemanysimultaneoussearches" target="_self"&gt;per Link&lt;/A&gt; is a good start&lt;/P&gt;&lt;P&gt;in limits.conf check for&lt;/P&gt;&lt;P&gt;- shc_syswide_quota_enforcement&lt;/P&gt;&lt;P&gt;- check against your CPU cores vs maximum searches allowed to see if there is discrepency&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;base_max_searches = &amp;lt;integer&amp;gt;
* A constant to add to the maximum number of searches, computed as a
  multiplier of the CPUs.
* Default: 6

max_rt_search_multiplier = &amp;lt;decimal number&amp;gt;
* A number by which the maximum number of historical searches is multiplied
  to determine the maximum number of concurrent real-time searches.
* NOTE: The maximum number of real-time searches is computed as:
  max_rt_searches = max_rt_search_multiplier x max_hist_searches
* Default: 1

max_searches_per_cpu = &amp;lt;integer&amp;gt;
* The maximum number of concurrent historical searches for each CPU.
  The system-wide limit of historical searches is computed as:
  max_hist_searches =  max_searches_per_cpu x number_of_cpus + base_max_searches
* NOTE: The maximum number of real-time searches is computed as:
  max_rt_searches = max_rt_search_multiplier x max_hist_searches
* Default: 1&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;# If number of cpu's in your machine is 14 then total system wide number of
# concurrent searches this machine can handle is 20.
# which is base_max_searches + max_searches_per_cpu x num_cpus = 6 + 14 x 1 = 20
base_max_searches = 6
max_searches_per_cpu = 1&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jul 2020 20:23:21 GMT</pubDate>
    <dc:creator>koshyk</dc:creator>
    <dc:date>2020-07-27T20:23:21Z</dc:date>
    <item>
      <title>The maximum number of concurrent real-time scheduled searches on this instance has been reached</title>
      <link>https://community.splunk.com/t5/Splunk-Search/The-maximum-number-of-concurrent-real-time-scheduled-searches-on/m-p/511214#M143200</link>
      <description>&lt;P&gt;We recently upgraded from 6.5.4 to 6.6.0 as an interim step on our way to 7.3.6. We had about 12 realtime searches that triggered alerts that were working perfectly. right after the upgrade to 6.6.0 we get the error above and see that there is a 98% skip ratio in the Scheduler Activity dashboard. Splunk will not help us as this is an unsupported version but i need to get this foxed before i will be allowed to upgrade to the final, supported version. Here is the full event:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;07-26-2020&lt;/SPAN&gt; &lt;SPAN class="t"&gt;16:59:00.318&lt;/SPAN&gt; &lt;SPAN class="t"&gt;-0400&lt;/SPAN&gt; &lt;SPAN class="t"&gt;INFO&lt;/SPAN&gt; &lt;SPAN class="t"&gt;SavedSplunker&lt;/SPAN&gt; &lt;SPAN class="t"&gt;-&lt;/SPAN&gt; &lt;SPAN class="t"&gt;savedsearch_id=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;nobody&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;search&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;Route&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Flapping&lt;/SPAN&gt;&lt;SPAN&gt;", &lt;/SPAN&gt;&lt;SPAN class="t"&gt;search_type=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;scheduled&lt;/SPAN&gt;&lt;SPAN&gt;", &lt;/SPAN&gt;&lt;SPAN class="t"&gt;user=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;mvas**&lt;/SPAN&gt;&lt;SPAN&gt;", &lt;/SPAN&gt;&lt;SPAN class="t"&gt;app=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;search&lt;/SPAN&gt;&lt;SPAN&gt;", &lt;/SPAN&gt;&lt;SPAN class="t"&gt;savedsearch_name=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;Route&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Flapping&lt;/SPAN&gt;&lt;SPAN&gt;", &lt;/SPAN&gt;&lt;SPAN class="t"&gt;priority=default&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class="t"&gt;status=skipped&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class="t"&gt;reason=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;The&lt;/SPAN&gt; &lt;SPAN class="t"&gt;maximum&lt;/SPAN&gt; &lt;SPAN class="t"&gt;number&lt;/SPAN&gt; &lt;SPAN class="t"&gt;of&lt;/SPAN&gt; &lt;SPAN class="t"&gt;concurrent&lt;/SPAN&gt; &lt;SPAN class="t"&gt;real-time&lt;/SPAN&gt; &lt;SPAN class="t"&gt;scheduled&lt;/SPAN&gt; &lt;SPAN class="t"&gt;searches&lt;/SPAN&gt; &lt;SPAN class="t"&gt;on&lt;/SPAN&gt; &lt;SPAN class="t"&gt;this&lt;/SPAN&gt; &lt;SPAN class="t"&gt;instance&lt;/SPAN&gt; &lt;SPAN class="t"&gt;has&lt;/SPAN&gt; &lt;SPAN class="t"&gt;been&lt;/SPAN&gt; &lt;SPAN class="t"&gt;reached&lt;/SPAN&gt;&lt;SPAN&gt;", &lt;/SPAN&gt;&lt;SPAN class="t"&gt;concurrency_category=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;real-time_scheduled&lt;/SPAN&gt;&lt;SPAN&gt;", &lt;/SPAN&gt;&lt;SPAN class="t"&gt;concurrency_context=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;saved-search_instance-wide&lt;/SPAN&gt;&lt;SPAN&gt;", &lt;/SPAN&gt;&lt;SPAN class="t"&gt;concurrency_limit=1&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class="t"&gt;scheduled_time=1595797140&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class="t"&gt;window_time=0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;I understand the concurrency limit might be the culprit but have not been able to find how to fix it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 19:59:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/The-maximum-number-of-concurrent-real-time-scheduled-searches-on/m-p/511214#M143200</guid>
      <dc:creator>mvasquez21</dc:creator>
      <dc:date>2020-07-27T19:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: The maximum number of concurrent real-time scheduled searches on this instance has been reached</title>
      <link>https://community.splunk.com/t5/Splunk-Search/The-maximum-number-of-concurrent-real-time-scheduled-searches-on/m-p/511219#M143203</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/207748"&gt;@mvasquez21&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;whats your rt search limit? If you have 12 real time searches, then your limit for real time jobs should be equal OR more than that. looking&amp;nbsp;from the internal logs your limit is 1.&lt;/P&gt;&lt;P&gt;Please validate these two attributes in authorize.conf&lt;/P&gt;&lt;PRE&gt;rtSrchJobsQuota &lt;/PRE&gt;&lt;PRE&gt;cumulativeRTSrchJobsQuota&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 20:14:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/The-maximum-number-of-concurrent-real-time-scheduled-searches-on/m-p/511219#M143203</guid>
      <dc:creator>anilchaithu</dc:creator>
      <dc:date>2020-07-27T20:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: The maximum number of concurrent real-time scheduled searches on this instance has been reached</title>
      <link>https://community.splunk.com/t5/Splunk-Search/The-maximum-number-of-concurrent-real-time-scheduled-searches-on/m-p/511222#M143213</link>
      <description>&lt;P&gt;There are quite number of moving elements here&lt;/P&gt;&lt;P&gt;- is it Search Head cluster?&lt;/P&gt;&lt;P&gt;- how many CPU cores/memory your shc and indexers have?&lt;/P&gt;&lt;P&gt;But doing a guess, the settings are configured in `limits.conf` . Run a btool of `limits.conf` and export it out and check the settings carefully. Values as &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.5/Capacity/Accommodatemanysimultaneoussearches" target="_self"&gt;per Link&lt;/A&gt; is a good start&lt;/P&gt;&lt;P&gt;in limits.conf check for&lt;/P&gt;&lt;P&gt;- shc_syswide_quota_enforcement&lt;/P&gt;&lt;P&gt;- check against your CPU cores vs maximum searches allowed to see if there is discrepency&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;base_max_searches = &amp;lt;integer&amp;gt;
* A constant to add to the maximum number of searches, computed as a
  multiplier of the CPUs.
* Default: 6

max_rt_search_multiplier = &amp;lt;decimal number&amp;gt;
* A number by which the maximum number of historical searches is multiplied
  to determine the maximum number of concurrent real-time searches.
* NOTE: The maximum number of real-time searches is computed as:
  max_rt_searches = max_rt_search_multiplier x max_hist_searches
* Default: 1

max_searches_per_cpu = &amp;lt;integer&amp;gt;
* The maximum number of concurrent historical searches for each CPU.
  The system-wide limit of historical searches is computed as:
  max_hist_searches =  max_searches_per_cpu x number_of_cpus + base_max_searches
* NOTE: The maximum number of real-time searches is computed as:
  max_rt_searches = max_rt_search_multiplier x max_hist_searches
* Default: 1&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;# If number of cpu's in your machine is 14 then total system wide number of
# concurrent searches this machine can handle is 20.
# which is base_max_searches + max_searches_per_cpu x num_cpus = 6 + 14 x 1 = 20
base_max_searches = 6
max_searches_per_cpu = 1&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 20:23:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/The-maximum-number-of-concurrent-real-time-scheduled-searches-on/m-p/511222#M143213</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2020-07-27T20:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: The maximum number of concurrent real-time scheduled searches on this instance has been reached</title>
      <link>https://community.splunk.com/t5/Splunk-Search/The-maximum-number-of-concurrent-real-time-scheduled-searches-on/m-p/511332#M143297</link>
      <description>&lt;P&gt;default=6/100&lt;BR /&gt;can_delete=0&lt;BR /&gt;power=20/200&lt;BR /&gt;admin=100/400&lt;/P&gt;&lt;P&gt;all of the searches are owned by either the admin or my account which has the admin role&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 13:29:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/The-maximum-number-of-concurrent-real-time-scheduled-searches-on/m-p/511332#M143297</guid>
      <dc:creator>mvasquez21</dc:creator>
      <dc:date>2020-07-28T13:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: The maximum number of concurrent real-time scheduled searches on this instance has been reached</title>
      <link>https://community.splunk.com/t5/Splunk-Search/The-maximum-number-of-concurrent-real-time-scheduled-searches-on/m-p/511346#M143301</link>
      <description>&lt;P&gt;search heads are not clustered.&lt;/P&gt;&lt;P&gt;the SH running these alerts has 16 cores/16G RAM&lt;/P&gt;&lt;P&gt;i checked the limits.conf and found:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; shc_syswide_quota_enforcement = false&lt;/P&gt;&lt;P&gt;Not sure what that means. Also appreciate the advice but have no idea what the rest of your post means. I am a Cisco engineer who had Splunk dumped in my lap so my knowledge is limited.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 13:53:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/The-maximum-number-of-concurrent-real-time-scheduled-searches-on/m-p/511346#M143301</guid>
      <dc:creator>mvasquez21</dc:creator>
      <dc:date>2020-07-28T13:53:23Z</dc:date>
    </item>
  </channel>
</rss>

