remove CLOSE_WAIT connections | Unix Linux Forums | Solaris

  Go Back    


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.

remove CLOSE_WAIT connections

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 12-19-2005
Livio Livio is offline
Registered User
 
Join Date: Oct 2005
Last Activity: 31 August 2010, 10:25 PM EDT
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
Last Activity: 29 March 2012, 7:00 PM EDT
Location: Ireland
Posts: 4,464
Thanks: 0
Thanked 11 Times in 11 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
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
 
Join Date: Dec 2003
Last Activity: 13 May 2013, 9:02 AM EDT
Location: Melbourne, Australia
Posts: 2,185
Thanks: 3
Thanked 24 Times in 23 Posts
Take a look at this.

Cheers
ZB
    #4  
Old 12-21-2005
beev1812 beev1812 is offline
Registered User
 
Join Date: Dec 2005
Last Activity: 22 June 2010, 10:46 AM EDT
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
Perderabo Perderabo is offline Forum Staff  
Unix Daemon (Administrator Emeritus)
 
Join Date: Aug 2001
Last Activity: 20 November 2014, 5:33 PM EST
Location: Ashburn, Virginia
Posts: 9,930
Thanks: 64
Thanked 438 Times in 261 Posts
/usr/sbin/ndd -get /dev/tcp tcp_close_wait_interval
Sponsored Links
    #6  
Old 01-19-2006
Livio Livio is offline
Registered User
 
Join Date: Oct 2005
Last Activity: 31 August 2010, 10:25 PM EDT
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
daemons_advoc8 daemons_advoc8 is offline
Registered User
 
Join Date: Feb 2006
Last Activity: 12 May 2008, 3:34 PM EDT
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 07:57 AM
How to remove CLOSE_WAIT in Solaris helplineinc Solaris 2 07-11-2009 07:39 AM
close_wait connections causing a server to hung hariza UNIX for Advanced & Expert Users 3 10-06-2006 09:35 AM
clear CLOSE_WAIT status rein UNIX for Advanced & Expert Users 3 10-05-2006 05:50 PM
handling CLOSE_WAIT -TCP state matrixmadhan Programming 16 09-16-2006 04:51 AM



All times are GMT -4. The time now is 04:01 PM.