Ask a Question related to Linux / Unix Administration, Design and Development.
-
Peter #1
Re: Terminating Port Connections
Thanks for the feedback. It looks like there's not much I can do
except wait for the connection to close or re-boot the server.
[email]bishop@speakeasy.net[/email] wrote in message news:<7k2dnZMOktfMjvbd38DK-g@speakeasy.net>...> Peter <patonp@yahoo.com> wrote:>> > tcp 0 0 server1.prog_rpc .1127 FIN_WAIT_2
> >
> > How do I terminate this port connection?
> You wait for it to go away.
>
> TCP connections will remain open in a "wait" state for some defined
> length of time after the connection is closed. This keeps a subsequent
> network connection from attaching to the same port, and receiving any
> "stray" packets that were intended for the previous connection (but were
> not received before the connection closed).
>
> -EdPeter Guest
-
Terminating application
yup, I think you'll find it's being terminated early - IIS doesn't like to run processes for long because it's an inherently dangerous thing to do.... -
script not terminating on user abort
Hi! The connection_* function don't seem to work for me and I can no longer determine when the user has aborted the script. When I close the... -
Line terminating after 80 character
Hi On my unix machine (HP-UX11.11) have some problem to create file more than 80 column. There is a script running and creating some file(s) but... -
Applications terminating wireless network
Hiya, I'm working on setting up a wireless home network, using a Linksys BEFW11S4. I've got a PC up and downstairs, both running XP Pro. The... -
Terminating a authenticated user
Hi, 1. How can I "terminate" an authenticated user? (I would like the server to redirect the user to the login page again. I'm using "forms... -
bishop@speakeasy.net #2
Re: Terminating Port Connections
Peter <patonp@yahoo.com> wrote:
To ease this problem in the future, there may be a kernel parameter> Thanks for the feedback. It looks like there's not much I can do
> except wait for the connection to close or re-boot the server.
that will shorten the time it will take for this to time out.
Use at your own risk.
-Ed
bishop@speakeasy.net Guest
-
Doug Freyburger #3
Re: Terminating Port Connections
[email]bishop@speakeasy.net[/email] wrote:
The timeouts in TCP have defaults that assume long latency WAN> Peter wrote:
>>> > It looks like there's not much I can do
> > except wait for the connection to close or re-boot the server.
> To ease this problem in the future, there may be a kernel parameter
> that will shorten the time it will take for this to time out.
connections. IF your host EXCLUSIVELY has local traffic, then
tuning the TCP parameters in the kernel will reduce the time a
closing connection spends in the timeout periods. If your host
does remote WAN traffic, it will hurt performance across the
WAN.
The vast majority of the time, closing connections are purely a
cosmetic issue. Doing this in the kernel is much like getting
a vanity nose job from a plastic surgeon. It puts money in
the surgeon's pocket more than anything else. If you want to
do this, I'll sign up for receiving money from you to guide you
through it ;^)
Doug Freyburger Guest
-
bishop@speakeasy.net #4
Re: Terminating Port Connections
Doug Freyburger <dfreybur@yahoo.com> wrote:
Pretty much agreed. Once I did run into a situation where an> The vast majority of the time, closing connections are purely a
> cosmetic issue. Doing this in the kernel is much like getting
> a vanity nose job from a plastic surgeon. It puts money in
> the surgeon's pocket more than anything else. If you want to
> do this, I'll sign up for receiving money from you to guide you
> through it ;^)
application was using a *lot* of network connections between a couple of
servers, and it would end up blocking after a time because the memory
structure for the network connections had filled up with connections
waiting to time out. But that was probably a poorly-written app.
-Ed
bishop@speakeasy.net Guest



Reply With Quote

