[mapserver-users] determining which map file is associated with which fast-cgi process

Renzo Kottmann rkottman at mpi-bremen.de
Tue Jul 28 03:11:32 PDT 2015


I do not have a fast.cgi configuration. But if your assumption is 
correct then each instance should keep a file handle on the mapfiles and 
then you can see which process is accessing which files with the 
command: lsof (list open files).

hope it helps,renzo

On 2015-07-27 23:28, Richard Greenwood wrote:
> This is probably a more general Linux or fast-cgi question than strictly
> mapserver, but I don't know where else to ask so I'll give it a try
> here. I'm serving several different map files and I have several
> fast-cgi mapserv instances.
>
> Am I correct that each mapserv.fcgi is serving a different map file and
> that all mapserv requests for given map file go to the same fcig instance?
>
> And if I'm correct on that, when I use commands like 'top' or 'ps' they
> all show as mapserv.fcgi. I'd like to know which instance is serving
> which map file.
>
> Thanks,
> Rich
>
> --
> Richard W. Greenwood, PLS
> 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
>

-- 
Renzo Kottmann PhD
Senior Scientist at
Max Planck Institute for Marine Microbiology
Microbial Genomics and Bioinformatics Research Group
Celsiusstr. 1
28359 Bremen
Germany
Phone: +49 421 2028 974


More information about the mapserver-users mailing list