<p dir="ltr">IIRC, this happened when we introduced advanced layer groupings along with inspire support in 6.2, and has to do with multiple passes through layers to determine which ones to activate or not. I'd suspect the cost is proportional to nlayers² which is why it comes up for folks with many layers in their mapfiles.</p>
<p dir="ltr">Thomas.</p>
<div class="gmail_quote">On Mar 5, 2015 7:26 PM, "Lime, Steve D (MNIT)" <<a href="mailto:Steve.Lime@state.mn.us">Steve.Lime@state.mn.us</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This is something I’d really like to see fixed. Any chance a test mapfile could be developed and attached to a new ticket on github? Ideally I'd start against 7.0 and then back-port if possible.<br>
<br>
Steve<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>] On Behalf Of Rahkonen Jukka (MML)<br>
Sent: Wednesday, March 04, 2015 2:34 AM<br>
To: aabhayas; <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
Subject: Re: [mapserver-users] Getcapabilities extremely slow in version 6.4.1<br>
<br>
Hi,<br>
<br>
I have been wondering also why GetCapabilities response is so slow for us nowadays and I have indeed added lots of groups to some services.<br>
+1 from me for having a look at this issue.<br>
<br>
We just installed 7.0-beta on our test server and GetCapabilities comes slowly from that too. There are about 40 layers in the test service and response time is about 8 seconds.<br>
<br>
Sometimes I have been wondering if GetCapabilities could be cached and controlled by some new CONFIG key. Cached GetCapabilities could be set to be refreshed for example once per week/day/hour if there is a need to react on changes in the data, and each time after the mapfile has been edited and saved with a new timestamp.<br>
<br>
-Jukka Rahkonen-<br>
<br>
aabhayas wrote:<br>
<br>
> Hi<br>
<br>
> Following up on my previous post we still want to use “OWS_LAYER_GROUP” in our map files. We have large number of layers in our map file ( nearly 800).<br>
<br>
> Currently we are in the process of migrating our MapServer 5.4.2 environment in to MapServer 6.4.1.<br>
<br>
> In MapServer 6.4.1 GetCapabilities request takes more than 1 minute compared<br>
5 second in version 5.4.2. This makes the new environment unusable by our clients.<br>
<br>
> Is there a possibility where someone in the MapServer development team looks in to this and fix this issue.<br>
<br>
> Thanks<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Getcapabilities-extremely-slow-in-version-6-4-1-tp5189325p5191328.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/Getcapabilities-extremely-slow-in-version-6-4-1-tp5189325p5191328.html</a><br>
Sent from the Mapserver - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></blockquote></div>