[mapserver-users] Slow Response or Timeout for Mapserver
Berger, Cora
cora.berger at bezreg-koeln.nrw.de
Thu Jun 30 03:21:39 PDT 2016
Hello Jeff,
thanks for the advice.
I checked the access logs and found out that our MaClient - Application (all the requests work fine here) makes POST-Request.
E.g.
10.213.35.10 - - [30/Jun/2016:11:56:11 +0200] "GET /cgi-bin/test5?REQUEST=GetCapabilities&SERVICE=WMS HTTP/1.1" 200 10997 "-" "Java/1.6.0_30"
10.213.35.10 - - [30/Jun/2016:11:58:01 +0200] "POST /cgi-bin/test5 HTTP/1.1" 200 321529 "-" "Java/1.6.0_30"
QGIS and our Open Layer applications use GET-Requests for the map-Request. Sometimes those requests don't seem to reach the server, because they are not logged if the request runs on a timeout or sth.
We get a Mapimage if Firebug is on. A working request from the access-log looks like this:
10.213.31.120 - - [30/Jun/2016:07:11:40 +0200] "GET /cgi-bin/test5?REQUEST=GetCapabilities&SERVICE=WMS HTTP/1.0" 200 10997 "-" "-"
10.213.31.120 - - [30/Jun/2016:07:12:33 +0200] "GET /cgi-bin/test5?LAYERS=&FORMAT=image%2Fpng&TRANSPARENT=TRUE&STYLES=&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG%3A25832&BBOX=-181189.87723015,5458184.3609017,992882.87723015,5939737.6390983&WIDTH=1920&HEIGHT=787 HTTP/1.0" 200 354 "http://vbrk21nt15.bezreg-koeln.nrw.de/tim-online2-chg/timobile.html" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
We have Mapserver 7.0 and Mapserver 6.3 running on Windows-machines and never has any comparable problems..
Cora Berger
- -
Bezirksregierung Köln
Dezernat 74 - Geodatenzentrum / Geodateninfrastruktur
50606 Köln
Internet: www.bezreg-koeln.nrw.de
Dienstgebäude: Muffendorfer Str. 19-21, 53177 Bonn
Telefon: +49 (0) 221 - 147 - 4847
Telefax: +49 (0) 228 - 180 - 33360 und (digital) 0221 - 147 - 4874
mailto: cora.berger at bezreg-koeln.nrw.de
Internet: www.geobasis.nrw.de
eShop: www.geoportal.nrw.de
Folgen Sie uns auf Twitter: https://twitter.com/BezRegKoeln
Message: 2
Date: Wed, 29 Jun 2016 09:58:08 -0300
From: Jeff McKenna <jmckenna at gatewaygeomatics.com>
To: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Slow Response or Timeout for Mapserver
6.4 on Linux
Message-ID:
<4fe27792-5b14-5ac6-2d80-bab522fc47c0 at gatewaygeomatics.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Hello,
I would check your Apache access logs for the full requests, and compare
them for the different clients (OpenLayers, QGIS, etc.), you might even
paste 2 of these full GetMap urls here for the mailing list to compare
the parameters - maybe one client is using something different causing
your issue (?)
I had been facing a lot of truncated GetCapabilities requests in the
MapServer 6 series, but have not seen any issues with MapServer 7.
(there were lots of tickets for that old issue, but here is one example:
https://github.com/mapserver/mapserver/issues/4505)
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
More information about the MapServer-users
mailing list