[
https://issues.apache.org/jira/browse/NIFI-1910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15300105#comment-15300105
]
Andrew Grande commented on NIFI-1910:
-------------------------------------
I think this can be closed as Won'tFix. We had a chance to discuss, the reason
was the Unmatched relationship loop - it is not penalized in case of a
RouteOnContent, as it can be a valid path. The downside was it kept hammering
the processor. Moving it to a different flow branch or auto-terminating
resolves the issue.
> RouteOnContent causes high CPU usage with no data
> -------------------------------------------------
>
> Key: NIFI-1910
> URL: https://issues.apache.org/jira/browse/NIFI-1910
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 0.6.1
> Environment: RPI3
> Reporter: Andrew Grande
> Attachments: screenshot.png
>
>
> I have a RouteOnContent step in my flow which performs a simple regex match
> with 2 outcomes (pass and unmatched).
> However, I noticed that it is spinning with a lot of empty task cycles when
> there is no data incoming at all. Moreover it causes 120% cpu usage spikes.
> Confirmed multiple times via top by simply stopping and starting
> RouteOnContent.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)