<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Patrick,</p>
    <p>thanks for FcgidMaxRequestsPerProcess indication, so for
      processes you set FcgidMaxProcesses or FcgidMaxProcessesPerClass?</p>
    <p>In example FcgidMaxProcesses 4 if cores are 4?<br>
    </p>
    <p>Do you have docker file for qgis-server image that you post here?</p>
    <p>Thanks</p>
    <p>W<br>
    </p>
    <div class="moz-cite-prefix">Il 25/02/19 11:54, Patrick Valsecchi ha
      scritto:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKOK4jgwDmaq3QCf2QnDTbnndYt9cHKtsB2h9w=iqtH0GjOJKQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <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"
              moz-do-not-send="true">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"
            moz-do-not-send="true">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" moz-do-not-send="true">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"
              moz-do-not-send="true">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"
                    moz-do-not-send="true">lorenzetti@gis3w.it</a><br>
                  skype: aiki74<br>
                  twitter:<a href="https://twitter.com/w_lorenzetti"
                    target="_blank" moz-do-not-send="true">w_lorenzetti</a><br>
                  g+:<a
                    href="https://plus.google.com/117055903318462447104/"
                    target="_blank" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">QGIS-Developer@lists.osgeo.org</a><br>
          List info: <a
            href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
            rel="noreferrer" target="_blank" moz-do-not-send="true">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" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
    </blockquote>
    <div class="moz-signature">-- <br>
      <p style="font-size:12px;">
        Walter Lorenzetti phD<br>
        email: <a class="moz-txt-link-abbreviated" href="mailto:lorenzetti@gis3w.it">lorenzetti@gis3w.it</a><br>
        skype: aiki74<br>
        twitter:<a href="https://twitter.com/w_lorenzetti">w_lorenzetti</a><br>
        g+:<a href="https://plus.google.com/117055903318462447104/">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">Nuovi
          corsi QGIS e GFOSS</a>
      </p>
    </div>
  </body>
</html>