[mapserver-users] thread safety and php and fastcgi

William Kyngesburye woklist at kyngchaos.com
Thu Sep 2 07:13:13 PDT 2010


On Sep 2, 2010, at 9:03 AM, 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.
> 
Thanks.

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"We are at war with them. Neither in hatred nor revenge and with no particular pleasure I shall kill every ___ I can until the war is over. That is my duty."

"Don't you even hate 'em?"

"What good would it do if I did? If all the many millions of people of the allied nations devoted an entire year exclusively to hating the ____ it wouldn't kill one ___ nor shorten the war one day."

<Ha, ha> "And it might give 'em all stomach ulcers."

- Tarzan, on war




More information about the MapServer-users mailing list