also @ TechSpot: Seven Intel P55 Motherboards Compared, Reviewed
Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Login to participate.

Go Back   TechSpot OpenBoards > Operating Systems & Software > Windows OS

How do I Make [Close Wait] ports close immediately?

Closed Thread
Bookmark Thread Tools
  #1  
Old 08-05-2008
TechSpot Member
 
Member since: Sep 2006, 104 posts
How do I Make [Close Wait] ports close immediately?

I have my TCP-VIEW App open from Sysinternals, and im seeing a lot of hanging [Close Wait] ports that just stay at [Close Wait].. and never clear up..

Is there anyway to make these [Close Wait] ports close-clear up immediately after they have been used.. so they don't hang saying [Close Wait] ..??

OS:
XP PRO SP2
  #2  
Old 08-06-2008
TechSpot Member
 
Member since: Sep 2006, 104 posts
anybody have any ideas..??
To remove this ad, sign in. To register for a new account, click here.
  
  #3  
Old 08-06-2008
TechSpot Member
 
Member since: Jun 2006, 294 posts
No netstat -b from the terminal to see which processes are using those ports.
  #4  
Old 08-06-2008
AlbertLionheart's Avatar
TechSpot Guru
 
Location: UKkers
Member since: Jun 2007, 2,516 posts
System specs
Intrigued - as far as I know this is normal. It does not use any system resources and is not a security threat so long as you have a working firewall. Why worry?
  #5  
Old 08-06-2008
Darth_Terra1's Avatar
TechSpot Member
 
Member since: Feb 2005, 237 posts
System specs
There is nothing wrong with a closed - wait port, it's still closed but waiting for a port call and will open when it needs to, just ensure your firewall is working so there isn't a security threat.
  #6  
Old 08-06-2008
TechSpot Member
 
Member since: Sep 2006, 104 posts
ok, but is there still a way to make the ports clear up - close immediately after they have been used. like changing a registry entry or something..??
  #7  
Old 08-06-2008
Rick's Avatar
TS Special Forces
 
Location: Los Angeles, CA
Member since: Feb 2002, 5,288 posts
I remember the TCP guidelines for time-wait specify a maximum of 4 minutes. I assume Windows follows that guideline, although MS could have chosen anything in between... I'm unsure what the default value is.

But to answer your question, yes, there is a registry setting:
http://publib.boulder.ibm.com/infoce...newindows.html

Use your at your own discretion.
  #8  
Old 08-06-2008
jobeard's Avatar
TechSpot Evangelist
 
Location: Southern Calif.
Member since: Apr 2005, 7,931 posts
Close-Wait ports are (in some systems) cleared only when the Idle process gets invoked.
On heavily used systems where Idle is seldomly achieved, these ports hang around for quiet a long time.

Q? what processes are keeping the processor running?
Closed Thread

Tip: Download Advanced SystemCare 3 Freeware - 1 Click A Day to Clean, Repair, Protect & Optimize your PC.

Thread Tools


Similar Topics
Topic Category Replies Last Post
I close wmp but it keeps playing? Software & Utilities in General 4 05-19-2008 03:50 PM
Close one eye and your games will actually look 3D! The Meeting Spot - Chat & Socialize 3 10-06-2007 05:40 AM
Please help, I'm so close to getting this sorted! Storage & Networking 2 05-28-2007 09:05 AM
Windows Needs To Close? Storage & Networking 3 11-06-2006 12:21 PM
Why IE 6 close automatically sometime? Windows OS 1 04-03-2006 08:31 AM


All times are GMT -4. The time now is 08:35 AM.