I often get a python process with 100% CPU.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
12 root 20 0 190584 28144 8652 R 100.0 0.2 158:33.47 python
The logs are:
# tail -f post-processing.log
2019-09-18T21:39:31.777914> no timezone support, time will be expressed only in local time
2019-09-18T21:39:31.778025> post status: start running
2019-09-18T21:39:31.957543> get_gps.py: removing /app/logs/gateway_gps.txt file
2019-09-18T21:39:31.957657> get_gps.py: no /app/logs/gateway_gps.txt file
2019-09-18T21:39:31.980709> post status: dynamic GPS is requested
2019-09-18T21:39:31.980822> post status get GPS: use sensors_in_raspi/get_gps.py to get GPS position
2019-09-18T21:39:31.980909> post status get GPS: no GPS coordinates
2019-09-18T21:39:31.980992> post status: show current GPS position
2019-09-18T21:39:31.981075> post status show GPS: current GPS coordinate: gw lat 43.51 long -1.36
2019-09-18T21:39:31.981157> post status: exiting
2019-09-18T21:49:32.224237> 2019-09-18 21:49:32.224053
2019-09-18T21:49:32.224297> post status: gw ON
2019-09-18T21:49:32.224336> post status: executing periodic tasks
2019-09-18T21:49:32.339429> no timezone support, time will be expressed only in local time
2019-09-18T21:49:32.339512> post status: start running
2019-09-18T21:49:32.479005> get_gps.py: removing /app/logs/gateway_gps.txt file
2019-09-18T21:49:32.479079> get_gps.py: no /app/logs/gateway_gps.txt file
2019-09-18T21:49:32.495893> post status: dynamic GPS is requested
2019-09-18T21:49:32.496001> post status get GPS: use sensors_in_raspi/get_gps.py to get GPS position
2019-09-18T21:49:32.496116> post status get GPS: no GPS coordinates
2019-09-18T21:49:32.496197> post status: show current GPS position
2019-09-18T21:49:32.496270> post status show GPS: current GPS coordinate: gw lat 43.51 long -1.36
2019-09-18T21:49:32.496341> post status: exiting
So nothing much. Any idea where is comes from?
I often get a python process with 100% CPU.
The logs are:
So nothing much. Any idea where is comes from?