Re: [PATCH] NFS regression in 2.6.26?, "task blocked for more than 120 seconds"

Ian Campbell
2008-11-25T14:04:58Z

On Tue, 2008-11-25 at 08:57 -0500, Trond Myklebust wrote:
> On Tue, 2008-11-25 at 13:38 +0000, Ian Campbell wrote:
> > > That would indicate that the server is failing to close the TCP
> > > connection when the client closes on its end.
> > >
> > > Could you remind me what server you are using?
> >
> > 2.6.25-2-486 which is a Debian package from backports.org, changelog
> > indicates that it contains 2.6.25.7.
>
> Hmm... It should normally close sockets when the state changes. There
> might be a race, though...
>
> > > Also, does 'netstat -t'
> > > show connections that are stuck in the CLOSE_WAIT state when you see the
> > > hang?
> >
> > I'd have to wait for it to reproduce again to be 100% sure but according
> > to http://lkml.indiana.edu/hypermail/linux/kernel/0808.3/0120.html
> > I was seeing connections in FIN_WAIT2 but not CLOSE_WAIT.
>
> That would be on the client side. I'm talking about the server.

Ah, OK. I'll abort my current test of 2.6.26+revert and wait for a repro
so I can netstat the server, give me a couple of days...

Ian.
--
Ian Campbell

It is more rational to sacrifice one life than six.
-- Spock, "The Galileo Seven", stardate 2822.3