Error: client_loop: send disconnect: Broken pipe

The Broken pipe error means you’ve been disconnected. This could be due to inactivity. This may also be displayed as ‘Write failed: Broken pipe’ or ‘Connection closed by remote host’.

This normally should not happen if the Presearch log is being displayed in the terminal window but if it does happen don’t worry it’s not a big deal. (See The Solution below) NOTE: I never get this error on Google Cloud or Digital Ocean, but I do get it on AWS. AWS terminates the connection when it’s been inactive for a while.

The Solution

For this example we show that we want to To keep our SSH connection alive with up to 20 minutes (1200 seconds) of idle time.

Reconnect to the remote Linux system via SSH, and enter the following command:

ssh -o ServerAliveInterval=600 username@server_ip_address

That’s it!