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.

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.

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?

/usr/sbin/ndd -get /dev/tcp tcp_close_wait_interval

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.

I guess you need edit the kernel parameter, I'm quite not sure about the parameter .. but somehow this will help you. :o