* How to kill a CLOSE_WAIT state socket?
@ 2005-04-04 4:35 Jeong BG
2005-04-04 21:14 ` Rick Jones
0 siblings, 1 reply; 2+ messages in thread
From: Jeong BG @ 2005-04-04 4:35 UTC (permalink / raw)
My web server services OWS 3.0.
Using netstat -a , I can see that the open socket is in CLOSE_WAIT state,
and I don't know how to check how much time it is going to be in such state,
and how can I 'kill' this socket. of course without rebooting my web server.
someone told me using 'lsof' command.
but My server(Tru64 4.0D) didn't display socket state.
Thanks in advance for any help
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to kill a CLOSE_WAIT state socket?
2005-04-04 4:35 How to kill a CLOSE_WAIT state socket? Jeong BG
@ 2005-04-04 21:14 ` Rick Jones
0 siblings, 0 replies; 2+ messages in thread
From: Rick Jones @ 2005-04-04 21:14 UTC (permalink / raw)
Jeong BG <as@anysyskorea.com> wrote:
> Using netstat -a , I can see that the open socket is in CLOSE_WAIT
> state, and I don't know how to check how much time it is going to be
> in such state, and how can I 'kill' this socket. of course without
> rebooting my web server. someone told me using 'lsof' command. but
> My server(Tru64 4.0D) didn't display socket state.
CLOSE_WAIT is the state the TCP endpoint enters when it recieves and
ACKnowledges a FINished segment from the remote (which is how the
remote says it will be sending no more data). It is still possible
for the local (CLOSE_WAIT) endpoint to _send_ data to the remote
(which will be in FIN_WAIT_2) and the connection will remain in
CLOSE_WAIT until the application (which has been notified of the
remote's sending of the FIN with a return value of "0" from a receive
call) calls close() or shutdown() against the socket.
rick jones
--
denial, anger, bargaining, depression, acceptance, rebirth...
where do you want to be today?
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to raj in cup.hp.com but NOT BOTH...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-04-04 21:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-04 4:35 How to kill a CLOSE_WAIT state socket? Jeong BG
2005-04-04 21:14 ` Rick Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox