Five processes are started within one second while the node is running.
My environment is ubuntu 16.04 + ros kinetic.
I have seven ros nodes running on a mobile robot, and use glog to log running status and data.
Yesterday, the robot was powered on normally and worked fine for one hour. Without any other interruption, at 9:08am there were five new processes being created with the same node name within one second, and there were five new log files created. This happened on six ros nodes, so there were 30 new processes created within one second. However, at the same time, the original process was still running and writing log files, until four minutes later, at 9:12am. The original process died and stopped logging. The new five processes kept running and writing logs until 9:26am, a collision happened.
A potential relevant observation is that, usually when I used htop to monitor computing resource, I noticed multiple processes are running under one rosnode. But I don't know why and when will this happen. Could anyone give any hints or clues?
Thanks.
Are you sure these are processes? Could they be threads?
They have different pids, both shown in htop, and in log filenames. So I called them "processes". And all these five "processes" were writing independent log files at the same time. And for each node, they are all simple single thread node.