<?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 Why are we getting message &amp;quot;waiting for queued job to start...&amp;quot; and search job takes 5 minutes to run? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119886#M32175</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;One of my customers received a "waiting for queued job to start" message today, and it then took about 5 minutes for the job to run.   How can I trouble-shoot this, (since I have a boat-load of people about ready to start using Splunk)...&lt;/P&gt;</description>
    <pubDate>Wed, 10 Sep 2014 19:47:38 GMT</pubDate>
    <dc:creator>a212830</dc:creator>
    <dc:date>2014-09-10T19:47:38Z</dc:date>
    <item>
      <title>Why are we getting message "waiting for queued job to start..." and search job takes 5 minutes to run?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119886#M32175</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;One of my customers received a "waiting for queued job to start" message today, and it then took about 5 minutes for the job to run.   How can I trouble-shoot this, (since I have a boat-load of people about ready to start using Splunk)...&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2014 19:47:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119886#M32175</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2014-09-10T19:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why are we getting message "waiting for queued job to start..." and search job takes 5 minutes to run?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119887#M32176</link>
      <description>&lt;P&gt;Anyone? I've looked for this message and skipped jobs, but haven't been able to find anything.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2014 19:02:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119887#M32176</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2014-09-12T19:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why are we getting message "waiting for queued job to start..." and search job takes 5 minutes to run?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119888#M32177</link>
      <description>&lt;P&gt;The jobs won't show as skipped, because that's solely for scheduled jobs.&lt;/P&gt;

&lt;P&gt;How many CPU on the search head? The maximum number of concurrent historical searches is based upon the number of CPU on the search head.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2014 20:16:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119888#M32177</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2014-09-12T20:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why are we getting message "waiting for queued job to start..." and search job takes 5 minutes to run?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119889#M32178</link>
      <description>&lt;P&gt;64 cores per server, using SHP.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Sep 2014 11:30:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119889#M32178</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2014-09-13T11:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why are we getting message "waiting for queued job to start..." and search job takes 5 minutes to run?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119890#M32179</link>
      <description>&lt;P&gt;use SOS app to see which jobs are taking more time. The message suggests all of your cores are already taken and they are waiting for a free core to start the job. See the jobs in the jobs option and System Activity about users.&lt;/P&gt;

&lt;P&gt;And in a distributed environment they also depend on Indexer how they handle the search head requests. So you might as well look into your indexer usage. Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 13 Sep 2014 12:01:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119890#M32179</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-09-13T12:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why are we getting message "waiting for queued job to start..." and search job takes 5 minutes to run?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119891#M32180</link>
      <description>&lt;P&gt;We ran into the same issue on our environment. The number of concurrent searches which can be executed is controlled by  &lt;CODE&gt;max_searches_per_cpu&lt;/CODE&gt;, which by default is set 1.  Also &lt;CODE&gt;base_max_searches&lt;/CODE&gt; is added to above number to define the max searches which can be executed at the same time.&lt;/P&gt;

&lt;P&gt;max # searches = (value of &lt;CODE&gt;max_searches_per_cpu&lt;/CODE&gt; * # CPUs) + &lt;CODE&gt;base_max_searches&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;With SHP and based on how many users are logged on to a server load balanced by VIP and also the Dashboards they are launching you might start getting Job queued. One other major is the scheduled reports/searches/alerts you have in the system, these add to the queuing. &lt;/P&gt;

&lt;P&gt;Most of the time queuing will be seen at 15, 30, 45 and 00 mins past the hour (like a wave) as users tend to run scheduled stuff every 5/10/15 mins. Hardest hit is at top of the hour when most of the searches run at the same time.&lt;/P&gt;

&lt;P&gt;I would advise you start with &lt;CODE&gt;max_searches_per_cpu&lt;/CODE&gt; to 2 in local limits.conf on the servers and go up to 4.  If you start seeing the issue at value 4 then plan to add another server with same # of CPU to your SHP.&lt;/P&gt;

&lt;P&gt;See:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.3/admin/Limitsconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.3/admin/Limitsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Search &lt;CODE&gt;max_searches_per_cpu&lt;/CODE&gt; in Splunk Answers for more insight.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2014 17:05:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119891#M32180</guid>
      <dc:creator>bohrasaurabh</dc:creator>
      <dc:date>2014-09-17T17:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why are we getting message "waiting for queued job to start..." and search job takes 5 minutes to run?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119892#M32181</link>
      <description>&lt;P&gt;Good stuff!  Thanks. &lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2014 14:57:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119892#M32181</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2014-09-19T14:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why are we getting message "waiting for queued job to start..." and search job takes 5 minutes to run?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119893#M32182</link>
      <description>&lt;P&gt;Thanks this worked great :).&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2015 16:01:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119893#M32182</guid>
      <dc:creator>scc00</dc:creator>
      <dc:date>2015-04-17T16:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why are we getting message "waiting for queued job to start..." and search job takes 5 minutes to run?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119894#M32183</link>
      <description>&lt;P&gt;This error also occurs if your user has gone over disk space quota for saved searches. If that's the case, the error can be seen in the Job Inspector.  Delete saved searches under Activity-&amp;gt;Jobs to clear this problem.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 14:36:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119894#M32183</guid>
      <dc:creator>andygerber</dc:creator>
      <dc:date>2016-04-29T14:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why are we getting message "waiting for queued job to start..." and search job takes 5 minutes to run?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119895#M32184</link>
      <description>&lt;P&gt;This worked too. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 14:12:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119895#M32184</guid>
      <dc:creator>mbksplunk</dc:creator>
      <dc:date>2016-08-10T14:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why are we getting message "waiting for queued job to start..." and search job takes 5 minutes to run?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119896#M32185</link>
      <description>&lt;P&gt;Even i faced the same issue today and tried varies thing but it didn't worked out. when i increases the  User-level concurrent search jobs  Limit and total jobs disk quota in the role through access control option , the dashboard started working fine again&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 07:58:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-we-getting-message-quot-waiting-for-queued-job-to-start/m-p/119896#M32185</guid>
      <dc:creator>rajiv_r</dc:creator>
      <dc:date>2019-11-19T07:58:38Z</dc:date>
    </item>
  </channel>
</rss>

