> :Does anyone know how I can manually shutdown the above connection on
> :'vger' short of waiting a really long time or rebooting?
> :
> :Thanks,
> :-Brian
> :--
> :Brian Dean [EMAIL PROTECTED]
>
> Turn on keepalives and set the parameters really low so the connection
> times out after a couple of minutes. Experiment. Remember that the
> below will effect all your TCP connections, so don't make the timeout
> too low.
>
> sysctl -w net.inet.tcp.always_keepalive=1
> sysctl -w net.inet.tcp.keepintvl=60
> sysctl -w net.inet.tcp.keepinit=60
> sysctl -w net.inet.tcp.keepidle=300
>
> If the FreeBSD side is still in the ESTABLISHED state, it is not
> getting a FIN or not getting a proper FIN.
>
> -Matt
> Matthew Dillon
> <[EMAIL PROTECTED]>
The above settings did some odd things to my existing connections but
I get the idea. I think the values for some of those parameters are
expected in milliseconds, but I think you intended seconds. I will
adjust them accordingly and experiment as needed. Thanks for the
idea.
Too bad we don't have a command, though, that would do something like:
inetadm shutdown tcp:5000
which would initiate a shutdown of tcp port 5000. I know ... patches :)
Thanks again,
-Brian
--
Brian Dean [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message