?
Solved

How to kill a CLOSE_WAIT status

Posted on 2003-02-19
3
Medium Priority
?
4,749 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

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

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

765 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