2009/2/11 Ariel Mauricio Nunez Gomez <[email protected]>: >> >> What is GeoDango and how does that come into it? What are the >> multithreading issues in GeoDango? > > GeoDjango is django.contrib.gis > "This could be part of your problem -- it should be `threads=1`. This > is because GEOS is not a thread safe library, and the serialization to > WKT code in particular uses static variables that can cause > unpredictable behavior if multiple threads enter the code at the same > time. Thus, you also made the right choice in choosing a prefork > version of Apache (which Robert should also be using instead of the > worker). "
The prefork MPM is only relevant if you are running in embedded mode. If using mod_wsgi daemon mode for WSGI application, where you are separately controlling number of processes/threads for the daemon process group, doesn't really matter. If have separate requirement to also run mod_php, you would use prefork MPM, otherwise better to run worker MPM. Graham --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en -~----------~----~----~----~------~----~------~--~---
