I'd say the majority of the time this is a due to an unreliable internet connection or inconsistent equipment (routers, etc.) on the connection. My router at home is a piece of crap (aren't all consumer grade routers?) and if I leave an SSH connection open for several hours it will eventually hang. Devin On 7/15/07, Matt Shields <mattboston@xxxxxxxxx> wrote:
Interesting, we use OpenVPN heavily, but we also have a lot not behind the vpn. That will be something to test out, I haven't kept track of which servers it happens with. -matt On 7/15/07, Tim Meanor <timspam@xxxxxxxxxx> wrote: > I've seen a similar issue when I've had an ssh connection open to a > remote site over a VPN connection (not a VPN client on my PC, but a > VPN connection between my site and the remote site, between Cisco > routers). Catting a large file would hang the connection, and I had > to kill and re-establish the connection. The issue was that the > maximum packet size over the VPN link was something like 1460. The > VPN connection added 40 extra bytes of payload. When I would cat a > large file, my computer would send 1500 byte packets with the do-not- > fragment bit set. The routers couldn't pass the 1500 byte packet > because it was too large, and the do-not-fragment bit prevented them > from fragmenting the packet, so it would get dropped, and my > connection would die. I don't remember the exact details, as it > occurred a couple years ago, but the gist was that the MTU on the > servers I had to connect to had to be reduced to something like > 1460. I don't think this is exactly your situation, but it's just an > idea of something to consider. > > -Tim > > On Jul 12, 2007, at 9:46 AM, Matt Shields wrote: > > > I've noticed this in CentOS 4 & 5 and Fedora 5 & 6. If I'm in Gnome > > desktop and using any of the terminal programs and I ssh into any > > server, the connection just hangs. Not drops, it just hangs and > > doesn't recover. > > > > These servers are all over the country on different ISPs in Tier1 > > datacenters. Some are in our office, so they are on the local lan. > > We have a mix of RHEL 3, 4 & 5 and CentOS 4 & 5 on the servers. If > > I'm using a windows computer with putty or SecureCRT this never > > happens, it only happens when I'm using any of our linux desktops or > > laptops. It doesn't matter if I'm in the office or at home (on > > comcast) or over at a friend's house (verizon dsl). This problem has > > been going on for at least two years and I'm finally fed up to the > > point where I might switch back to windows since 99% of my job is > > working while ssh'ed into servers. > > > > Anyone had similar problems? > > > > -matt > > _______________________________________________ > > CentOS mailing list > > CentOS@xxxxxxxxxx > > http://lists.centos.org/mailman/listinfo/centos > > _______________________________________________ > CentOS mailing list > CentOS@xxxxxxxxxx > http://lists.centos.org/mailman/listinfo/centos > _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos