From owner-freebsd-stable@FreeBSD.ORG Mon Aug 18 07:55:40 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54F03106566C; Mon, 18 Aug 2008 07:55:40 +0000 (UTC) (envelope-from BORJAMAR@SARENET.ES) Received: from proxypop1.sarenet.es (proxypop1.sarenet.es [194.30.0.99]) by mx1.freebsd.org (Postfix) with ESMTP id 16E798FC08; Mon, 18 Aug 2008 07:55:39 +0000 (UTC) (envelope-from BORJAMAR@SARENET.ES) Received: from [127.0.0.1] (matahari.sarenet.es [192.148.167.18]) by proxypop1.sarenet.es (Postfix) with ESMTP id 5F7B25CCE; Mon, 18 Aug 2008 09:55:38 +0200 (CEST) Message-Id: <0681DEA1-93C8-4AEF-9D12-B95343E42299@SARENET.ES> From: Borja Marcos To: Tom Evans In-Reply-To: <1218641046.70002.6.camel@localhost> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Date: Mon, 18 Aug 2008 09:56:05 +0200 References: <43EC06E9-76B3-4AA1-BC5E-4E1BD64AFC2D@SARENET.ES> <0296197A-28ED-4DAA-A31F-C28471E864FB@SARENET.ES> <20080812102856.GA6735@eos.sc1.parodius.com> <659A017B-5D6F-4B74-A85D-4A9A040CA442@SARENET.ES> <48A2DF31.4050907@FreeBSD.org> <48A2E2AD.8060607@FreeBSD.org> <0545482D-1E3F-4615-B3EB-04ABB838FF71@SARENET.ES> <1218641046.70002.6.camel@localhost> X-Mailer: Apple Mail (2.928.1) Cc: Kris Kennaway , freebsd-stable@freebsd.org, Jeremy Chadwick , Ivan Voras Subject: Re: umtxn and Apache 2.2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 07:55:40 -0000 On Aug 13, 2008, at 5:24 PM, Tom Evans wrote: > On Wed, 2008-08-13 at 16:56 +0200, Borja Marcos wrote: >> Personally, I find PHP far too troublesome to run threaded. These >> days, > I use an event MPM based front-end apache 2.2, which reverse proxies > to > either a prefork MPM apache 2.2 with mod_, or > directly connect to a fastcgi instance. Serve all your static content > from the front-end, and it's all quite fast - plus you can scale out > much much more simply. That's what I've done finally, using threaded Apache with mod_fcgid. I've seen that PHP is not ready to be used as a module in a multithreaded Apache. Now it's working great, and, indeed, the multithread Apache instances can serve all the static content (images, etc) blazingly fast. Thank you very much, Borja.