<?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: Number of user processes for nifi user: Failed remote connection, input stream is closed. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Number-of-user-processes-for-nifi-user-Failed-remote/m-p/162234#M57336</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/3938/joshuaadeleke.html" nodeid="3938"&gt;@Joshua Adeleke&lt;/A&gt;&lt;P&gt;With NiFi dataflows it is typically to see large numbers of open file handles and user processes because of the concurrent thread operation supported by its many components.&lt;/P&gt;&lt;P&gt;In many cases you will find that the default ulimits for both open files and processes will fall short of what is needed for most dataflows.&lt;/P&gt;&lt;P&gt;I recommend setting these values to 50000 out the gate.  You may find your self depending on volumes and complexity of your dataflow(s) needing to even set this higher.  The default 1024 is almost always guaranteed to be an issue.&lt;/P&gt;&lt;P&gt;/etc/security/limits.conf&lt;/P&gt;&lt;PRE&gt;*          hard    nproc    50000
*          soft    nproc    50000
*          hard    nofiles  50000
*          soft    nofiles  50000&lt;/PRE&gt;&lt;P&gt;/etc/security/limits.d/90-nproc.conf&lt;/P&gt;&lt;PRE&gt;*          hard    nproc    50000
*          soft    nproc    50000&lt;/PRE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
    <pubDate>Fri, 17 Mar 2017 20:23:02 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2017-03-17T20:23:02Z</dc:date>
    <item>
      <title>Number of user processes for nifi user: Failed remote connection, input stream is closed.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Number-of-user-processes-for-nifi-user-Failed-remote/m-p/162233#M57335</link>
      <description>&lt;P&gt;I found a ListSFTP processor with error "Failed remote connection, input stream is closed". This was temporarily resolved by increasing the nproc to 10240 from 1024.&lt;/P&gt;&lt;P&gt;Is this nproc count normal or should i be ready to increase the nproc to unlimited?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 17:04:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Number-of-user-processes-for-nifi-user-Failed-remote/m-p/162233#M57335</guid>
      <dc:creator>joshua_adeleke</dc:creator>
      <dc:date>2017-03-17T17:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Number of user processes for nifi user: Failed remote connection, input stream is closed.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Number-of-user-processes-for-nifi-user-Failed-remote/m-p/162234#M57336</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/3938/joshuaadeleke.html" nodeid="3938"&gt;@Joshua Adeleke&lt;/A&gt;&lt;P&gt;With NiFi dataflows it is typically to see large numbers of open file handles and user processes because of the concurrent thread operation supported by its many components.&lt;/P&gt;&lt;P&gt;In many cases you will find that the default ulimits for both open files and processes will fall short of what is needed for most dataflows.&lt;/P&gt;&lt;P&gt;I recommend setting these values to 50000 out the gate.  You may find your self depending on volumes and complexity of your dataflow(s) needing to even set this higher.  The default 1024 is almost always guaranteed to be an issue.&lt;/P&gt;&lt;P&gt;/etc/security/limits.conf&lt;/P&gt;&lt;PRE&gt;*          hard    nproc    50000
*          soft    nproc    50000
*          hard    nofiles  50000
*          soft    nofiles  50000&lt;/PRE&gt;&lt;P&gt;/etc/security/limits.d/90-nproc.conf&lt;/P&gt;&lt;PRE&gt;*          hard    nproc    50000
*          soft    nproc    50000&lt;/PRE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 20:23:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Number-of-user-processes-for-nifi-user-Failed-remote/m-p/162234#M57336</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2017-03-17T20:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Number of user processes for nifi user: Failed remote connection, input stream is closed.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Number-of-user-processes-for-nifi-user-Failed-remote/m-p/162235#M57337</link>
      <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/525/mclark.html" nodeid="525"&gt;@Matt Clarke&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 17:52:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Number-of-user-processes-for-nifi-user-Failed-remote/m-p/162235#M57337</guid>
      <dc:creator>joshua_adeleke</dc:creator>
      <dc:date>2017-03-20T17:52:27Z</dc:date>
    </item>
  </channel>
</rss>

