[mapserver-users] FastCGI with multiple map files
Andy Colson
andy at squeakycode.net
Fri Jan 3 14:41:31 PST 2014
On 1/3/2014 4:08 PM, Richard Greenwood wrote:
> I'm running FastCGI but I'm not sure that I have it configured
> optimally, or even correctly. I have about a dozen map files. My
> requests look like:
> mapserv.fcgi?map=abc.map&...
> mapserv.fcgi?map=def.map&...
> mapserv.fcgi?map=ghi.map&...
> Does FCGI know to cache each map file so that I have a FCGI thread(s)
> for each map file? Or do I just have FCGI threads that are re-reading
> which ever map file is needed? Would I do better with a small script
> wrapper around each mapserv+mapfile like:
> abc.fcgi
> def.fcgi
> ghi.fcgi
> Sorry - I don't feel like I'm articulating my question very well.
>
> Rich
>
> --
> Richard Greenwood
> richard.greenwood at gmail.com <mailto:richard.greenwood at gmail.com>
> www.greenwoodmap.com <http://www.greenwoodmap.com>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
I believe it'll reload the .map file every request. But, your OS should
cache it so you wont actually be hitting disk, and reading/parsing a
.map file is very quick. I think this is pretty far down on the list of
things to optimize. (Well, thats my opinion. I've never actually timed it)
-Andy
More information about the MapServer-users
mailing list