eProsima / Micro-XRCE-DDS-Agent

Micro XRCE-DDS Agent respository. Looking for commercial support? Contact info@eprosima.com
Apache License 2.0
109 stars 77 forks source link

Re-establishing connection to clinet on Jetson Nano #357

Open u19002409 opened 10 months ago

u19002409 commented 10 months ago

Steps to reproduce the issue

In order to reproduce my error, I have to start the microagent and it occurs at random intervals.

Expected behavior

Establish a Connection and keeo that session.

Actual behavior

Creates a session and then restarts the session multiple times, here are examples of the session reastablishment, and my performance monitors Screenshot from 2023-12-01 09-54-30 Screenshot from 2023-12-01 09-47-04 Screenshot from 2023-12-01 09-46-29 Screenshot from 2023-12-01 09-46-23 Screenshot from 2023-12-01 09-46-16 Screenshot from 2023-12-01 09-46-03

Additional information

I would like to know if anyone can help me with my particular issue. My suspicion is that the system creates a session either because of memory issues or CPU issues. I have monitored the system performance and upon monitoring I am not really convinced the tha CPU is the issue, at some times when CPU ussage is high the Agents will recreate a session, but sometimes it recreates a session without a high CPU usage, The memory usage is also within reason which leads me to think it must be either CPU or something else, any advise would be appreciated.

pablogs9 commented 10 months ago

Which is your Micro XRCE-DDS Client code?

u19002409 commented 10 months ago

It is the latest version from the github repository so I think its v2.4.2.

pablogs9 commented 10 months ago

I meant you application code

u19002409 commented 10 months ago

I do not believe I have one, or can you guide me where to get it.

pablogs9 commented 10 months ago

Which XRCE DDS Client application are you running?

u19002409 commented 10 months ago

O I have the one for PX4 firmware installed and run from the the PX4 guide: https://docs.px4.io/main/en/middleware/uxrce_dds.html