[ug-bosug] Kill a coonection

Jayasimha Ananth jayasimha.a at gmail.com
Sun Aug 27 21:43:47 PDT 2006


> > >ndd -set /dev/tcp tcp_time_wait_interval 60000
> > >
> > >The next time this happens, the port will free up in 1 minute.
> > >This is not recommended, however.
> >
> > Why is this not recommended? Is it a security issue / performance issue/
> > what?
>
> This is because of TCP's data trasmission guarantee.  The socket
> needs to wait twice the lifetime of a TCP packet.  Solaris uses
> the recommended value of 120 seconds as the packet lifetime,
> which makes the timeout 4 minutes.
>
> More details:
> http://www.manualy.sk/sock-faq/unix-socket-faq-2.html#time_wait

That was helpful... Thanks.

--Jayasimha
_______________________________________________
ug-bosug mailing list
List-Unsubscribe: mailto:ug-bosug-unsubscribe at opensolaris.org
List-Owner: mailto:ug-bosug-owner at opensolaris.org
List-Archives: http://www.opensolaris.org/jive/forum.jspa?forumID=54



More information about the ug-discuss mailing list