From owner-freebsd-questions@FreeBSD.ORG Mon Nov 3 19:29:38 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 95ACB1065672 for ; Mon, 3 Nov 2008 19:29:38 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 6DB0C8FC1D for ; Mon, 3 Nov 2008 19:29:38 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [31.33.7.200] ([69.70.93.206]) by VL-MH-MR002.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0K9R0050IVGFKRM0@VL-MH-MR002.ip.videotron.ca> for freebsd-questions@freebsd.org; Mon, 03 Nov 2008 14:29:03 -0500 (EST) Message-id: <490F50F2.5050706@optiksecurite.com> Date: Mon, 03 Nov 2008 14:28:50 -0500 From: =?ISO-8859-1?Q?Francis_Dub=E9?= User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) To: freebsd-questions@freebsd.org Subject: 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 19:29:38 -0000 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