From owner-freebsd-apache@FreeBSD.ORG Sat Jul 3 23:43:51 2010 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C59C106564A for ; Sat, 3 Jul 2010 23:43:51 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from exhub015-1.exch015.msoutlookonline.net (exhub015-1.exch015.msoutlookonline.net [207.5.72.93]) by mx1.freebsd.org (Postfix) with ESMTP id 44CF98FC12 for ; Sat, 3 Jul 2010 23:43:51 +0000 (UTC) Received: from [192.168.1.2] (71.246.240.70) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.2.234.1; Sat, 3 Jul 2010 16:43:50 -0700 Message-ID: <4C2FCB37.9050406@p6m7g8.com> Date: Sat, 3 Jul 2010 19:43:51 -0400 From: "Philip M. Gollucci" Organization: P6M7G8 Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: Steve Williams References: <201007032113.o63LD2G77619@sbw.org> In-Reply-To: <201007032113.o63LD2G77619@sbw.org> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig749193B060E67F6704DC39A2" Cc: apache@freebsd.org Subject: Re: mod_wsgi Daemon Mode: "Enable threads support in APR"? X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jul 2010 23:43:51 -0000 --------------enig749193B060E67F6704DC39A2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 7/3/2010 5:12 PM, Steve Williams wrote: > I'd like to run mod_wsgi in "daemon mode." I read in the docs: >=20 > http://code.google.com/p/modwsgi/ >=20 >> Daemon mode of mod_wsgi will however only be available on Apache 2.0 >> or 2.2 running on UNIX, and only when the Apache runtime library >> underlying Apache has been compiled with support for threading. Apache runtime library refers to apr (see devel/apr port in this case). WITH_THREADS triggers this which is the OPTION you see. So yes, enable that. Additionally, you should select the worker MPM which is not the default. (WITH_MPM=3Dworker) > Can anyone point me to discussion or documentation of the pros and cons= > of that config option? It works just fine. http://svn.apache.org/viewvc and http://svn.eu.apache.org/view vc are using this. --=20 ------------------------------------------------------------------------ 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. System Admin, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. --------------enig749193B060E67F6704DC39A2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iEYEARECAAYFAkwvyzcACgkQdbiP+9ubjBzB7ACbBvUo1UENXMZ7VrFj22CU0nuS 6UoAmwfkzHZgUe5Kb54qZWjCIbiVwJAT =8mmx -----END PGP SIGNATURE----- --------------enig749193B060E67F6704DC39A2--