Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to kill a CLOSE_WAIT status

Posted on 2003-02-19
3
Medium Priority
?
4,784 Views
Last Modified: 2008-06-06
Hi,

Anyone have any idea how i can kill the status of CLOSE_WAIT wothout rebooting the server? When i did a netstat -na, there are alots of CLOSE_WAIT status.

I am running iPlanet v6.0 OS is win 2K.

Thanks
0
Comment
Question by:angls
3 Comments
 

Author Comment

by:angls
ID: 8006243
Hi,

Thanks for the link, but the TCPview can only close Establish connection but not those CLOSE_WAIT or LISTENING status.

Regards
LS Ang
0
 

Accepted Solution

by:
locomojo earned 900 total points
ID: 8023484
You should change the registry as folows:
1) goto the folowing key
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\tcpip\Parameters

2) Add a Value:
Value Name:
TcpTimedWaitDelay
Data Type:
REG_DWORD
Value:
30-300 (decimal) - time in seconds

The default is 240 if the value is nor present.. which is quite a long time to keep a socket open on pending for closure.

Any Web Server on a Win32 platform should change this Value because sooner or later all the sockets would be in that state and no new connections untill a socket wuld go out of TIME_WAIT state.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Kernel Data Recovery is a renowned Data Recovery solution provider which offers wide range of softwares for both enterprise and home users with its cost-effective solutions. Let's have a quick overview of the journey and data recovery tools range he…
Suggested Courses

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question