Right, thanks.
I didn't know fastcgi was conceptually designed to do single threading, and
that apache mod_fcgid spawns a new process for each single request. That's
wht I was looking into QGIS Server itself.

We usually use different deployment means, but it's important to have a
clear answer on QGIS Server non thread safety.

Thanks,
giovanni
Il 10/mag/2016 10:20 AM, "Marco Hugentobler" <
marco.hugentob...@sourcepole.ch> ha scritto:

On 05/10/16 10:05, G. Allegri wrote:

Hi Marco, thanks for the reply.
I imagined that but I couldn't find where QGIS Server spawns new processes
to handle the incoming requests. Could you point me to the lines where it
happens?


QGIS Server does not spawn the new processes itself. This is done by the
apache fcgid module (https://httpd.apache.org/mod_fcgid/).

Regards,
Marco


giovanni
Il 09/mag/2016 11:09 PM, "G. Allegri" <gioha...@gmail.com> ha scritto:

> Today me and my collegues were experimenting with a QgsApplication
> instance within a python web application.
> While doing some tests on concurrency a question arised in my mind: is
> QGIS Server supposed to manage concurrent requests when run as FastCGI?
>
> Probably it's a noob question but I haven't been able to give me a clear
> answer...
>
> Giovanni
>


_______________________________________________
Qgis-developer mailing listqgis-develo...@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer



-- 
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich,
switzerlandmarco.hugentob...@sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee


_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to