failure due to swapper and inet_sock_destruct

Melkor Ainur (melkorainur@yahoo.com)
Sat, 5 Apr 2003 22:54:19 -0800 (PST)


Hello,

I am using the 2.4.20 kernel in a fairly high stress
bursty network environment. Every so often, I see the
following error message from the kernel:

Attempt to release TCP socket in state 10 cfbfd540

I put some tracking in the kernel, and determined that
this cfbfd540 was specifically the sk1 used in
inet_tcp_listen and looking at the sport of 0x17, it
is the telnet daemon. So it was created by xinetd for
the telnet listening socket.

The failure often happens during a period of
inactivity. The call to inet_sock_destruct happened in
the swapper context. My first question is whether
anyone has observed this behavior before. Secondly, in
order to debug the problem, I'd like to understand
what could trigger the swapper to call
inet_sock_destruct. I did further determine that the
call did not come from either tcp_close or
tcp_destroy_sock. Looking at the code, it looks like
the only call to inet_sock_destruct only happens from
sk_free. sk_free looks to be used by sock_put which
happens from sock_wfree, sklist_remove_socket, etc.
Anyway, I'll keep investigating but I could use any
help/advice on what would trigger the destruction of
an sk without a call to close the parent listening
socket. Any reason why it happened in the swapper
context?

Thanks,
Melkor


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/