From owner-freebsd-apache@FreeBSD.ORG Fri Sep 17 18:12:31 2004 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C28916A4CE for ; Fri, 17 Sep 2004 18:12:31 +0000 (GMT) Received: from a.mx.polytechnique.org (a.mx.polytechnique.org [129.104.30.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C8FE43D1F for ; Fri, 17 Sep 2004 18:12:31 +0000 (GMT) (envelope-from stephane.martin@m4x.org) Received: from localhost (localhost [127.0.0.1]) by djali.m4x.org (Postfix) with ESMTP id E8E8933218; Fri, 17 Sep 2004 20:12:29 +0200 (CEST) Received: from djali.m4x.org ([127.0.0.1]) by localhost (djali [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 08950-07; Fri, 17 Sep 2004 20:12:29 +0200 (CEST) Received: from targhan.stephanemartin.org (michelet-5-82-66-237-148.fbx.proxad.net [82.66.237.148]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTP id B1F2A33213; Fri, 17 Sep 2004 20:12:29 +0200 (CEST) From: stephane martin To: Paul Querna Date: Fri, 17 Sep 2004 20:12:28 +0200 User-Agent: KMail/1.7 References: <20040917131814.1B93616A4CE@hub.freebsd.org> <200409171726.07317.stephane.martin@m4x.org> <1095435393.23198.6.camel@localhost> In-Reply-To: <1095435393.23198.6.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200409172012.28367.stephane.martin@m4x.org> X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) cc: freebsd-apache@freebsd.org Subject: Re: Apache 1.3.x vs 2.0.x X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2004 18:12:31 -0000 Le Vendredi 17 Septembre 2004 17:36, vous avez =C3=A9crit=C2=A0: > On Fri, 2004-09-17 at 17:26 +0200, stephane martin wrote: > > It is probably the same problem with mod_python and mod_perl. > > No, mod_python uses a Global Interpreter Lock, and is therefore thread > safe. Performance is better for mod_python under the Prefork MPM > because of this however. > > mod_perl has thread safety built in, and performs *much* better under > the Worker MPM. Well, in fact php is also thread-safe (I hope). However, the external=20 libraries used by PHP are not necessarily thread-safe (exemple: gd ?=20 imagick ? pcre ? dom ?...). That's why I thought the same argument could be used for mod_python and=20 mod_perl if they call thread-unsafe libraries. Now with that Global Lock I= =20 don't really know :-)