-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High cpu usage when creating a node in on_activate of lifecycle node #1242
Comments
I can reproduce the issue by your source code.
I used 'RMW_IMPLEMENTATION=rmw_cyclonedds_cpp' to test again, the issue didn't happen. Run the test with '--ros-args --log-level debug'
|
After checking, I found it's a problem related to rmw_fastrtps_cpp. patch as follow,
|
it would be helpful if we make the PR to rmw_fastrtps !!! CC: @MiguelCompany |
Got it. I'll do it. |
I think that you can close this. |
Bug report
Required Info:
Operating System:
Installation type:
Version or commit hash:
DDS implementation:
Client library (if applicable):
Steps to reproduce issue
Run this node and start it using a life cycle manager.
Expected behavior
Node should start and activate after which CPU usage should get low.
Actual behavior
Node does start (The lifecycle manager indicates it succeeded and I have had this issue with a more complex node as well, which responded after starting) but the CPU usage remains around 100% (viewed using htop).
Additional information
Node creation is required to call a service in the
on_activate
The text was updated successfully, but these errors were encountered: