<div dir="ltr">We did tests with JMeter directly to GeoServer with 20 parallel threads. GeoServer is not the issue.<div><br></div><div>My guess is that on the map there are some layers (external or remote or Layer Groups containing remote layers or something) that cause that slowness.</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 Fri, Sep 15, 2017 at 12:34 AM, John Jediny <span dir="ltr"><<a href="mailto:john.jediny@gmail.com" target="_blank">john.jediny@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 dir="ltr">GeoWebCache sounds like the issue<br></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Thu, Sep 14, 2017 at 6:29 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 text="#000000" bgcolor="#FFFFFF">
<div class="m_-18108789137461379m_6251474185786257327moz-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://loca<wbr>lhost: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/w<wbr>eb.xml<br>
added:<br>
<context-param><br>
       <param-name>GEOWEBCACHE_CACHE_<wbr>DIR</param-name><br>
       <param-value>/var/cache/geoser<wbr>ver/</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="m_-18108789137461379m_6251474185786257327moz-txt-link-freetext" href="https://www.dropbox.com/s/2ncig40ee0i0ybo/2017-09-14-12-08-17.mp4?dl=0" target="_blank">https://www.dropbox.com/s/2nci<wbr>g40ee0i0ybo/2017-09-14-12-08-<wbr>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<div><div class="m_-18108789137461379h5"><br>
