[ 
https://issues.apache.org/jira/browse/NIFI-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15998575#comment-15998575
 ] 

Randy Gelhausen edited comment on NIFI-2268 at 5/5/17 5:02 PM:
---------------------------------------------------------------

I attached a sample flow definition to reproduce very high CPU usage for 
simplest possible HandleHTTPRequest config


was (Author: randerzander):
Flow definition to reproduce very high CPU usage for simplest possible 
HandleHTTPRequest config

> HandleHttpRequest can use too many tasks and CPU
> ------------------------------------------------
>
>                 Key: NIFI-2268
>                 URL: https://issues.apache.org/jira/browse/NIFI-2268
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 0.7.0
>            Reporter: Michael Moser
>            Priority: Minor
>         Attachments: flow.xml.gz
>
>
> With the default settings of HandleHttpRequest, user reports 100% CPU usage 
> and millions of scheduled tasks.  When this processor doesn't have work to 
> do, its onTrigger() should call ProcessContext.yield().  This is how the 
> ListenHTTP processor works, so it's an established pattern.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to