CPU issue with reboot command
dfoderick opened this issue · 2 comments
dfoderick commented
After the reboot command (ssh) there is some kind of cpu drain on the rpi. CPU usage for when_restart.py grows until the controller becomes extremely slow. It doesn't happen after switch or api reset commands.
To reproduce:
- Send reboot command to a miner.
- Command executes and miner does reboot.
- Watch when_restart.py using 'ps - aux'
CPU time and % will grow and grow.
dfoderick commented
Also happened to provision command which also uses ssh. Could be related to ssh client. Work around is to restart the component using supervisor.