You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Mark Payne (JIRA)" <ji...@apache.org> on 2015/11/04 22:31:27 UTC

[jira] [Updated] (NIFI-1111) NiFi uses quite a bit of CPU even when it has nothing to do

     [ https://issues.apache.org/jira/browse/NIFI-1111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Payne updated NIFI-1111:
-----------------------------
    Attachment: 0001-NIFI-1111-We-were-subtracting-values-in-the-wrong-or.patch

> NiFi uses quite a bit of CPU even when it has nothing to do
> -----------------------------------------------------------
>
>                 Key: NIFI-1111
>                 URL: https://issues.apache.org/jira/browse/NIFI-1111
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>             Fix For: 0.4.0
>
>         Attachments: 0001-NIFI-1111-We-were-subtracting-values-in-the-wrong-or.patch
>
>
> When a Processor is unable to perform any work, it has the ability to "yield," or pause itself so that it does not chew up resources while it's unable to do anything useful. It appears, though, that even when a Processor is yielded, it uses a lot of CPU. Adding some logging shows that this is due to Processors continually checking if there is work to do, even when they are yielded. This can be improved.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)