mod_wsgi Daemon Mode: "Enable threads support in APR"?
Philip M. Gollucci
pgollucci at p6m7g8.com
Sat Jul 3 23:43:51 UTC 2010
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:
>
> http://code.google.com/p/modwsgi/
>
>> 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=worker)
> 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.
--
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-apache/attachments/20100703/26c84d5d/signature.pgp
More information about the freebsd-apache
mailing list