[QGIS-Developer] QGIS server deployment

Walter Lorenzetti lorenzetti at gis3w.it
Tue Feb 26 00:15:07 PST 2019


Hi Patrick,

thanks for FcgidMaxRequestsPerProcess indication, so for processes you 
set FcgidMaxProcesses or FcgidMaxProcessesPerClass?

In example FcgidMaxProcesses 4 if cores are 4?

Do you have docker file for qgis-server image that you post here?

Thanks

W

Il 25/02/19 11:54, Patrick Valsecchi ha scritto:
> 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 
> <mailto: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 <mailto: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 list
>>     QGIS-Developer at lists.osgeo.org  <mailto: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
>
>     _______________________________________________
>     QGIS-Developer mailing list
>     QGIS-Developer at lists.osgeo.org <mailto: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
>
>
> _______________________________________________
> 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
-- 

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>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190226/600be51f/attachment.html>


More information about the QGIS-Developer mailing list