<?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>question Re: Can the NiFi bootstrap process be configured to restart the core NiFi process if it hits a critical failure such as OOM? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-NiFi-bootstrap-process-be-configured-to-restart-the/m-p/140937#M35485</link>
    <description>&lt;P&gt;The boostrap process restarts NiFi when the main NiFi process dies. An easy test is to start a new NiFi and then kill -9 the main process and you'll immediately see it come back with a new pid.&lt;/P&gt;&lt;P&gt;OOM would probably be tricky because a lot of times the Java process does not die when encountering an OOM and sticks around in some bad state.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jul 2016 01:43:27 GMT</pubDate>
    <dc:creator>bbende</dc:creator>
    <dc:date>2016-07-22T01:43:27Z</dc:date>
    <item>
      <title>Can the NiFi bootstrap process be configured to restart the core NiFi process if it hits a critical failure such as OOM?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-NiFi-bootstrap-process-be-configured-to-restart-the/m-p/140935#M35483</link>
      <description>&lt;P&gt;I am aware that the NiFi bootstrap process can be configured to provide notifications in the event of a NiFi failure but I am wondering if we can configure the bootstrap process to not only detect and notify users of a failure but to also attempt to bring the NiFi process back to life? Am I missing an obvious config parameter in the &lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#bootstrap_properties"&gt;guide&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 20:34:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-NiFi-bootstrap-process-be-configured-to-restart-the/m-p/140935#M35483</guid>
      <dc:creator>bwilson</dc:creator>
      <dc:date>2016-07-21T20:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can the NiFi bootstrap process be configured to restart the core NiFi process if it hits a critical failure such as OOM?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-NiFi-bootstrap-process-be-configured-to-restart-the/m-p/140936#M35484</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/99/bwilson.html" nodeid="99"&gt;@Brandon Wilson&lt;/A&gt; I believe the best way to do this would be to install NiFi on your system using &lt;/P&gt;&lt;PRE&gt;$NIFI_HOME/bin/nifi.sh install
&lt;/PRE&gt;&lt;P&gt;and then using an OS level processing management tool (supervisord on Ubuntu for example) to monitor that process and then restart it based on configurations that you provide to the process management tool.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 20:41:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-NiFi-bootstrap-process-be-configured-to-restart-the/m-p/140936#M35484</guid>
      <dc:creator>jdyer</dc:creator>
      <dc:date>2016-07-21T20:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can the NiFi bootstrap process be configured to restart the core NiFi process if it hits a critical failure such as OOM?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-NiFi-bootstrap-process-be-configured-to-restart-the/m-p/140937#M35485</link>
      <description>&lt;P&gt;The boostrap process restarts NiFi when the main NiFi process dies. An easy test is to start a new NiFi and then kill -9 the main process and you'll immediately see it come back with a new pid.&lt;/P&gt;&lt;P&gt;OOM would probably be tricky because a lot of times the Java process does not die when encountering an OOM and sticks around in some bad state.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 01:43:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-NiFi-bootstrap-process-be-configured-to-restart-the/m-p/140937#M35485</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2016-07-22T01:43:27Z</dc:date>
    </item>
  </channel>
</rss>

