rosout high cpu

asked 2020-03-01 14:18:12 -0600

Tomer Azran gravatar image

Hello,

I have a problem with ROS, the rosout process is taking more than 150% CPU. Here is what top command output shows:

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                                                        
 1269 pi        20   0   77860  19956  11048 R 151.3  2.2  18:49.27 rosout

Please notice that only roscore is running - no other nodes.

The hardware is raspberry PI 2. The OS is raspbian. ROS version is Melodic (1.14.3) - compiled from sources.

roscore output:

SUMMARY

PARAMETERS
 * /rosdistro: melodic
 * /rosversion: 1.14.3

NODES

auto-starting new master
process[master]: started with pid [1251]
ROS_MASTER_URI=http://robot1.robot-heaven.local:11311/

setting /run_id to 462ea502-f6fc-11e9-9a79-b827eb3615ca
process[rosout-1]: started with pid [1269]
started core service [/rosout]

Can you please advise?

edit retag flag offensive close merge delete

Comments

As you have built things from sources, you could be running into ros_comm#1715 (and/or ros/ros_comm#1343).

gvdhoorn gravatar image gvdhoorn  ( 2020-03-02 02:15:56 -0600 )edit

I rebuild ROS from scratch using latest melodic version, and the problem solved.

Tomer Azran gravatar image Tomer Azran  ( 2020-03-19 15:32:59 -0600 )edit