Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* TIME_WAIT_2 on tru64
@ 2001-01-06 11:25 Manfred Friedrich
  2001-01-06 15:11 ` Manfred Friedrich
  0 siblings, 1 reply; 5+ messages in thread
From: Manfred Friedrich @ 2001-01-06 11:25 UTC (permalink / raw)


Hello,

sometimes I get application crashes, with leave
a TCP port in state TIME_WAIT_2. I have to wait
10 minutes until this port is free.

Is there any (sysconfigtab ?) parameter to
reduce this timeout? I didn't find one.

TIA

Manfred


Sent via Deja.com
http://www.deja.com/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: TIME_WAIT_2 on tru64
  2001-01-06 11:25 TIME_WAIT_2 on tru64 Manfred Friedrich
@ 2001-01-06 15:11 ` Manfred Friedrich
  2001-01-09 18:24   ` estratosfera
  0 siblings, 1 reply; 5+ messages in thread
From: Manfred Friedrich @ 2001-01-06 15:11 UTC (permalink / raw)


In article <936vah$e4e$1@nnrp1.deja.com>,
  Manfred Friedrich <mfriedrich@my-deja.com> wrote:
> Hello,
>
> sometimes I get application crashes, with leave
> a TCP port in state TIME_WAIT_2. I have to wait
> 10 minutes until this port is free.
>
> Is there any (sysconfigtab ?) parameter to
> reduce this timeout? I didn't find one.
>
> TIA
>
> Manfred

Sorry. It's FIN_WAIT_2 not TIME_WAIT_2.

Manfred


Sent via Deja.com
http://www.deja.com/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: TIME_WAIT_2 on tru64
  2001-01-06 15:11 ` Manfred Friedrich
@ 2001-01-09 18:24   ` estratosfera
  2001-01-10 19:13     ` Manfred Friedrich
  0 siblings, 1 reply; 5+ messages in thread
From: estratosfera @ 2001-01-09 18:24 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 857 bytes --]

I understand you have an application program that needs open that port
and it can�t do it because is still in use. Try to open the port with
the "SO_REUSEADDR" option for the socket. You can set this option with
the "setsockopt" call.

In article <937cj8$n1r$1@nnrp1.deja.com>,
  Manfred Friedrich <mfriedrich@my-deja.com> wrote:
> In article <936vah$e4e$1@nnrp1.deja.com>,
>   Manfred Friedrich <mfriedrich@my-deja.com> wrote:
> > Hello,
> >
> > sometimes I get application crashes, with leave
> > a TCP port in state TIME_WAIT_2. I have to wait
> > 10 minutes until this port is free.
> >
> > Is there any (sysconfigtab ?) parameter to
> > reduce this timeout? I didn't find one.
> >
> > TIA
> >
> > Manfred
>
> Sorry. It's FIN_WAIT_2 not TIME_WAIT_2.
>
> Manfred
>
> Sent via Deja.com
> http://www.deja.com/
>


Sent via Deja.com
http://www.deja.com/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: TIME_WAIT_2 on tru64
  2001-01-09 18:24   ` estratosfera
@ 2001-01-10 19:13     ` Manfred Friedrich
  2001-01-10 21:21       ` Serguei Patchkovskii
  0 siblings, 1 reply; 5+ messages in thread
From: Manfred Friedrich @ 2001-01-10 19:13 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 991 bytes --]

In article <93fl0l$2b0$1@nnrp1.deja.com>,
  estratosfera@my-deja.com wrote:
> I understand you have an application program that needs open that port
> and it can�t do it because is still in use. Try to open the port with
> the "SO_REUSEADDR" option for the socket. You can set this option with
> the "setsockopt" call.
>
> In article <937cj8$n1r$1@nnrp1.deja.com>,
>   Manfred Friedrich <mfriedrich@my-deja.com> wrote:
> > In article <936vah$e4e$1@nnrp1.deja.com>,
> >   Manfred Friedrich <mfriedrich@my-deja.com> wrote:
> > > Hello,
> > >
> > > sometimes I get application crashes, with leave
> > > a TCP port in state TIME_WAIT_2. I have to wait
> > > 10 minutes until this port is free.
> > >
> > > Is there any (sysconfigtab ?) parameter to
> > > reduce this timeout? I didn't find one.
> > >
> > > TIA
> > >
> > > Manfred
> >
> > Sorry. It's FIN_WAIT_2 not TIME_WAIT_2.
> >
> > Manfred

Thanks for your hint. But I have no sources.

Manfred



Sent via Deja.com
http://www.deja.com/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: TIME_WAIT_2 on tru64
  2001-01-10 19:13     ` Manfred Friedrich
@ 2001-01-10 21:21       ` Serguei Patchkovskii
  0 siblings, 0 replies; 5+ messages in thread
From: Serguei Patchkovskii @ 2001-01-10 21:21 UTC (permalink / raw)


Manfred Friedrich (mfriedrich@my-deja.com) wrote:
: Thanks for your hint. But I have no sources.

Well, if you are truly desperate to do this, having no source is
not an unsurmountable obstacle. You can always use the /proc
interface (see man 4 proc) to attach to the running process, and
intercept all it's socket() system. Upon the exit from socket(),
simply simulate setsockopt(SO_REUSEADDR) - and you are all done.

A simple matter of programming :-)

/Serge.P

---
Home page: http://www.cobalt.chem.ucalgary.ca/ps/


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-01-10 21:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-06 11:25 TIME_WAIT_2 on tru64 Manfred Friedrich
2001-01-06 15:11 ` Manfred Friedrich
2001-01-09 18:24   ` estratosfera
2001-01-10 19:13     ` Manfred Friedrich
2001-01-10 21:21       ` Serguei Patchkovskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox