<div dir="ltr">Can you please better explain what you mean with "Map Performance" exactly?<div><br></div><div>Getting the list of layers or rendering the map?</div><div><br></div><div>Also, how many layers you have and which type (vectorial / raster) ?</div><div><br></div><div>Are you able to identify performance issues? Those are on GeoNode or GeoServer?</div><div><br></div><div>In the first case it is certainly an issue of your HTTP Server configuration (and most probably the proxy module), in the second case it could be an issue of data not correctly processed.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><span><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Regards,</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Alessio Fabiani</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">==</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">GeoServer Professional Services from the experts! Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">==</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Ing. Alessio Fabiani</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">@alfa7691</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Founder/Technical Lead</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">GeoSolutions S.A.S.</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Via di Montramito 3/A</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">55054  Massarosa (LU)</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Italy</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">phone: +39 0584 962313</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">fax:     +39 0584 1660272</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">mob:   +39 331 6233686</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">-------------------------------------------------------</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"> </span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</span></p></span></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Thu, Sep 7, 2017 at 8:54 AM, Ana Boljevic <span dir="ltr"><<a href="mailto:ana.boljevic@cedis.me" target="_blank">ana.boljevic@cedis.me</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt"><span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">Hi Angelos and John,</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">Let me explain one more time, our performance issue. We have done fresh Geonode 2.6.2 installation (standard deployment), give VM 24GB
 RAM and 12 CPU. After installation, we have done:</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">1) Replace OpenJVM with OracleJVM </span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">2) We've increased the JVM memory by adding into /etc/default/tomcat7 </span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">JAVA_OPTS="-Xmx12288M -Xms12288M -XX:MaxPermSize=1024M -XX:CompileCommand=exclude,<wbr>net/sf/saxon/event/<wbr>ReceivingContentHandler.<wbr>startEvent"</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">3) Enable Native JAI and Native JAI ImageIO</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">4) Enable Tile caching into External PostgreSQL database</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">Additionally, we have tried the following:</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">1) In /etc/tomcat7/server.xml added maxThreads="50":</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)"> </span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">  <Connector port="8080" protocol="HTTP/1.1"</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">               connectionTimeout="20000"</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">               URIEncoding="UTF-8"</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">               redirectPort="8443" maxThreads="50"/></span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">2) In /etc/apache2/mods-enabled/mpm_<wbr>event.conf</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">try to change conf parameters with no results:</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)"><IfModule mpm_event_module></span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">        StartServers                  <wbr>   2</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">        MinSpareThreads          25</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">        MaxSpareThreads          75</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">        ThreadLimit                   <wbr>   64</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">        ThreadsPerChild          25</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">        MaxRequestWorkers         150</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">        MaxConnectionsPerChild   0</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)"></IfModule></span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">Still, when 4-5 clients try to render maps, performance radically decrease and geonode become unresponsive.</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">Do you have any idea how to increse performance ?</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">Best regards,</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<span style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">Ana Boljevic</span><br style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
<div style="font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium">
-- </div>
<div>
<div style="font-family:Tahoma;font-size:13px">
<div>
<div>
<div><br>
<div style="font-family:Tahoma;font-size:13px"></div>
</div>
</div>
</div>
</div>
</div>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div id="m_7602354226301383730divRpF630740" style="direction:ltr"><font face="Tahoma" size="2" color="#000000"><b>From:</b> John Jediny [<a href="mailto:john.jediny@gmail.com" target="_blank">john.jediny@gmail.com</a>]<br>
<b>Sent:</b> Saturday, September 02, 2017 3:32 AM<br>
<b>To:</b> Angelos Tzotsos<br>
<b>Cc:</b> Ana Boljevic; <a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [GeoNode-users] Poor performance GeoNode<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">apache2 mod_wsgi needs tuning. Add workers and up memory limits per worker<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Sep 1, 2017 at 3:56 PM, Angelos Tzotsos <span dir="ltr">
<<a href="mailto:gcpp.kalxas@gmail.com" target="_blank">gcpp.kalxas@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF">
<div class="m_7602354226301383730m_5517246803481471597moz-cite-prefix">You need to add more workers on your WSGI server.<br>
<br>
Best,<br>
Angelos
<div>
<div class="m_7602354226301383730h5"><br>
<br>
On 08/29/2017 11:43 AM, Ana Boljevic wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="m_7602354226301383730h5">
<pre>Dear Geonode Community,

We have installed fresh Geonode v2.6.2 on Ubuntu Server 16.04. In order to speed up system, we gave Geonode 24GB of RAM and 12 CPU. Unfortulnally, performance are still poor. Apart from basic installation (standard, not developement deployment) we have done:
1) Replace OpenJVM with OracleJVM (see attachment geoserver.png)
2) We've increased the JVM memory by adding into /etc/default/tomcat7
JAVA_OPTS="-Djava.awt.headless<wbr>=true -Xms6144m -Xmx6144m -XX:+UseParallelOldGC -XX:+UseParallelGC -XX:NewRatio=2 -XX:+AggressiveOpts -Xrs -XX:PerfDataSamplingInterval=5<wbr>00 -XX:MaxPermSize=512m"
3) Enable Native JAI and Native JAI ImageIO
4) Enable Tile caching into External PostgreSQL database

For some reason, Server is not consuming memory no mater how many clients are requesting maps. There is always more than 16GB free memory (attachment free.jpg).
If you can give as any hint, idea or help, we would be thankful.

Regards,

Ana Boljevic

--

</pre>
<br>
<fieldset class="m_7602354226301383730m_5517246803481471597mimeAttachmentHeader"></fieldset>
<br>
</div>
</div>
<pre>______________________________<wbr>_________________
geonode-users mailing list
<a class="m_7602354226301383730m_5517246803481471597moz-txt-link-abbreviated" href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a>
<a class="m_7602354226301383730m_5517246803481471597moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/geonode-users" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><span class="m_7602354226301383730HOEnZb"><font color="#888888">
</font></span></pre>
<span class="m_7602354226301383730HOEnZb"><font color="#888888"></font></span></blockquote>
<span class="m_7602354226301383730HOEnZb"><font color="#888888">
<p><br><span class="HOEnZb"><font color="#888888">
</font></span></p><span class="HOEnZb"><font color="#888888">
<pre class="m_7602354226301383730m_5517246803481471597moz-signature" cols="72">-- 
Angelos Tzotsos, PhD
Charter Member
Open Source Geospatial Foundation
<a class="m_7602354226301383730m_5517246803481471597moz-txt-link-freetext" href="http://users.ntua.gr/tzotsos" target="_blank">http://users.ntua.gr/tzotsos</a></pre>
</font></span></font></span></div><span class="HOEnZb"><font color="#888888">
<br>
______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br>
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
</font></span></div><span class="HOEnZb"><font color="#888888">
<br>
<br clear="all">
<br>
-- <br>
<div class="m_7602354226301383730gmail_signature">Cell: 973-931-0580<br>
<br>
<div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div>
</div>
</font></span></div>
</div>
</div>
</div>
</div>

<br>______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br></div>