Re: [mapserver-users] determining which map file is associated with which fast-cgi process
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@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 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] determining which map file is associated with which fast-cgi process
For each request a MapServer FCGI process uses either the value of the map= query parameter or the value of the MS_MAPFILE environment variable. In most configurations a pool of those processes is used to work on multiple requests simultaneously. Essentially there's no fixed association between a FCGI process and a map file. -Ursprüngliche Nachricht- Von: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users- boun...@lists.osgeo.org] Im Auftrag von Richard Greenwood Gesendet: Montag, 27. Juli 2015 23:28 An: mapserver Betreff: [mapserver-users] determining which map file is associated with which fast-cgi process 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 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] MapCache 1.4 Released
The MapServer PSC is pleased to announce the release of MapCache version 1.4.0. You can read about the major new features here: http://mapserver.org/development/announce/mapcache-1-4.html and download links here: http://mapserver.org/download.html Best Regards, The MapServer PSC ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] determining which map file is associated with which fast-cgi process
Renzo and Eichner, Thanks you for your answers. I have a much better understanding now. I was clearly wrong in my assumption that each mapserv.fcgi process related to a single map file. I appreciate your help. Rich On Tue, Jul 28, 2015 at 7:12 AM, Eichner, Andreas - SID andreas.eich...@sid.sachsen.de wrote: For each request a MapServer FCGI process uses either the value of the map= query parameter or the value of the MS_MAPFILE environment variable. In most configurations a pool of those processes is used to work on multiple requests simultaneously. Essentially there's no fixed association between a FCGI process and a map file. -Ursprüngliche Nachricht- Von: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users- boun...@lists.osgeo.org] Im Auftrag von Richard Greenwood Gesendet: Montag, 27. Juli 2015 23:28 An: mapserver Betreff: [mapserver-users] determining which map file is associated with which fast-cgi process 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 -- Richard W. Greenwood, PLS www.greenwoodmap.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users