You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Randy Gelhausen (JIRA)" <ji...@apache.org> on 2017/05/05 17:03:04 UTC
[jira] [Updated] (NIFI-2268) HandleHttpRequest can use too many
tasks and CPU
[ https://issues.apache.org/jira/browse/NIFI-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Randy Gelhausen updated NIFI-2268:
----------------------------------
Attachment: flow.xml.gz
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)