From owner-freebsd-questions@FreeBSD.ORG Mon Nov 3 20:48:54 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 3E14B1065673 for ; Mon, 3 Nov 2008 20:48:54 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from fmailhost01.isp.att.net (fmailhost01.isp.att.net [204.127.217.101]) by mx1.freebsd.org (Postfix) with ESMTP id 296F48FC16 for ; Mon, 3 Nov 2008 20:48:54 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from [10.5.21.122] (adsl-146-137-87.bna.bellsouth.net[70.146.137.87]) by isp.att.net (frfwmhc01) with ESMTP id <20081103204853H010012mjfe>; Mon, 3 Nov 2008 20:48:53 +0000 X-Originating-IP: [70.146.137.87] Message-ID: <490F63A0.3000002@datapipe.com> Date: Mon, 03 Nov 2008 14:48:32 -0600 From: "Paul A. Procacci" User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Francis_Dub=E9?= References: <490F50F2.5050706@optiksecurite.com> In-Reply-To: <490F50F2.5050706@optiksecurite.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Images-only webserver, lighttpd vs NginX 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 Nov 2008 20:48:54 -0000 Francis Dubé wrote: > Hi everyone, > > I posted last week about my webserver hitting the kernel's max process > allowed (error : "collecting pv entries -- suggest increasing > PMAP_SHPGPERPROC"). > > As a part of the solution, I decided to build a jail with a light > webserver dedicated to images requests, the biggest part of the > requests the server have to process. Most of the websites hosted on > the server have approximately 200 small images with a size between 1k > and 32k each. I'm currently hesitating between NginX and lighttpd, > which both seems to offer similar benchmarks for this job. The > questions : > > Is someone doing something similar to this with one of the two ? > Which one do you suggest and why ? > I've read about a memory leak in lighttpd, is anyone is having issues > with this under FreeBSD ? > > Any ideas regarding our situation is appreciated, > > Thanks ! > > > Francis Dube > R & D > Optik Securite > www.optiksecurite.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" They are both good static content servers. You can easily max out a GiGe link using either. We use lighttpd more extensively than nginx, however we do use both. Quite frankly, it's truthfully up to you. Performance wise, they are on par with once another. ~Paul