[mapserver-users] WMS Server Optimization?

Andrea Peri aperi2007 at gmail.com
Thu Apr 3 11:49:25 PDT 2014


Thi go in timeout:

192.168.0.21 - - [03/Apr/2014:09:53:54 -0600] "GET
/cgi-bin/mapserv.exe?map=/
mapserv/images/images.map&version=1.3.0&service=WMS&REQUEST=GetMap&EXCEPTIONS=XML&LAYERS=RasterSample&STYLES=&CRS=EPSG:26910&SRS=EPSG:26910&FORMAT=image/png;
mode=8bit&BBOX=496500.000000,6234300.000000,597000.000000,6401200.000000&HEIGHT=1024&WIDTH=616&TRANSPARENT=TRUE
HTTP/1.1" 504 247

set the mapfile to DEBUG 5
and set mapfile to write on a error_log file
after try to call it from a browser web.
And wait for response.
An option is that the mapserver is crashing or go in a loop.

After this you can try to read in the debug file if there is some
interesting information.

A.



2014-04-03 18:22 GMT+02:00 gom <gord.mckenzie at canam.com>:

> Thanks for all the tips.  I checked the logs and this is what I found.
>
> The following 4 requests are sent to the server when AutoCAD connects to
> the
> server.  The 1st, 3rd and 4th requests all execute almost instantly when
> pasted into the browser command line.  The second statement runs for about
> 70 seconds and returns a
>
> *Gateway Timeout*.
> "The gateway did not receive a timely response from the upstream server or
> application."
>
> 192.168.0.21 - - [03/Apr/2014:09:53:54 -0600] "GET
>
> /cgi-bin/mapserv.exe?map=/mapserv/images/images.map&version=1.3.0&service=WMS&REQUEST=GetMap&EXCEPTIONS=XML&LAYERS=RasterSample&STYLES=&CRS=EPSG:26910&SRS=EPSG:26910&FORMAT=image/png;
>
> mode=8bit&BBOX=496500.000000,6234300.000000,597000.000000,6401200.000000&HEIGHT=256&WIDTH=154&TRANSPARENT=TRUE
> HTTP/1.1" 200 113
>
> 192.168.0.21 - - [03/Apr/2014:09:53:54 -0600] "GET
>
> /cgi-bin/mapserv.exe?map=/mapserv/images/images.map&version=1.3.0&service=WMS&REQUEST=GetMap&EXCEPTIONS=XML&LAYERS=RasterSample&STYLES=&CRS=EPSG:26910&SRS=EPSG:26910&FORMAT=image/png;
>
> mode=8bit&BBOX=496500.000000,6234300.000000,597000.000000,6401200.000000&HEIGHT=1024&WIDTH=616&TRANSPARENT=TRUE
> HTTP/1.1" 504 247
>
> 192.168.0.21 - - [03/Apr/2014:09:54:59 -0600] "GET
>
> /cgi-bin/mapserv.exe?map=/mapserv/images/images.map&version=1.3.0&service=WMS&REQUEST=GetMap&EXCEPTIONS=XML&LAYERS=RasterSample&STYLES=&CRS=EPSG:26910&SRS=EPSG:26910&FORMAT=image/png;
>
> mode=8bit&BBOX=496500.000000,6234300.000000,597000.000000,6401200.000000&HEIGHT=921&WIDTH=554&TRANSPARENT=TRUE
> HTTP/1.1" 200 171
>
> 192.168.0.21 - - [03/Apr/2014:09:55:01 -0600] "GET
>
> /cgi-bin/mapserv.exe?map=/mapserv/images/images.map&version=1.3.0&service=WMS&REQUEST=GetMap&EXCEPTIONS=XML&LAYERS=RasterSample&STYLES=&CRS=EPSG:26910&SRS=EPSG:26910&FORMAT=image/png;
>
> mode=8bit&BBOX=496500.000000,6234300.000000,597000.000000,6401200.000000&HEIGHT=761&WIDTH=458&TRANSPARENT=TRUE
> HTTP/1.1" 200 151
>
> To fill out details asked by others.
>
> I have tried AutoCAD Map on two different machines. Windows 7, 64 bit Map
> 2012 and 2014. Same results.
>
> The server is Windows 2008 R2, 64 bit running latest Mapserver from
> GISInternals on apache 2.4.7
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/WMS-Server-Optimization-tp5132723p5132918.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140403/a99c38ac/attachment-0001.html>


More information about the mapserver-users mailing list