[QGIS-Developer] QGIS server deployment

Patrick Valsecchi patrick.valsecchi at camptocamp.com
Mon Feb 25 02:54:03 PST 2019


On the camptocamp side, we use 1) within a docker image:
https://cloud.docker.com/u/camptocamp/repository/docker/camptocamp/qgis-server

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.

On Mon, Feb 25, 2019 at 11:29 AM René-Luc Dhont <rldhont at gmail.com> wrote:

> Hi Walter,
>
> We, at 3Liz, use the 3) with supervisord and the number of process is
> based on the number of preocessors.
>
> But we also used for QGIS3 a 4th way, a python server based on tronado:
> https://github.com/3liz/py-qgis-server
>
> Regards,
>
> René-Luc
> https://github.com/rldhont
>
> Le 25/02/2019 à 11:08, Walter Lorenzetti a écrit :
>
> Hi all,
>
> I'm not a sysadmin but for our customers I'd like find the better way for
> deploy QGIS-server 3.
>
> I try at least 3 ways:
>
> 1) Apache2 + libapache2-mod-fcgid
>
> 2) Nginx + fcgiwrap
>
> 3) Nginx + QGIS-Server working by socket/service (systemd)
>
> By delveloper side, what do you think is the best?
>
> 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 )
>
> For 1) and 2) have you experiences on performance and tuning?
>
> Thanks in advance and thanks for work!
>
> W
> --
>
> Walter Lorenzetti phD
> email: lorenzetti at gis3w.it
> skype: aiki74
> twitter:w_lorenzetti <https://twitter.com/w_lorenzetti>
> g+:aiki74 <https://plus.google.com/117055903318462447104/>
> Tel/Cell: (+39) 347-6597931
> Viale Verdi 24 - 51016 Montecatini Terme (PT)
> Nuovi corsi QGIS e GFOSS
> <http://gis3w.it/it/calendario-corsi-software-geografici>
>
> _______________________________________________
> QGIS-Developer mailing listQGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190225/70f0cd47/attachment.html>


More information about the QGIS-Developer mailing list