From owner-freebsd-questions@FreeBSD.ORG Mon Mar 3 18:36:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9648106566B for ; Mon, 3 Mar 2008 18:36:11 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id BD34F8FC27 for ; Mon, 3 Mar 2008 18:36:11 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.ws.pitbpa0.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id A4D5CEBC08; Mon, 3 Mar 2008 13:36:10 -0500 (EST) Date: Mon, 3 Mar 2008 13:36:09 -0500 From: Bill Moran To: Patrick Dung Message-Id: <20080303133609.458b5635.wmoran@potentialtech.com> In-Reply-To: <975190.87342.qm@web54306.mail.re2.yahoo.com> References: <975190.87342.qm@web54306.mail.re2.yahoo.com> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.8; i386-portbld-freebsd6.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Maximum number established TCP connection X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2008 18:36:12 -0000 In response to Patrick Dung : > Hello > > I would like if there is a (countable) limit for the max TCP connection > of a Apache web server. > > Suppose: > 1. An apache web server serves a very big iso file. > 2. 5000 people tried to connect to the apache server to get the iso > file. > 3. They connect to the server gradually (not 5000 people starting at > the same moment). So that there will not be a problem caused by the TCP > backlog limit. > 4. There will be 5000 established TCP connections. > > Is it true that FreeBSD could handle 'unlimited' established TCP > connections as long as it has enough CPU power and memory? The FreeBSD limit on the number of open TCP connections is significantly higher than the Apache limit on the number of concurrent HTTP sessions. I believe Apache has a hard limit of 256. -- Bill Moran http://www.potentialtech.com