<br>
On 9/13/2017 11:44 PM, John Jediny wrote:<br>
</div></div></div><div><div class="m_-18108789137461379h5">
<blockquote type="cite">
<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">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>Hi Alessio,</span></div>
<div><br>
<span>Please receive screen video recording link, so you can see by yourself what do we mean by "Poor Performance". </span><br>
<a href="https://www.dropbox.com/s/2ai2n8764p1ny9n/2017-09-08-08-38-33.flv?dl=0" target="_blank">https://www.dropbox.com/s/2ai2<wbr>n8764p1ny9n/2017-09-08-08-38-3<wbr>3.flv?dl=0</a><br>
<span>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>
<span><br>
</span></div>
<div><span>Regards,</span></div>
<div><br>
<span>Ana Boljevic </span><span class="m_-18108789137461379m_6251474185786257327HOEnZb"><font color="#888888"><br>
<div>
-- </div>
</font></span></div>
<span class="m_-18108789137461379m_6251474185786257327HOEnZb"></span></div>
<span class="m_-18108789137461379m_6251474185786257327HOEnZb"></span></div>
<span class="m_-18108789137461379m_6251474185786257327HOEnZb"></span></div>
<span class="m_-18108789137461379m_6251474185786257327HOEnZb"></span></div>
<span class="m_-18108789137461379m_6251474185786257327HOEnZb"></span>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<span class="m_-18108789137461379m_6251474185786257327HOEnZb"><font color="#888888">
<hr>
</font></span>
<div id="m_-18108789137461379m_6251474185786257327m_-1662292667786022624divRpF452974" style="direction:ltr"><font size="2" face="Tahoma" color="#000000"><span class="m_-18108789137461379m_6251474185786257327HOEnZb"><font color="#888888"><b>From:</b> Alessio Fabiani [<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-solutions<wbr>.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">
geonode-users@lists.osgeo.org</a></font></span>
<div>
<div class="m_-18108789137461379m_6251474185786257327h5"><br>
<b>Subject:</b> Re: [GeoNode-users] Poor performance GeoNode<br>
</div>
</div>
</font><br>
</div>
<div>
<div class="m_-18108789137461379m_6251474185786257327h5">
<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_-18108789137461379m_6251474185786257327m_-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">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"><a href="https://maps.google.com/?q=Via+di+Montramito+3/A%0D+55054+%C2%A0Massarosa&entry=gmail&source=g" target="_blank">Via di Montramito 3/A</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="https://maps.google.com/?q=Via+di+Montramito+3/A%0D+55054+%C2%A0Massarosa&entry=gmail&source=g" target="_blank">55054 </a><a href="https://maps.google.com/?q=Via+di+Montramito+3/A%0D+55054+%3Chttps://maps.google.com/?q%3DVia%2Bdi%2BMontramito%2B3/A%250D%2B55054%2B%25C2%25A0Massarosa%26entry%3Dgmail%26source%3Dg%3E%C2%A0Massarosa+%3Chttps://maps.google.com/?q%3DVia%2Bdi%2BMontramito%2B3/A%250D%2B55054%2B%25C2%25A0Massarosa%26entry%3Dgmail%26source%3Dg%3E&entry=gmail&source=g"> </a><a href="https://maps.google.com/?q=Via+di+Montramito+3/A%0D+55054+%C2%A0Massarosa&entry=gmail&source=g" target="_blank">Massarosa</a> (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">
+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">+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">+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">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">http://twitter.com/geosolution<wbr>s_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">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>Hi Angelos and John,</span><br>
<span>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>
<span>1) Replace OpenJVM with OracleJVM </span><br>
<span>2) We've increased the JVM memory by adding into /etc/default/tomcat7 </span><br>
<span>JAVA_OPTS="-Xmx12288M -Xms12288M -XX:MaxPermSize=1024M -XX:CompileCommand=exclude,net<wbr>/sf/saxon/event/ReceivingConte<wbr>ntHandler.startEvent"</span><br>
<span>3) Enable Native JAI and Native JAI ImageIO</span><br>
<span>4) Enable Tile caching into External PostgreSQL database</span><br>
<br>
<span>Additionally, we have tried the following:</span><br>
<span>1) In /etc/tomcat7/server.xml added maxThreads="50":</span><br>
<span> </span><br>
<span>  <Connector port="8080" protocol="HTTP/1.1"</span><br>
<span>               connectionTimeout="20000"</span><br>
<span>               URIEncoding="UTF-8"</span><br>
<span>               redirectPort="8443" maxThreads="50"/></span><br>
<span>2) In /etc/apache2/mods-enabled/mpm_<wbr>event.conf</span><br>
<br>
<span>try to change conf parameters with no results:</span><br>
<span><IfModule mpm_event_module></span><br>
<span>        StartServers                  <wbr>   2</span><br>
<span>        MinSpareThreads          25</span><br>
<span>        MaxSpareThreads          75</span><br>
<span>        ThreadLimit                   <wbr>   64</span><br>
<span>        ThreadsPerChild          25</span><br>
<span>        MaxRequestWorkers         150</span><br>
<span>        MaxConnectionsPerChild   0</span><br>
<span></IfModule></span><br>
<br>
<span>Still, when 4-5 clients try to render maps, performance radically decrease and geonode become unresponsive.</span><br>
<span>Do you have any idea how to increse performance ?</span><br>
<span>Best regards,</span><br>
<span>Ana Boljevic</span><br>
<div>
-- </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_-18108789137461379m_6251474185786257327m_-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">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 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_-18108789137461379m_6251474185786257327m_-1662292667786022624m_7602354226301383730m_5517246803481471597moz-cite-prefix">
You need to add more workers on your WSGI server.<br>
<br>
Best,<br>
Angelos
<div>
<div class="m_-18108789137461379m_6251474185786257327m_-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_-18108789137461379m_6251474185786257327m_-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_-18108789137461379m_6251474185786257327m_-1662292667786022624m_7602354226301383730m_5517246803481471597mimeAttachmentHeader">
</fieldset> <br>
</div>
</div>
<pre>______________________________<wbr>_________________
geonode-users mailing list
<a class="m_-18108789137461379m_6251474185786257327m_-1662292667786022624m_7602354226301383730m_5517246803481471597moz-txt-link-abbreviated" href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a>
<a class="m_-18108789137461379m_6251474185786257327m_-1662292667786022624m_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_-18108789137461379m_6251474185786257327m_-1662292667786022624m_7602354226301383730HOEnZb"><font color="#888888">
</font></span></pre>
<span class="m_-18108789137461379m_6251474185786257327m_-1662292667786022624m_7602354226301383730HOEnZb"></span></blockquote>
<span class="m_-18108789137461379m_6251474185786257327m_-1662292667786022624m_7602354226301383730HOEnZb"><font color="#888888">
<p><br>
<span class="m_-18108789137461379m_6251474185786257327m_-1662292667786022624HOEnZb"></span></p>
<span class="m_-18108789137461379m_6251474185786257327m_-1662292667786022624HOEnZb"><font color="#888888">
<pre class="m_-18108789137461379m_6251474185786257327m_-1662292667786022624m_7602354226301383730m_5517246803481471597moz-signature" cols="72">-- 
Angelos Tzotsos, PhD
Charter Member
Open Source Geospatial Foundation
<a class="m_-18108789137461379m_6251474185786257327m_-1662292667786022624m_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="m_-18108789137461379m_6251474185786257327m_-1662292667786022624HOEnZb"><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="m_-18108789137461379m_6251474185786257327m_-1662292667786022624HOEnZb"></span></div>
<span class="m_-18108789137461379m_6251474185786257327m_-1662292667786022624HOEnZb"><font color="#888888"><br>
<br clear="all">
<br>
-- <br>
<div class="m_-18108789137461379m_6251474185786257327m_-1662292667786022624m_7602354226301383730gmail_signature">Cell: <a href="tel:%28973%29%20931-0580" value="+19739310580" target="_blank">
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">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>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="m_-18108789137461379m_6251474185786257327gmail_signature" data-smartmail="gmail_signature">Cell: <a href="tel:(973)%20931-0580" value="+19739310580" target="_blank">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>
</div>
</blockquote>
<br>
</div></div></div>

</blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_-18108789137461379gmail_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>
</font></span></div>
</blockquote></div><br></div>