Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355235 - disconnects from build.eclipse.org
Summary: disconnects from build.eclipse.org
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Servers (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Webmaster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 355386 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-08-19 11:48 EDT by Kim Moir CLA
Modified: 2012-03-23 11:17 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kim Moir CLA 2011-08-19 11:48:18 EDT
Hi webmaster

I've been getting disconnected from build.eclipse.org every five minutes even though I have been logged in via ssh doing get migrations. I noticed before that I seem to get disconnected after 15 minutes of inactivity via a ssh sesssion.  Has something changed here?  This is very disruptive when trying to do git migrations with many consecutive steps :-)
Comment 1 Eclipse Webmaster CLA 2011-08-19 11:57:04 EDT
I'm not aware of any changes, and certainly based on the config file time stamp it's been a while since we did change it.

I took a quick peek in the logs but I don't see anything.

-M.
Comment 2 Denis Roy CLA 2011-08-19 13:51:58 EDT
In your .ssh/config file, tune down your keepalive:

ServerAliveInterval 60

Also, before launching migrations, start a screen.  Even if you get booted off, you can just reattach to your screen with screen -r
Comment 3 Kim Moir CLA 2011-08-19 16:41:56 EDT
Okay thanks Denis for the suggestions.
Comment 4 Denis Roy CLA 2011-08-22 09:52:31 EDT
*** Bug 355386 has been marked as a duplicate of this bug. ***
Comment 5 Denis Roy CLA 2011-08-22 09:53:37 EDT
Reopening ... seems to be happening to more than one people.

FWIW, the tips from comment 2 still apply since our firewall will terminate idle (ie, no server keepalive) sessions, but I'll look into this further.
Comment 6 Ralf Sternberg CLA 2011-09-22 16:07:43 EDT
Sometimes, this issue makes it impossible to do any work on build.eclipse.org. Just now, my ssh session froze in a matter of seconds after login, three times in a row. It happens while I type, so it can't be a timeout. FWIW, my current IP address is 88.66.5.84, it's Thu Sep 22 15:59:33 EDT 2011. If I can do anything to help diagnoze this problem, please let me know.
Comment 7 Ralf Sternberg CLA 2011-09-28 04:22:07 EDT
Some more detail:
* The tcp connection is still open when this happens, so it's not a disconnect, but the data transfer is just stalled:

netstat -ntp | grep 206.191.52.
tcp        0    576 192.168.10.201:47351    206.191.52.57:22        ESTABLISHED 2349/ssh        

* The issue seems to be not specific to ssh, the same happens very frequently when downloading files from the Hudson web interface.
Comment 8 Denis Roy CLA 2011-10-05 10:52:22 EDT
I cannot reproduce this.

I've been connected to build.eclipse.org for almost 2 days now from a remote location, being completely idle overnight, and throughout the day, and I'm not being disconnected.

My .ssh/config file is configured as per comment 3.
Comment 9 Ralf Sternberg CLA 2011-10-10 16:32:12 EDT
It seems that with this setting, this problem has gone away for me too. I could not believe that it was a timeout issue because the connection stalled in the middle of typing, sometimes in a matter of seconds after login, but anyway, since I applied the setting I haven't seen it in a while.

So from my side, the bug can be closed. I'll reopen it if the problem occurs again. Thanks for the suggested fix, I should have tested it earlier.
Comment 10 Denis Roy CLA 2012-03-23 11:17:27 EDT
Fixed, apparently.