<?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 Splunk search jobs stuck at &amp;quot;finalizing job&amp;quot; status for few days? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-Splunk-search-jobs-stuck-at-quot-finalizing-job-quot-status/m-p/418644#M173532</link>
    <description>&lt;P&gt;Symptoms:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;It usually happen in the next couple of hours after we manually deleted the stuck search jobs &lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;It only happens to particular searches &lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Once it happens, how long the affected search is stuck with the status of "finalizing"? &lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;The affected search jobs is stuck with the status of "finalizing" until we manually deleted them.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Job status says 100% completed according to job inspection(when viewed via "Inspet Job")&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Sat, 19 Jan 2019 08:34:46 GMT</pubDate>
    <dc:creator>sdubey_splunk</dc:creator>
    <dc:date>2019-01-19T08:34:46Z</dc:date>
    <item>
      <title>Why Splunk search jobs stuck at "finalizing job" status for few days?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-Splunk-search-jobs-stuck-at-quot-finalizing-job-quot-status/m-p/418644#M173532</link>
      <description>&lt;P&gt;Symptoms:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;It usually happen in the next couple of hours after we manually deleted the stuck search jobs &lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;It only happens to particular searches &lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Once it happens, how long the affected search is stuck with the status of "finalizing"? &lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;The affected search jobs is stuck with the status of "finalizing" until we manually deleted them.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Job status says 100% completed according to job inspection(when viewed via "Inspet Job")&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Sat, 19 Jan 2019 08:34:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-Splunk-search-jobs-stuck-at-quot-finalizing-job-quot-status/m-p/418644#M173532</guid>
      <dc:creator>sdubey_splunk</dc:creator>
      <dc:date>2019-01-19T08:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk search jobs stuck at "finalizing job" status for few days?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-Splunk-search-jobs-stuck-at-quot-finalizing-job-quot-status/m-p/418645#M173533</link>
      <description>&lt;P&gt;Solution:&lt;BR /&gt;
1.  bump up max_chunk_queue_size in limits.conf in the search heads. &lt;BR /&gt;
That will reduce the necessity for pausing search result collation queues, which makes hitting the issue less likely&lt;/P&gt;

&lt;H1&gt;limit.conf : Updated below parameters to fix the issue. &lt;/H1&gt;

&lt;P&gt;[search] &lt;BR /&gt;
result_queue_max_size = 200000000 &lt;BR /&gt;
max_chunk_queue_size = 5000000 &lt;BR /&gt;
fetch_remote_search_log = false &lt;/P&gt;

&lt;H1&gt;remote_timeline_fetchall = false &lt;/H1&gt;

&lt;P&gt;Details about above paramters. &lt;/P&gt;

&lt;P&gt;result_queue_max_size = &lt;BR /&gt;
* The maximum size, in MB, that will be kept from peers for processing on &lt;BR /&gt;
  the search head before throttling the rate that data is accepted.&lt;BR /&gt;
* The “results_queue_min_size” value takes precedence. The number of search&lt;BR /&gt;
  results chunks specified by “results_queue_min_size” will always be &lt;BR /&gt;
  retained in the queue even if the combined size in MB exceeds the &lt;BR /&gt;
  “result_queue_max_size” value. &lt;BR /&gt;
* Default: 100&lt;/P&gt;

&lt;P&gt;max_chunk_queue_size = &lt;BR /&gt;
* The maximum size of the chunk queue.&lt;BR /&gt;
* default: 10000000&lt;/P&gt;

&lt;P&gt;Updating above parameters reduced the necessity for pausing search result collation queues, which makes hitting the issue less likely. And this fixed our issue.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:52:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-Splunk-search-jobs-stuck-at-quot-finalizing-job-quot-status/m-p/418645#M173533</guid>
      <dc:creator>sdubey_splunk</dc:creator>
      <dc:date>2020-09-29T22:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk search jobs stuck at "finalizing job" status for few days?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-Splunk-search-jobs-stuck-at-quot-finalizing-job-quot-status/m-p/418646#M173534</link>
      <description>&lt;P&gt;Great question/answer, please accept your answer unless your waiting for alternative answers!&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jan 2019 22:07:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-Splunk-search-jobs-stuck-at-quot-finalizing-job-quot-status/m-p/418646#M173534</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2019-01-20T22:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk search jobs stuck at "finalizing job" status for few days?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-Splunk-search-jobs-stuck-at-quot-finalizing-job-quot-status/m-p/747458#M241825</link>
      <description>&lt;P&gt;Are these changes still relevant as of 2025?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 08:47:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-Splunk-search-jobs-stuck-at-quot-finalizing-job-quot-status/m-p/747458#M241825</guid>
      <dc:creator>oren_s</dc:creator>
      <dc:date>2025-06-04T08:47:23Z</dc:date>
    </item>
  </channel>
</rss>

