Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 2439 invoked from network); 27 Jan 2004 15:51:32 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 27 Jan 2004 15:51:32 -0000 Received: (qmail 77509 invoked by uid 500); 27 Jan 2004 15:23:17 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 77446 invoked by uid 500); 27 Jan 2004 15:23:16 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 77431 invoked from network); 27 Jan 2004 15:23:16 -0000 Received: from unknown (HELO ms-smtp-03-eri0.southeast.rr.com) (24.25.9.102) by daedalus.apache.org with SMTP; 27 Jan 2004 15:23:16 -0000 Received: from attglobal.net (rdu57-70-140.nc.rr.com [66.57.70.140]) by ms-smtp-03-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id i0RFN3VS008987 for ; Tue, 27 Jan 2004 10:23:04 -0500 (EST) Message-ID: <4016823F.7030605@attglobal.net> Date: Tue, 27 Jan 2004 10:22:39 -0500 From: Jeff Trawick User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.5) Gecko/20031020 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: Proxy hiccups with WSAEADDRINUSE References: <83879A37F8F8E8439B850BD8F9364A660F766F@fsfimail3.fi.f-secure.com> In-Reply-To: <83879A37F8F8E8439B850BD8F9364A660F766F@fsfimail3.fi.f-secure.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Tikka, Sami wrote: > [error] (OS 10048)Only one usage of each socket address (protocol/network > address/port) is normally permitted. : proxy: HTTP: attempt to connect to > 1.2.3.4:80 (1.2.3.4) failed > > ... hundreds of megabytes of these errors. > > 10048 is WSAEADDRINUSE. It seems to happen in proxy_util.c in > ap_proxy_connect_to_backend() when apr_connect() is called. > > My interpretation is that the host is out of free local ports. 'netstat' also > shows a very large number of connections. > > Is my interpretation correct? Is there anything that can be done? Has anyone > else seen this? your interpretation sounds correct to me see http://www.ncftpd.com/ncftpd/doc/misc/ephemeral_ports.html#Windows