<?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: User profile web UI option &amp;quot;Restart background jobs when the Splunk software is restarted&amp;quot; what does it ac in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/User-profile-web-UI-option-quot-Restart-background-jobs-when-the/m-p/610655#M26057</link>
    <description>&lt;P&gt;Does anyone have an answer to that?&lt;/P&gt;</description>
    <pubDate>Wed, 24 Aug 2022 11:03:04 GMT</pubDate>
    <dc:creator>tschikste</dc:creator>
    <dc:date>2022-08-24T11:03:04Z</dc:date>
    <item>
      <title>User profile web UI option "Restart background jobs when the Splunk software is restarted" what does it actually do?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/User-profile-web-UI-option-quot-Restart-background-jobs-when-the/m-p/479295#M16675</link>
      <description>&lt;P&gt;This option exists under each users profile.&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/276031-on-restart.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;This seems to imply that if a user submits a long running (ie. 2 hour report) ah-hoc search via the gui, then performs a "send to background" (ie. adjusts job ttl to 7 days) that it will be restarted IF the search head restarts.&lt;/P&gt;

&lt;P&gt;I was under the impression that the search head will wait for 6 mins or so before it starts killing off in process jobs.&lt;/P&gt;

&lt;P&gt;In the server.conf there is the splunkd stop timeout.&lt;/P&gt;

&lt;P&gt;splunkd_stop_timeout = &lt;BR /&gt;
* The maximum time, in seconds, that splunkd waits for a graceful shutdown to&lt;BR /&gt;
  complete before splunkd forces a stop.&lt;BR /&gt;
* Default: 360 (6 minutes)&lt;/P&gt;

&lt;P&gt;What actually happens to this (and other) long running jobs when the admin issues a "splunk restart" and users have this setting enabled?&lt;/P&gt;

&lt;P&gt;Is the search head storing this job somewhere between shutdown and restart?&lt;/P&gt;

&lt;P&gt;What about paused jobs with long ttl's?&lt;/P&gt;

&lt;P&gt;I've tried pausing a search and then a search head restart. &lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/276047-job-restart.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;So it appears that in certain circumstances this actually works?&lt;/P&gt;

&lt;P&gt;Why wouldn't this be, or is it, normal behavior on shutdown for all jobs regardless of the splunkd stop timeout?&lt;/P&gt;

&lt;P&gt;Pause all running jobs.&lt;BR /&gt;
restart.&lt;BR /&gt;
Restart all previously running but paused jobs?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:53:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/User-profile-web-UI-option-quot-Restart-background-jobs-when-the/m-p/479295#M16675</guid>
      <dc:creator>Lucas_K</dc:creator>
      <dc:date>2020-09-30T02:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: User profile web UI option "Restart background jobs when the Splunk software is restarted" what does it ac</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/User-profile-web-UI-option-quot-Restart-background-jobs-when-the/m-p/610655#M26057</link>
      <description>&lt;P&gt;Does anyone have an answer to that?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 11:03:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/User-profile-web-UI-option-quot-Restart-background-jobs-when-the/m-p/610655#M26057</guid>
      <dc:creator>tschikste</dc:creator>
      <dc:date>2022-08-24T11:03:04Z</dc:date>
    </item>
  </channel>
</rss>

