+1 From: Stéphane Maarek [mailto:[email protected]] Sent: Monday, July 18, 2016 11:53 PM To: [email protected] Subject: Re: Increase the number of threads available to a Node
JIRA created: https://issues.apache.org/jira/browse/NIFI-2311 On Tue, Jul 19, 2016 at 3:40 PM Andy LoPresto <[email protected]<mailto:[email protected]>> wrote: Stéphane, I think this is a great idea. Would you please create a Jira for this feature? The threshold for frequency may need to be configurable, and if the alert icon is clicked or hovered, it could offer a quick description of the issue and how to resolve it. Andy LoPresto [email protected]<mailto:[email protected]> [email protected]<mailto:[email protected]> PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4 BACE 3C6E F65B 2F7D EF69 On Jul 18, 2016, at 10:24 PM, Stéphane Maarek <[email protected]<mailto:[email protected]>> wrote: Hi Joe, Been using NiFi for a while and I have always been wondering why I was capping at 10 thread. Now I have my answer :) It would be great to have a visual cue (warning sign) next to Active thread on the left hand side, in case the max number is reached too often. Giving the user an idea of how many threads are available to him to as a helper would be great. Cheers, Stephane On Fri, Jul 15, 2016 at 2:35 AM Kevin Verhoeven <[email protected]<mailto:[email protected]>> wrote: Thank you Joe, that was exactly what I was looking for. Kevin -----Original Message----- From: Joe Witt [mailto:[email protected]<mailto:[email protected]>] Sent: Wednesday, July 13, 2016 4:27 PM To: [email protected]<mailto:[email protected]> Subject: Re: Increase the number of threads available to a Node Hello Take a look here https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#Controller_Settings You probably want this to be higher than the default value. Thanks Joe On Wed, Jul 13, 2016 at 7:21 PM, Kevin Verhoeven <[email protected]<mailto:[email protected]>> wrote: > I am running a NiFi cluster (0.7.0 snapshot) that contains 19 nodes > and my workflows appear to be thread starved. I have reduced the > number of concurrent tasks on each of the Processors, but my servers > actually appear to have more threads available – and CPU and load > average is very low. So I would like to increase the number of threads > available to the nodes. I have been searching through the > nifi.properties file for a way to control the number of threads > available to a NiFi Node and I’ve come across a few different thread > parameters. Can you explain what I should be using: > > > > nifi.web.jetty.threads The number of Jetty threads. The default value > is 200. > > nifi.cluster.node.protocol.threads The number of threads used for the > node protocol. The default value is 2. > > nifi.cluster.manager.node.api.request.threads The number of threads to > use for API requests. The default value is 10. > > nifi.cluster.manager.protocol.threads The number of threads used for > the cluster manager protocol. The default value is 10. > > > > Regards, > > > > Kevin > >
