Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2005 09:10:28 +0300 (MSK)
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        Deomid Ryabkov <myself@rojer.pp.ru>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: occasional ECONNREFUSED when connect()ing.
Message-ID:  <20050219090855.C94145@mp2.macomnet.net>
In-Reply-To: <42169BBD.1060704@rojer.pp.ru>
References:  <4215EB31.8020107@rojer.pp.ru> <20050218232313.GA80993@cirb503493.alcatel.com.au> <42169BBD.1060704@rojer.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050219090855.C94145>