<?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: Simultaneous queries/jobs limit in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Simultaneous-queries-jobs-limit/m-p/40891#M9468</link>
    <description>&lt;P&gt;Yes, there is a limit and it's configurable in &lt;CODE&gt;limits.conf&lt;/CODE&gt; in:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[search]
# the maximum number of concurrent searches per CPU 
max_searches_per_cpu = 4

# the base number of concurrent searches
base_max_searches = 4

# max real-time searches = max_rt_search_multiplier x max historical searches
max_rt_search_multiplier = 3

# the total number of concurrent searches is base_max_searches + #cpus*max_searches_per_cpu
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;A separate per-user limit exists in &lt;CODE&gt;authorize.conf&lt;/CODE&gt; in:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[role_&amp;lt;role&amp;gt;]
srchDiskQuota = &amp;lt;number&amp;gt;
    * Maximum amount of disk space (MB) that can be taken by search jobs of a user that belongs to this role
    * Defaults to '100', for 100 MB.

srchJobsQuota = &amp;lt;number&amp;gt;
    * Maximum number of concurrently running historical searches a member of this role can have (excludes real-time searches, see rtSrchJobsQuota)
    * Defaults to 3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Saved searches count towards this limit, but they have a stricter quota expressed as a percent of the system-wide quota in &lt;CODE&gt;limits.conf&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[scheduler]
# the maximum number of searches the scheduler can run, as a percentage
# of the maximum number of concurrent searches 
max_searches_perc  = 25
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;There is also a per-savedsearch concurrent limit which defaults to 1 and is set per-search in &lt;CODE&gt;savedsearches.conf&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[&amp;lt;search_name&amp;gt;]
max_concurrent = &amp;lt;int&amp;gt;
    * The maximum number of concurrent instances of this search the scheduler 
    * is allowed to run. 
    * Defaults to 1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 01 Sep 2010 00:23:17 GMT</pubDate>
    <dc:creator>Stephen_Sorkin</dc:creator>
    <dc:date>2010-09-01T00:23:17Z</dc:date>
    <item>
      <title>Simultaneous queries/jobs limit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Simultaneous-queries-jobs-limit/m-p/40890#M9467</link>
      <description>&lt;P&gt;Hi  &lt;/P&gt;

&lt;P&gt;I was wondering if there is a limit on the count of simultaneous queries/searches/jobs executed in a Splunk instance.  &lt;/P&gt;

&lt;P&gt;Would saved searches count towards this limit (if there is one)?&lt;BR /&gt;
Appreciate your help.  &lt;/P&gt;

&lt;P&gt;-Ranga&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2010 00:09:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Simultaneous-queries-jobs-limit/m-p/40890#M9467</guid>
      <dc:creator>sranga</dc:creator>
      <dc:date>2010-09-01T00:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Simultaneous queries/jobs limit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Simultaneous-queries-jobs-limit/m-p/40891#M9468</link>
      <description>&lt;P&gt;Yes, there is a limit and it's configurable in &lt;CODE&gt;limits.conf&lt;/CODE&gt; in:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[search]
# the maximum number of concurrent searches per CPU 
max_searches_per_cpu = 4

# the base number of concurrent searches
base_max_searches = 4

# max real-time searches = max_rt_search_multiplier x max historical searches
max_rt_search_multiplier = 3

# the total number of concurrent searches is base_max_searches + #cpus*max_searches_per_cpu
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;A separate per-user limit exists in &lt;CODE&gt;authorize.conf&lt;/CODE&gt; in:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[role_&amp;lt;role&amp;gt;]
srchDiskQuota = &amp;lt;number&amp;gt;
    * Maximum amount of disk space (MB) that can be taken by search jobs of a user that belongs to this role
    * Defaults to '100', for 100 MB.

srchJobsQuota = &amp;lt;number&amp;gt;
    * Maximum number of concurrently running historical searches a member of this role can have (excludes real-time searches, see rtSrchJobsQuota)
    * Defaults to 3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Saved searches count towards this limit, but they have a stricter quota expressed as a percent of the system-wide quota in &lt;CODE&gt;limits.conf&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[scheduler]
# the maximum number of searches the scheduler can run, as a percentage
# of the maximum number of concurrent searches 
max_searches_perc  = 25
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;There is also a per-savedsearch concurrent limit which defaults to 1 and is set per-search in &lt;CODE&gt;savedsearches.conf&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[&amp;lt;search_name&amp;gt;]
max_concurrent = &amp;lt;int&amp;gt;
    * The maximum number of concurrent instances of this search the scheduler 
    * is allowed to run. 
    * Defaults to 1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Sep 2010 00:23:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Simultaneous-queries-jobs-limit/m-p/40891#M9468</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2010-09-01T00:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Simultaneous queries/jobs limit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Simultaneous-queries-jobs-limit/m-p/40892#M9469</link>
      <description>&lt;P&gt;Hi Stephen. Thanks for the answer. Is there a "physical" limit or a "recommended" limit for these configurable values depending on the hardware being used?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2010 03:55:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Simultaneous-queries-jobs-limit/m-p/40892#M9469</guid>
      <dc:creator>sranga</dc:creator>
      <dc:date>2010-09-01T03:55:25Z</dc:date>
    </item>
  </channel>
</rss>

