<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Dear John,<br>
<br>
We have in-house server on the corporate LAN (100Mbps). We have tested bandwidth speed with iperf. We have started iperf on 4 Windows clients and on Ubuntu/GeoNode Server. Every time all clients are sharing 100Mbps (cca 25Mbps per client). So, we think it is
 not the network issue.<br>
<br>
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. Virtualization platform is Oracle VM.<br>
 In the moment when performance decrease, a server eats only 6-7GB of RAM (free is 17-18GB of RAM) and load average is about 7.<br>
<br>
We have enabled GeoWebCache by doing the following:<br>
- Caching to external postgresql database<br>
Tile caching - Disk quota....Enable disk Quota ....Maximum tile cache size 50GiB<br>
Disk quota check frequency:600s<br>
Disk quota store type....External database<br>
Target database type....PostgreSQL<br>
JDBC data source...GeoServer managed connection pool<br>
JDBC Driver class name.....org.postgresql.Driver<br>
JDBC connection URL.....jdbc:postgresql://localhost:5432/geonode<br>
User name..... geonode<br>
Password.... ******<br>
Validation query.....select 1<br>
<br>
sudo service tomcat7 stop<br>
sudo service apache2 stop<br>
mkdir /var/cache/geoserver<br>
chmod -R 777 geoserver<br>
In:<br>
vi /usr/share/geoserver/WEB-INF/web.xml<br>
added:<br>
<context-param><br>
       <param-name>GEOWEBCACHE_CACHE_DIR</param-name><br>
       <param-value>/var/cache/geoserver/</param-value><br>
</context-param><br>
sudo reboot<br>
<br>
Here is the link of our map containing 140 internal layers (without external WMS layers) during heavy rendering of 4 clients:<br>
<a class="moz-txt-link-freetext" href="https://www.dropbox.com/s/2ncig40ee0i0ybo/2017-09-14-12-08-17.mp4?dl=0">https://www.dropbox.com/s/2ncig40ee0i0ybo/2017-09-14-12-08-17.mp4?dl=0</a><br>
<br>
During online connection of Mr. Alessio Fabiani, he has made following changes:<br>
-Geofence:<br>
Size of the raw cache:600000<br>
Cache refewsh interval: 600000<br>
Cache expire interval: 600000<br>
<br>
-Disk Quota:<br>
Disk Quota check frequency : 600<br>
Max.connections: 20<br>
<br>
- Store - datastore:<br>
max connections: 50<br>
min connections: 10<br>
fetch size : 100000<br>
<br>
-WCS: Overview policy: Closest overview<br>
<br>
Regards,<br>
<br>
Ana<br>
<br>
On 9/13/2017 11:44 PM, John Jediny wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAAYoSnj-ArGAxvKLt92LFXErm17rX=8hnHku-iHDJfUeL5OgWA@mail.gmail.com">
<div dir="ltr">Are you running it on a cloud service provider or in-house? this seems like a network latency issue at first watch. Can you share the specs of the operating systems/machines (e.g. VM/containers) being used for total CPU/RAM/Network?<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Sep 8, 2017 at 3:11 AM, Ana Boljevic <span dir="ltr">
<<a href="mailto:ana.boljevic@cedis.me" target="_blank" moz-do-not-send="true">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">
<div>
<div style="font-family:Tahoma;font-size:13px">
<div>
<div>
<div><span style="font-family:"Segoe
UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">Hi Alessio,</span></div>
<div><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)">Please receive screen video recording link, so you can see by yourself what do we mean by "Poor Performance". </span><br style="font-family:"Segoe
                            UI",Helvetica,Arial,sans-serif;font-size:medium">
<a href="https://www.dropbox.com/s/2ai2n8764p1ny9n/2017-09-08-08-38-33.flv?dl=0" style="font-family:"Segoe
                            UI",Helvetica,Arial,sans-serif;font-size:medium" target="_blank" moz-do-not-send="true">https://www.dropbox.com/s/<wbr>2ai2n8764p1ny9n/2017-09-08-08-<wbr>38-33.flv?dl=0</a><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)">This recording was taken during of heavy map rendering of 4 clients. We have 144 vector layers and 2 external WMS layers (behaviour is the same
 when we don't use WMS layers. In video link, we have used only local vector layers, not external WMS layers). We are not experienced enough to know what does cause the issue (GeoNode or GeoServer).<br>
Please reveive one typical kml layer in the attachment.</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)"><br>
</span></div>
<div><span style="font-family:"Segoe
UI",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">Regards,</span></div>
<div><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><span class="HOEnZb"><font color="#888888"><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>
</font></span></div>
<span class="HOEnZb"></span></div>
<span class="HOEnZb"></span></div>
<span class="HOEnZb"></span></div>
<span class="HOEnZb"></span></div>
<span class="HOEnZb"></span>
<div style="font-family:Times New
                  Roman;color:#000000;font-size:16px">
