From my mac I SSH into my raspberry pi to run a python script to take videos of 30min. I have eight raspberry pi's that are formatted in exactly the same way. All works fine only that every 1 in 2 videos taken 2 of the 8 raspberry pi's give the following error message:
Write failed: Broken pipe
after which I have to close the terminal window and start a new instance. The video is still written but is less than the 30min instructed in the python script.
I already read about ServerAliveInterval
and ClientAliveInterval
and set those values on the RPIs and the mac but with no change. Also, if I open a new terminal window and start a new ssh session everything works fine.
Can somebody help explain what is going on and how I can solve it? I don't understand it is consistently happening with only 2 specific RPI's out of the 8 that are all formatted in exactly the same way.
Fr your information: all RPI's are powered by 7-port USB hubs and only have power and ethernet in (i.e. no other connected devices); I use csshx to be able to run commands to all 8 RPI's simultaneously by having an extra terminal window that 'speaks' to all other terminal windows, therefore it also throws the following error with the one described above:
CHILD at /Users/Stickleback/csshX line 1256