occasional ECONNREFUSED when connect()ing.

Maxim Konovalov maxim at macomnet.ru
Fri Feb 18 22:10:34 PST 2005


On Sat, 19 Feb 2005, 04:51+0300, Deomid Ryabkov wrote:

> Peter Jeremy wrote:
>
> > On Fri, 2005-Feb-18 16:18:41 +0300, Deomid Ryabkov wrote:
> >
> >
> > > I have a strange case of occasional refused connect()'s.
> > > The system is running 4.10-STABLE.
> > >
> > >
> > ...
> >
> >
> > > The question is - why do connections get refused at all?
> > > I can think of no valid reasons...
> > >
> > >
> >
> > FWIW, I can't either.  The client is single-threaded so it's difficult
> > to see why this should occur.  Unfortunately, I don't have ready
> > access to a 4.x system with perl 5.8 but I don't see the problem with
> > FreeBSD 5.3.
> >
> >
> problem solved by upgrading system to 4.11-STABLE.
>
> the problem is specific to 4.10:
> it does NOT show up on any of 3 systems running
> FreeBSD 4.9-STABLE #4: Mon Nov 10 18:47:10 MSK 2003
> it DOES, however, show up on every one of 3 other systems, running
> FreeBSD 4.10-STABLE #10: Wed Aug  4 18:42:45 MSD 2004
> and, as i said, it seems to have had been fixed somewhere before
> FreeBSD 4.11-STABLE #12: Sun Jan 23 14:09:07 MSK 2005
>
> i don't feel like diving deep into the issue here... thanks everyone :)

[Haven't read your code]

Try to turn net.inet.ip.portrange.randomized off.

-- 
Maxim Konovalov


More information about the freebsd-hackers mailing list