<span class="HOEnZb"><font color="#888888">
<hr>
</font></span>
<div id="m_-1662292667786022624divRpF452974" style="direction:ltr"><font size="2" face="Tahoma" color="#000000"><span class="HOEnZb"><font color="#888888"><b>From:</b> Alessio Fabiani [<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank" moz-do-not-send="true">alessio.fabiani@geo-<wbr>solutions.it</a>]<br>
<b>Sent:</b> Thursday, September 07, 2017 4:21 PM<br>
<b>To:</b> Ana Boljevic<br>
<b>Cc:</b> John Jediny; Angelos Tzotsos; <a href="mailto:geonode-users@lists.osgeo.org" target="_blank" moz-do-not-send="true">
geonode-users@lists.osgeo.org</a></font></span>
<div>
<div class="h5"><br>
<b>Subject:</b> Re: [GeoNode-users] Poor performance GeoNode<br>
</div>
</div>
</font><br>
</div>
<div>
<div class="h5">
<div>
<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="m_-1662292667786022624gmail_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">
</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" moz-do-not-send="true">http://goo.gl/it488V</a> for more information.</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">==</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"></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">
</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"></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">
</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">
</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">
</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">
</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">phone:
<a href="tel:+39%200584%20962313" value="+390584962313" target="_blank" moz-do-not-send="true">
+39 0584 962313</a></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">fax:     <a href="tel:+39%200584%20166%200272" value="+3905841660272" target="_blank" moz-do-not-send="true">+39 0584 1660272</a></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">mob:   <a href="tel:+39%20331%20623%203686" value="+393316233686" target="_blank" moz-do-not-send="true">+39 331 6233686</a></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"></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" moz-do-not-send="true">http://www.geo-solutions.it</a></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"><a href="http://twitter.com/geosolutions_it" target="_blank" moz-do-not-send="true">http://twitter.com/<wbr>geosolutions_it</a></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"></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">------------------------------<wbr>-------------------------</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" moz-do-not-send="true">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,net<wbr>/sf/saxon/event/ReceivingConte<wbr>ntHandler.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>
</div>
</div>
</div>
</div>
<div style="font-family:Times New
                                    Roman;color:#000000;font-size:16px">
<hr>
<div id="m_-1662292667786022624m_7602354226301383730divRpF630740" style="direction:ltr">
<font size="2" face="Tahoma" color="#000000"><b>From:</b> John Jediny [<a href="mailto:john.jediny@gmail.com" target="_blank" moz-do-not-send="true">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" moz-do-not-send="true">
geonode-users@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [GeoNode-users] Poor performance GeoNode<br>
</font><br>
</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" moz-do-not-send="true">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_-1662292667786022624m_7602354226301383730m_5517246803481471597moz-cite-prefix">
You need to add more workers on your WSGI server.<br>
<br>
Best,<br>
Angelos
<div>
<div class="m_-1662292667786022624m_7602354226301383730h5"><br>
<br>
On 08/29/2017 11:43 AM, Ana Boljevic wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="m_-1662292667786022624m_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_-1662292667786022624m_7602354226301383730m_5517246803481471597mimeAttachmentHeader">
</fieldset> <br>
</div>
</div>
<pre>______________________________<wbr>_________________
geonode-users mailing list
<a class="m_-1662292667786022624m_7602354226301383730m_5517246803481471597moz-txt-link-abbreviated" href="mailto:geonode-users@lists.osgeo.org" target="_blank" moz-do-not-send="true">geonode-users@lists.osgeo.org</a>
<a class="m_-1662292667786022624m_7602354226301383730m_5517246803481471597moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/geonode-users" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><span class="m_-1662292667786022624m_7602354226301383730HOEnZb"><font color="#888888">
</font></span></pre>
<span class="m_-1662292667786022624m_7602354226301383730HOEnZb"></span></blockquote>
<span class="m_-1662292667786022624m_7602354226301383730HOEnZb"><font color="#888888">
<p><br>
<span class="m_-1662292667786022624HOEnZb"></span></p>
<span class="m_-1662292667786022624HOEnZb"><font color="#888888">
<pre class="m_-1662292667786022624m_7602354226301383730m_5517246803481471597moz-signature" cols="72">-- 
Angelos Tzotsos, PhD
Charter Member
Open Source Geospatial Foundation
<a class="m_-1662292667786022624m_7602354226301383730m_5517246803481471597moz-txt-link-freetext" href="http://users.ntua.gr/tzotsos" target="_blank" moz-do-not-send="true">http://users.ntua.gr/tzotsos</a></pre>
</font></span></font></span></div>
<span class="m_-1662292667786022624HOEnZb"><font color="#888888"><br>
______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank" moz-do-not-send="true">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br>
</font></span></blockquote>
<span class="m_-1662292667786022624HOEnZb"></span></div>
<span class="m_-1662292667786022624HOEnZb"><font color="#888888"><br>
<br clear="all">
<br>
-- <br>
<div class="m_-1662292667786022624m_7602354226301383730gmail_signature">Cell: <a href="tel:%28973%29%20931-0580" value="+19739310580" target="_blank" moz-do-not-send="true">
973-931-0580</a><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" target="_blank" moz-do-not-send="true">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_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>
</div>
</blockquote>
<br>
</body>
</html>