[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh problem

On Wed, Aug 26, 2009 at 05:12:36PM +0200, randall wrote:
> Bertrand Yvain wrote:
> > Looks like a PMTU issue.
> > Would you happen to have net.ipv4.ip_no_pmtu_disc = 1 in your sysctls?
> > 
> but below answers the question, nope.

The resource might be set by something else. You can check the actual
value like this:

# /sbin/sysctl net.ipv4.ip_no_pmtu_disc

If it's still 0, my guess stays on MTU.

> just noticed that i do can cat small files, it hangs on more substantial
> sized files though.

I guess that "small" is around your MTU on eth0.  Should be 1500 for
regular ethernet, but there might be an encapsulation layer somewhere...

You should try lowering it to something safe:

# ifconfig eth0 mtu 1280

This will most probably fix your problem.  Then you'll have to
investigate why the default MTU is not good for your network and what
should be the max allowed value.

Bertrand Yvain

Reply to: