You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/09/03 13:08:13 UTC

[GitHub] [camel-kafka-connector] orpiske edited a comment on issue #414: High CPU Usage with RabbitMQ Connector (polling interface implemented incorrectly?)

orpiske edited a comment on issue #414:
URL: https://github.com/apache/camel-kafka-connector/issues/414#issuecomment-686477212


   > > Another thing I noticed: the reproducer has the tasks.max set to 10. This is not yet supported. After I decreased it to 1, the CPU usage on my case decreased significantly.
   > 
   > Have you had a look at the load on the individual cores of your system? Setting `tasks.max` to 1 will, indeed, reduce the overall system load as only one worker respectively one thread is spawned, but this worker will utilize "its core" to 100%. So if you have a system with two CPU cores, the CPU usage will be at 50% (or 100% in top with Irix mode)
   
   I did not look individually to a specific core, but the load did decrease by a factor of 10 (ie.: from ~31% previously to ~3% after that). Good catch.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org