<div dir="ltr">so glad you worked that out , man!</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">:-)~MIKE~(-:</div></div>
<br><div class="gmail_quote">On Tue, Nov 4, 2014 at 1:17 PM, Keith Smith <span dir="ltr"><<a href="mailto:techlists@phpcoderusa.com" target="_blank">techlists@phpcoderusa.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Thank you to those of you who replied.  Interesting experience.<br>
<br>
I was uploading a data dump into MySql. My "Konsole" did not show any activity for about an hour and a half. Then I get the message "Write failed: Broken pipe".<br>
<br>
This morning I erased the database I had uploaded last night because there was no way to tell if the import was complete.<br>
<br>
The import was about 600MB.<br>
<br>
Last night I had added "ServerAliveInterval 5" to my sshd config.<br>
<br>
This morning when I did the upload it took about 3 minutes. It looks like all the data is there.  That means my shell must have been hung for well over an hour.<br>
<br>
Thanks again for all the ideas and feedback!!<br>
<br>
Keith<br>
<br>
<br>
<br>
<br>
On 2014-11-04 10:40, der.hans wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Am 04. Nov, 2014 schwätzte Keith Smith so:<br>
<br>
moin moin Keith,<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Last night I shelled into a web server I am working on and issue the command to upload data into MySql from the command line.  The process took about an hour and a half.<br>
<br>
Then I received the message "Write failed: Broken pipe".  In researching, apparently sshd timed out.<br>
<br>
I'm guessing the process completed...  But how would I know?<br>
</blockquote>
<br>
Check MySQL to see if all of the data loaded.<br>
<br>
The ssh connection was killed, so you don't know how the shell did.<br>
<br>
If you need to run long commands on remote systems, use screen or tmux on<br>
the remote system. That will keep the shell running even if the network<br>
connection is killed. It also allows you to reconnect to the shell.<br>
<br>
screen -S mysession # Start a screen session named mysession<br>
screen -x mysession # reconnect to the screen session named mysession<br>
<br>
<ctrl>-a d # disconnect from an active screen session<br>
<br>
If you already run screen locally you can either run screen within screen<br>
or you can start a new xterm, then connect out.<br>
<br>
I also recommend the ServerAliveInterval, but I set it to 5 minutes. I<br>
used that for all ssh connections.<br>
<br>
ServerAliveInterval 300<br>
<br>
ciao,<br>
<br>
der.hans<br>
------------------------------<u></u>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a><span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
Keith Smith<br>
------------------------------<u></u>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a></font></span></blockquote></div><br></div>