Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jul 2010 19:43:51 -0400
From:      "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To:        Steve Williams <sbw@sbw.org>
Cc:        apache@freebsd.org
Subject:   Re: mod_wsgi Daemon Mode: "Enable threads support in APR"?
Message-ID:  <4C2FCB37.9050406@p6m7g8.com>
In-Reply-To: <201007032113.o63LD2G77619@sbw.org>
References:  <201007032113.o63LD2G77619@sbw.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--------------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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C2FCB37.9050406>