Hi,

AutoCAD is making funny requests: same BBOX but four different image size. 
Probably it is building a local cache from the maps for making zooming and 
panning fluent later, and perhaps it wants to fetch a high resolution image so 
that it can create better quality printouts.  Anyway, the second and biggest 
request seems to timeout. You can of course increase the timeout of Apache 
server, but much better option is to make your service faster. Convert your 
images into tiled geotiffs with overviews and you will make both AutoCAD and 
users happy.  Well, at least I guess so. 

-Jukka Rahkonen-

gom wrote:
> 
> 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.0
> 00000&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.0
> 00000&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.0
> 00000&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.0
> 00000&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
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to