[mapserver-users] thread safety and php and fastcgi

Jan Hartmann j.l.h.hartmann at uva.nl
Fri Sep 3 04:56:15 EDT 2010



On 09/02/10 16:03, Frank Warmerdam wrote:
>
> In the case of FastCGI the fastcgi mapserver process is only given one
> cgi request at a time to handle.  It won't be given another until the
> previous one is complete.  Apache can start multiple separate FastCGI
> MapServer instances in order to handle multiple requests at once but
> they each have their own process.  So, FastCGI does not have
> multi-threading issues.  It does occationally run into issues with
> memory leaks or "left over state" from a previous cgi request.
>
>
What about mod_fcgid and mod_python? Are they thread-safe too running 
MapServer and MapScript scripts? Reading the PHP-MapScript installation 
guide at http://mapserver.org/installation/php.html I see mod_php is 
still considered unsafe.

Jan




More information about the mapserver-users mailing list