From owner-freebsd-performance@FreeBSD.ORG Sun Sep 28 14:35:16 2003 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11CBA16A4BF; Sun, 28 Sep 2003 14:35:16 -0700 (PDT) Received: from amsfep15-int.chello.nl (amsfep15-int.chello.nl [213.46.243.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E61A4400D; Sun, 28 Sep 2003 14:35:13 -0700 (PDT) (envelope-from dodell@sitetronics.com) Received: from sitetronics.com ([213.46.142.207]) by amsfep15-int.chello.nl (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with ESMTP id <20030928213512.CVQF8709.amsfep15-int.chello.nl@sitetronics.com>; Sun, 28 Sep 2003 23:35:12 +0200 Message-ID: <3F7753BA.1020304@sitetronics.com> Date: Sun, 28 Sep 2003 23:33:46 +0200 From: "Devon H. O'Dell" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Adam C. Migus" References: <3F761AF0.3020105@migus.org> <3F774EBF.4050605@sitetronics.com> <49448.192.168.4.2.1064784375.squirrel@mail.migus.org> In-Reply-To: <49448.192.168.4.2.1064784375.squirrel@mail.migus.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: John Straiton cc: Robert Watson cc: freebsd-performance@freebsd.org cc: 'Eric Anderson' Subject: Re: Performance Problems.. Server hardware smoked by $500 box? X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2003 21:35:16 -0000 Adam C. Migus wrote: >Devon, >I am using PHP with Apache 2 and didn't mean to say or imply that it >didn't work with Apache 2, however, the last time I tried I was >unable to run it with an Apache 2 server running any MPM other than >pre-fork. Have you been able to run PHP with a threaded MPM? >Please let me know as I'd like to test the other MPM's with PHP... > >For reference my Apache 2 and PHP are from ports, the latter is >mod_php4 compiled with just about everything. :-) > > Well that might be the problem in your case. PHP itself is thread safe, but there's no guarantee that the extensions are. In fact, I think a good few of them are not (ming comes to mind, IIRC). In your case, the killer may be the extensions and not PHP itself. I'd suggest compiling them as modules and then dl()ing them until PHP dies ;). There's probably also a list of non-thread-safe modules out there somewhere. But I fear the list Gods, so I'm not going to change this list to freebsd-php :) If you've got more questions, feel free to email me privately :) --Devon