Go Back   The UNIX and Linux Forums > Operating Systems > Solaris


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 12-19-2005
Registered User
 
Join Date: Oct 2005
Location: Brazil - Sao Paulo
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
remove CLOSE_WAIT connections

Hi folks.

I have a problem that I need to remove CLOSE_WAIT connections.
On AIX version 5.x, I can use rmsock command.

Is there a similar command on Solaris ? Is there an other solution for this situation ?

Thanks.
Sponsored Links
    #2  
Old 12-20-2005
reborg's Avatar
reborg reborg is offline Forum Advisor  
Administrator Emeritus
 
Join Date: Mar 2005
Location: Ireland
Posts: 4,464
Thanks: 0
Thanked 8 Times in 8 Posts
Quote:
Originally Posted by Livio
Hi folks.

I have a problem that I need to remove CLOSE_WAIT connections.
On AIX version 5.x, I can use rmsock command.

Is there a similar command on Solaris ? Is there an other solution for this situation ?

Thanks.
Hmmm...not really there is a kernel tunable that might help, I cant remember what it is though. A better approach would be to fix the application that is causing the problem.
Sponsored Links
    #3  
Old 12-20-2005
zazzybob's Avatar
Registered Geek
 
Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,186
Thanks: 3
Thanked 23 Times in 22 Posts
Take a look at this.

Cheers
ZB
    #4  
Old 12-21-2005
Registered User
 
Join Date: Dec 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by zazzybob
Take a look at this.

Cheers
ZB
I am seeing a simialar situation on many of Solaris boxes. This link rocks, but how can see the current config?
Sponsored Links
    #5  
Old 12-21-2005
Perderabo's Avatar
Unix Daemon (Adminstrator Emeritus)
 
Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,692
Thanks: 27
Thanked 293 Times in 168 Posts
/usr/sbin/ndd -get /dev/tcp tcp_close_wait_interval
Sponsored Links
    #6  
Old 01-19-2006
Registered User
 
Join Date: Oct 2005
Location: Brazil - Sao Paulo
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks, but on Solaris, I think that I have only tcp parameters, like on other Unix distributions.
So, I don't have a similar AIX rmsock command, that can remove a specific connection any time.
Sponsored Links
    #7  
Old 02-08-2006
Registered User
 
Join Date: Feb 2006
Location: Philippines
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
kernel Parameter

I guess you need edit the kernel parameter, I'm quite not sure about the parameter .. but somehow this will help you.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Too many CLOSE_WAIT connections Duffs22 Red Hat 2 10-24-2011 06:57 AM
How to remove CLOSE_WAIT in Solaris helplineinc Solaris 2 07-11-2009 06:39 AM
close_wait connections causing a server to hung hariza UNIX for Advanced & Expert Users 3 10-06-2006 08:35 AM
clear CLOSE_WAIT status rein UNIX for Advanced & Expert Users 3 10-05-2006 04:50 PM
handling CLOSE_WAIT -TCP state matrixmadhan Programming 16 09-16-2006 03:51 AM



All times are GMT -4. The time now is 03:49 AM.