<div dir="ltr"><div dir="ltr"><div dir="ltr">On the camptocamp side, we use 1) within a docker image: <a href="https://cloud.docker.com/u/camptocamp/repository/docker/camptocamp/qgis-server">https://cloud.docker.com/u/camptocamp/repository/docker/camptocamp/qgis-server</a><br><br></div><div>What I strongly recommend is to add a FcgidMaxRequestsPerProcess with a value of 1000 (work around some potential memory leaks in QGIS). I'd say to set the number of processes to the number of CPU cores.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 25, 2019 at 11:29 AM René-Luc Dhont <<a href="mailto:rldhont@gmail.com">rldhont@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
Hi Walter,<br>
<br>
We, at 3Liz, use the 3) with supervisord and the number of process
is based on the number of preocessors.<br>
<br>
But we also used for QGIS3 a 4th way, a python server based on
tronado: <a class="gmail-m_-2797232204220888020moz-txt-link-freetext" href="https://github.com/3liz/py-qgis-server" target="_blank">https://github.com/3liz/py-qgis-server</a><br>
<br>
Regards,<br>
<br>
René-Luc<br>
<a class="gmail-m_-2797232204220888020moz-txt-link-freetext" href="https://github.com/rldhont" target="_blank">https://github.com/rldhont</a><br>
<br>
<div class="gmail-m_-2797232204220888020moz-cite-prefix">Le 25/02/2019 à 11:08, Walter
Lorenzetti a écrit :<br>
</div>
<blockquote type="cite">
<p>Hi all,</p>
<p>I'm not a sysadmin but for our customers I'd like find the
better way for deploy QGIS-server 3.</p>
<p>I try at least 3 ways:</p>
<p>1) Apache2 + libapache2-mod-fcgid</p>
<p>2) Nginx + fcgiwrap</p>
<p>3) Nginx + QGIS-Server working by socket/service (systemd)<br>
</p>
<p>By delveloper side, what do you think is the best?</p>
<p>I'd like to much 3) solution, but I found some problems, in
particular, how many sockects I've to create watching at my
server? (Number of processors )</p>
<p>For 1) and 2) have you experiences on performance and tuning?</p>
<p>Thanks in advance and thanks for work!</p>
<p>W<br>
</p>
<div class="gmail-m_-2797232204220888020moz-signature">-- <br>
<p style="font-size:12px"> Walter Lorenzetti phD<br>
email: <a class="gmail-m_-2797232204220888020moz-txt-link-abbreviated" href="mailto:lorenzetti@gis3w.it" target="_blank">lorenzetti@gis3w.it</a><br>
skype: aiki74<br>
twitter:<a href="https://twitter.com/w_lorenzetti" target="_blank">w_lorenzetti</a><br>
g+:<a href="https://plus.google.com/117055903318462447104/" target="_blank">aiki74</a><br>
Tel/Cell: (+39) 347-6597931<br>
Viale Verdi 24 - 51016 Montecatini Terme (PT) <br>
<a href="http://gis3w.it/it/calendario-corsi-software-geografici" target="_blank">Nuovi corsi QGIS e GFOSS</a> </p>
</div>
<br>
<fieldset class="gmail-m_-2797232204220888020mimeAttachmentHeader"></fieldset>
<pre class="gmail-m_-2797232204220888020moz-quote-pre">_______________________________________________
QGIS-Developer mailing list
<a class="gmail-m_-2797232204220888020moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="gmail-m_-2797232204220888020moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="gmail-m_-2797232204220888020moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>