From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 19 06:10:34 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CC8E16A4CE for ; Sat, 19 Feb 2005 06:10:34 +0000 (GMT) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0807443D46 for ; Sat, 19 Feb 2005 06:10:31 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received-SPF: pass (mp2.macomnet.net: domain of maxim@macomnet.ru designates 127.0.0.1 as permitted sender) receiver=mp2.macomnet.net; client_ip=127.0.0.1; envelope-from=maxim@macomnet.ru; Received: from localhost (localhost [127.0.0.1]) by mp2.macomnet.net (8.12.11/8.12.11) with ESMTP id j1J6ASO2094239; Sat, 19 Feb 2005 09:10:29 +0300 (MSK) (envelope-from maxim@macomnet.ru) Date: Sat, 19 Feb 2005 09:10:28 +0300 (MSK) From: Maxim Konovalov To: Deomid Ryabkov In-Reply-To: <42169BBD.1060704@rojer.pp.ru> Message-ID: <20050219090855.C94145@mp2.macomnet.net> References: <4215EB31.8020107@rojer.pp.ru> <20050218232313.GA80993@cirb503493.alcatel.com.au> <42169BBD.1060704@rojer.pp.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SpamTest-Info: Profile: Formal (208/050203) X-SpamTest-Info: Profile: Detect Hard (4/030526) X-SpamTest-Info: Profile: SysLog X-SpamTest-Info: Profile: Marking - Keywords (2/030321) X-SpamTest-Status: Not detected X-SpamTest-Version: SMTP-Filter Version 2.0.0 [0124], SpamtestISP/Release cc: Peter Jeremy cc: freebsd-hackers@freebsd.org Subject: Re: occasional ECONNREFUSED when connect()ing. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Feb 2005 06:10:34 -0000 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