<p dir="ltr">Right, thanks. <br>
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.</p>
<p dir="ltr">We usually use different deployment means, but it's important to have a clear answer on QGIS Server non thread safety.</p>
<p dir="ltr">Thanks,<br>
giovanni<br>
</p>
<div class="gmail_quote">Il 10/mag/2016 10:20 AM, "Marco Hugentobler" <<a href="mailto:marco.hugentobler@sourcepole.ch">marco.hugentobler@sourcepole.ch</a>> ha scritto:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div class="quoted-text">
<div>On 05/10/16 10:05, G. Allegri wrote:<br>
</div>
<blockquote type="cite">
<p dir="ltr">Hi Marco, thanks for the reply.<br>
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?</p>
</blockquote>
<br></div>
QGIS Server does not spawn the new processes itself. This is done by
the apache fcgid module (<a href="https://httpd.apache.org/mod_fcgid/" target="_blank">https://httpd.apache.org/mod_fcgid/</a>).<br>
<br>
Regards,<br>
Marco <br>
<br>
<br>
<blockquote type="cite"><div class="quoted-text">
<p dir="ltr">giovanni</p>
<div class="gmail_quote">Il 09/mag/2016 11:09 PM, "G. Allegri"
<<a href="mailto:giohappy@gmail.com" target="_blank">giohappy@gmail.com</a>>
ha scritto:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">Today me and my collegues were experimenting with
a QgsApplication instance within a python web application.<br>
While doing some tests on concurrency a question arised in
my mind: is QGIS Server supposed to manage concurrent
requests when run as FastCGI?</p>
<p dir="ltr">Probably it's a noob question but I haven't been
able to give me a clear answer...</p>
<p dir="ltr">Giovanni</p>
</blockquote>
</div>
<br>
<fieldset></fieldset>
<br>
</div><pre>_______________________________________________
Qgis-developer mailing list
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre><font color="#888888">
</font></blockquote><font color="#888888">
<br>
<br>
<pre cols="72">--
Dr. Marco Hugentobler
Sourcepole - Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
<a href="mailto:marco.hugentobler@sourcepole.ch" target="_blank">marco.hugentobler@sourcepole.ch</a> <a href="http://www.sourcepole.ch" target="_blank">http://www.sourcepole.ch</a>
Technical Advisor QGIS Project Steering Committee </pre>
</font></div>
<br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br></blockquote></div>