<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I work with a mapfile designed to be a WMS proxy to organize all our
    WMS sources (typically other mapfiles) into one point of access.  It
    has many layers makes extensive use of groups.  In general testing
    with curl and use with QGIS, I have not noticed the GetCapabilites
    (or any other aspect of the configuration) to be slow.  I am away
    from the machine at the moment, but will run benchmarks tomorrow.<br>
    <br>
    The upstream sources and the proxy mapfile run under MapServer 6.4.1
    (with some minimal patching).<br>
    <br>
    <div class="moz-cite-prefix">On 03/05/2015 12:33 PM, thomas bonfort
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAOM3y2hvhpR8rEujfRFeRofm0+bVJf8_VOGOEaOTzHkhEtK-xQ@mail.gmail.com"
      type="cite">
      <pre wrap="">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.

Thomas.
On Mar 5, 2015 7:26 PM, "Lime, Steve D (MNIT)" <a class="moz-txt-link-rfc2396E" href="mailto:Steve.Lime@state.mn.us"><Steve.Lime@state.mn.us></a>
wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">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.

Steve

-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a> [mailto:
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>] On Behalf Of Rahkonen Jukka (MML)
Sent: Wednesday, March 04, 2015 2:34 AM
To: aabhayas; <a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
Subject: Re: [mapserver-users] Getcapabilities extremely slow in version
6.4.1

Hi,

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.
+1 from me for having a look at this issue.

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.

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.

-Jukka Rahkonen-

aabhayas wrote:

</pre>
        <blockquote type="cite">
          <pre wrap="">Hi
</pre>
        </blockquote>
        <pre wrap="">
</pre>
        <blockquote type="cite">
          <pre wrap="">Following up on my previous post we still want to use “OWS_LAYER_GROUP”
</pre>
        </blockquote>
        <pre wrap="">in our map files. We have large number of layers in our map file ( nearly
800).

</pre>
        <blockquote type="cite">
          <pre wrap="">Currently we are in the process of migrating our MapServer 5.4.2
</pre>
        </blockquote>
        <pre wrap="">environment in to MapServer 6.4.1.

</pre>
        <blockquote type="cite">
          <pre wrap="">In MapServer 6.4.1 GetCapabilities request takes more than 1 minute
</pre>
        </blockquote>
        <pre wrap="">compared
5 second in version 5.4.2. This makes the new environment unusable by our
clients.

</pre>
        <blockquote type="cite">
          <pre wrap="">Is there a possibility where someone in the MapServer development team
</pre>
        </blockquote>
        <pre wrap="">looks in to this and fix this issue.

</pre>
        <blockquote type="cite">
          <pre wrap="">Thanks
</pre>
        </blockquote>
        <pre wrap="">



--
View this message in context:
<a class="moz-txt-link-freetext" href="http://osgeo-org.1560.x6.nabble.com/Getcapabilities-extremely-slow-in-version-6-4-1-tp5189325p5191328.html">http://osgeo-org.1560.x6.nabble.com/Getcapabilities-extremely-slow-in-version-6-4-1-tp5189325p5191328.html</a>
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>