Skip to content
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

CPU usage jumps to 100% when no UAV connected and remote TCP device disconnects #1006

Open
dwaiting opened this issue Feb 7, 2022 · 0 comments

Comments

@dwaiting
Copy link

dwaiting commented Feb 7, 2022

Steps to reproduce:

  1. Start MAVProxy with UDP master and TCP out: mavproxy.py --master udpin:0.0.0.0:14550 --out tcpin:0.0.0.0:14550
  2. QGroundControl connects to MAVProxy via tcpin link
  3. Go to Comm Links in QGroundControl and hit "Disconnect" on the TCP connection

mavproxy.py CPU usage jumps to 100% and stays there:

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                                                       
 822890 dwaiting  20   0  280876  77804  33712 S 100.0   7.8   2:08.59 mavproxy.py 

In addition to the problem with the CPU, MAVProxy will not accept another TCP connection at this point.

This problem occurs only when there is no active UAV connected to the udpin link. If there is an active UAV, QGroundControl can connect and disconnect repeatedly, and neither of the above problems are observed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant