[GeoNode-users] Large Capabilties document causes create mapcrash

Paolo Corti pcorti at gmail.com
Mon Nov 20 09:07:48 PST 2017


Hi David

unfortunately that is not going to scale well.

Any chance you can restrict the size of the document? Two things are
worth to mention:
1) make sure you are not exposing lots of unneeded projections.
Sometime this is causing the document to grow pretty much!
2) if applicable, restrict the layers returned by the GetCapabilities
using virtual services by filtering on a workspace

regards
p

On Mon, Nov 20, 2017 at 4:38 AM, David Alda Fernandez de Lezea
<dalda at hazi.eus> wrote:
> Hi ,
>
> I'm facing a problem with a "WMSCSOURCE"... In my local_config.py file I've added an WMSCSOURCE pointing to another geoserver we have in our organization. That geoserver is handling right now 5000 layers approximately, the thing is that as the number of layers is growing the load time of the "Create Map" page has slowed down in the same rate causing finally a "memory crash" in the browser...
>
> I've tried disabling that WMSCSOURCE and the "Create Map" page works perfect, so the problem is in the process of loading that capabilities document.
>
> The capabilities document is about 12,5 MB size
>
> I'm working on 2.4 version.
>
> Any ideas where can I improve the load time or something?
>
> Thanks in advance.
>
> Regards,
>
> Agur bero bat,
>
>
> David Alda Fernández de Lezea
> Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.
> dalda at hazi.eus | www.hazi.eus
> T 945 003 240 - M 627 923 170 - F 945 003 290
> Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba
>
> *********************  LEGE OHARRA   *******************   AVISOLEGAL   *******************   DISCLAIMER   *****************************
> Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
> Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
> This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users



-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti


More information about the geonode-users mailing list