From owner-freebsd-net@FreeBSD.ORG Fri Jun 20 04:45:10 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E956F37B401 for ; Fri, 20 Jun 2003 04:45:10 -0700 (PDT) Received: from argosy.ca (www.argosy.ca [138.73.18.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id B42C043FBD for ; Fri, 20 Jun 2003 04:45:09 -0700 (PDT) (envelope-from hhwoo@argosy.ca) Received: from a7n8x (mctn1-7763.nb.aliant.net [156.34.22.87]) by argosy.ca (8.12.9/8.12.9) with SMTP id h5KBkLt2001601; Fri, 20 Jun 2003 08:46:21 -0300 (ADT) (envelope-from hhwoo@argosy.ca) Message-ID: <000b01c33721$8581f180$0200a8c0@a7n8x> From: "Han Hwei Woo" To: "Mike Silbersack" , "Scot Loach" References: <20030620030555.N5845@odysseus.silby.com> Date: Fri, 20 Jun 2003 08:46:00 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: freebsd-net@freebsd.org Subject: Re: socket leak in FreeBSD 4.7 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2003 11:45:11 -0000 I find that the sockets are slow to free up if you don't explicitly close them, but they do free up after a while. Han Hwei Woo ----- Original Message ----- From: "Mike Silbersack" To: "Scot Loach" Cc: Sent: Friday, June 20, 2003 5:06 AM Subject: Re: socket leak in FreeBSD 4.7 > > I don't see this on my 4.8 or 5.x systems. Are you running any custom > patches on that machine's kernel? > > Alternately, can anyone else with a 4.7 or earlier machine replicate this > problem? > > Thanks, > > Mike "Silby" Silbersack > > On Thu, 19 Jun 2003, Scot Loach wrote: > > > If I execute the following program on a FreeBSD 4.7 system: > > > > int main() > > { > > for (int i = 0; i < 70000; i++) > > { > > socket(PF_INET, SOCK_STREAM, 0); > > } > > return 0; > > } > > the sockets never seem to be freed. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >