<div dir="ltr">Good morning,<div><br></div><div>Thanks for your message, i have currently one only Qgis server installed/available.</div><div>Sorry but what do you mean by "enhance the number of QGIS Server available ?"</div><div><br></div><div><div>Following to my previous message, regarding my initial and main issue, For information, when i do : </div><div><br></div><div><pre style="margin-top:0px;margin-bottom:0px;padding:0px;list-style:none;font-size:1.2em;color:rgb(51,51,51)"><span style="background-color:rgb(243,243,243)">php lizmap/console.php project:load</span></pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;list-style:none;font-size:1.2em;color:rgb(51,51,51)"><br></pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;list-style:none;font-size:1.2em;color:rgb(51,51,51)">i get : </pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;list-style:none;font-size:1.2em;color:rgb(51,51,51)"><br></pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;list-style:none"><pre style="color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;padding:0px;list-style:none"><i style="background-color:rgb(238,238,238)">/var/www/lizmap/lizmap-web-client-3.6.3# php lizmap/console.php project:load
Enter the repository lizmaptest
Get the project zios
1 request(s) return success for the project zios
Enter the repository aero
Get the project aero_v2
1 request(s) return success for the project aero_v2
Enter the repository dr0
Get the project forages
1 request(s) return success for the project forages
Get the project forages_2154
1 request(s) return success for the project forages_2154
Get the project dr0
1 request(s) return success for the project dr0
Get the project forages_2154_with_fond
1 request(s) return success for the project forages_2154_with_fond</i></pre><pre style="color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;padding:0px;list-style:none"><i style=""><br></i></pre><pre style="color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;padding:0px;list-style:none"><i style="">But when i do : </i></pre><pre style="color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;padding:0px;list-style:none"><br></pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;list-style:none"><pre style="color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;padding:0px;list-style:none"><i style="background-color:rgb(243,243,243)">php lizmap/console.php wmts:capabilities -v dr0 forages_2154
No layers configured with cache!</i></pre><pre style="color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;padding:0px;list-style:none"><i style="background-color:rgb(243,243,243)"><br></i></pre><pre style="color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;padding:0px;list-style:none"><i style="background-color:rgb(255,255,255)">Do you know where the problem comes from ?</i></pre><pre style="color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;padding:0px;list-style:none"><br></pre><pre style="color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;padding:0px;list-style:none;font-size:1.2em"><span style="background-color:rgb(255,255,255)">In parrarel, always </span>with the aim of improving performance, i tried to edit my vhost apache in adding : </pre><pre style="color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;padding:0px;list-style:none;font-size:1.2em"><pre style="color:rgb(34,34,34);font-size:small;margin-top:0px;margin-bottom:0px;padding:0px;list-style:none"><span style="background-color:rgb(238,238,238)">FcgidInitialEnv QGIS_SERVER_PARALLEL_RENDERING "1"</span></pre><pre style="color:rgb(34,34,34);font-size:small;margin-top:0px;margin-bottom:0px;padding:0px;list-style:none"><span style="background-color:rgb(238,238,238)">and</span></pre></pre><pre style="color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;padding:0px;list-style:none;font-size:1.2em"><span style="background-color:rgb(238,238,238)">FcgidInitialEnv QGIS_SERVER_CACHE_DIRECTORY "/tmp/"  </span></pre><pre style="color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;padding:0px;list-style:none;font-size:1.2em">(Is it a good idea or i should rather keep the default value ('cache in profile directory') ?</pre><pre style="color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;padding:0px;list-style:none;font-size:1.2em">i setted this path because into my lizmap cache config i noticed : cache root directory :  /tmp/)</pre><pre style="color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;padding:0px;list-style:none;font-size:1.2em"><pre style="color:rgb(34,34,34);font-size:small;margin-top:0px;margin-bottom:0px;padding:0px;list-style:none"><pre style="color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;padding:0px;list-style:none;font-size:1.2em">Still in parralel, I discovered the existence of these 2 qgis server plugins. Would it be adviced to installing them?<br class="gmail-Apple-interchange-newline"><a href="https://github.com/3liz/qgis-server-wmts-cache-plugin">https://github.com/3liz/qgis-server-wmts-cache-plugin</a><br></pre><pre style="color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;padding:0px;list-style:none;font-size:1.2em"><a href="https://github.com/3liz/qgis-server-tiles-plugin">https://github.com/3liz/qgis-server-tiles-plugin</a></pre></pre>
</pre><pre style="color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;padding:0px;list-style:none;font-size:1.2em">Eventually, I'm taking the liberty to paste below an update of my qgis server logs :</pre><pre style="color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;padding:0px;list-style:none;font-size:1.2em">I'm surprised to not read in the environment summary logs, the new enviro variables 'FcgidInitialEnv QGIS_SERVER_PARALLEL_RENDERING'<br>and 'FcgidInitialEnv QGIS_SERVER_CACHE_DIRECTORY' <br></pre><pre style="color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;padding:0px;list-style:none;font-size:1.2em">How to ensure that the cache server is functional and taken into account?</pre><pre style="color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;padding:0px;list-style:none;font-size:1.2em"><br></pre><pre style="color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;padding:0px;list-style:none;font-size:1.2em"><span style="background-color:rgb(238,238,238)">11:30:43 INFO Server[919778]: ******************** New request ***************<br>11:30:43 INFO Server[919778]: Request URL: <a href="http://sig-rec.andra.fr/cgi-bin/qgis_mapserv.fcgi/lizmap/server.json">http://sig-rec.andra.fr/cgi-bin/qgis_mapserv.fcgi/lizmap/server.json</a><br>11:30:43 INFO Server[919778]: Environment:<br>11:30:43 INFO Server[919778]: ------------------------------------------------<br>11:30:43 INFO Server[919778]: SERVER_NAME: <a href="http://sig-rec.andra.fr">sig-rec.andra.fr</a><br>11:30:43 INFO Server[919778]: REQUEST_URI: /cgi-bin/qgis_mapserv.fcgi/lizmap/server.json<br>11:30:43 INFO Server[919778]: SCRIPT_NAME: /cgi-bin/qgis_mapserv.fcgi<br>11:30:43 INFO Server[919778]: PATH_INFO: /lizmap/server.json<br>11:30:43 INFO Server[919778]: REMOTE_ADDR: 192.168.4.7<br>11:30:43 INFO Server[919778]: SERVER_PORT: 80<br>11:30:43 INFO Server[919778]: QUERY_STRING:<br>11:30:43 INFO Server[919778]: REQUEST_METHOD: GET<br>11:30:43 INFO Server[919778]: QGIS_PROJECT_FILE: /home/qgis/projects/world.qgs<br>11:30:43 INFO Server[919778]: SERVER_PROTOCOL: HTTP/1.1<br>11:30:43 INFO Server[919778]: Using configuration file path from environment: /home/qgis/projects/world.qgs<br>11:30:43 INFO Lizmap[919778]: Request headers provided<br>11:30:43 INFO Lizmap[919778]: No lizmap user groups in request headers<br>11:30:43 INFO Server[919778]: Using configuration file path from environment: /home/qgis/projects/world.qgs<br>11:30:43 INFO Server[919778]: Trying URL path: '/cgi-bin/qgis_mapserv.fcgi/lizmap/server.json' for '/lizmap'<br>11:30:43 INFO Server[919778]: API Lizmap accepts the URL path '/cgi-bin/qgis_mapserv.fcgi/lizmap/server.json'<br>11:30:43 INFO Server[919778]: Checking API path /server.json for server.json<br>11:30:43 INFO Server[919778]: API Lizmap: found handler server<br>11:30:43 CRITICAL Server[919778]: Service ATLAS is not registered<br>11:30:43 CRITICAL Server[919778]: Service CADASTRE is not registered<br>11:30:43 INFO Server[919778]: Request finished in 6 ms</span><br>
<p class="gmail-MsoBodyText" style="margin:8pt 0cm;text-align:justify;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif">Thans a lot again for your usefull help ans support.</p></pre></pre></pre></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 15 mai 2023 à 15:40, celati Laurent <<a href="mailto:laurent.celati@gmail.com">laurent.celati@gmail.com</a>> a écrit :<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 dir="ltr">Hi, thanks,<div>Probably not. Should i set additional environment variables in my apache vhost ? (MAX_CACHE_LAYERS, QGIS_SERVER_PARALLEL_RENDERING, QGIS_SERVER_MAX_THREADS, 

<span style="color:rgb(64,64,64);font-family:Lato,proxima-nova,"Helvetica Neue",Arial,sans-serif;font-size:14.4px;background-color:rgb(252,252,252)">QGIS_SERVER_MAX_THREADS,</span>QGIS_SERVER_CACHE_SIZE, QGIS_SERVER_WMS_MAX_HEIGHT / QGIS_SERVER_WMS_MAX_WIDTH)<br><br></div><div>Below, a part of my parameters qgis server log (summary) : <br><br><p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Server[907652]: ******************** New
request ***************</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Server[907652]: Request URL:
<a href="http://xxxx-xxx.xxxx.fr/cgi-bin/qgis_mapserv.fcgi?map=%2Fhome%2Fdata%2Fftp%2Ftemplate%2Fqgis%2Flizmap_test%2FDR0%2Fforages_2154.qgs&request=GetCapabilities&service=WMS&version=1.3.0&Lizmap_User=&Lizmap_User_Groups=" target="_blank">http://xxxx-xxx.xxxx.fr/cgi-bin/qgis_mapserv.fcgi?map=%2Fhome%2Fdata%2Fftp%2Ftemplate%2Fqgis%2Flizmap_test%2FDR0%2Fforages_2154.qgs&request=GetCapabilities&service=WMS&version=1.3.0&Lizmap_User=&Lizmap_User_Groups=</a></span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Server[907652]: Environment:</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Server[907652]:
------------------------------------------------</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Server[907652]: SERVER_NAME:
<a href="http://xxxxx.xxxx.fr" target="_blank">xxxxx.xxxx.fr</a></span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Server[907652]: REQUEST_URI:
/cgi-bin/qgis_mapserv.fcgi?map=%2Fhome%2Fdata%2Fftp%2Ftemplate%2Fqgis%2Flizmap%5Ftest%2FDR0%2Fforages%5F2154%2Eqgs&request=GetCapabilities&service=WMS&version=1%2E3%2E0&Lizmap%5FUser=&Lizmap%5FUser%5FGroups=</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51);background:yellow">14:10:05 INFO
Server[907652]: SCRIPT_NAME: /cgi-bin/qgis_mapserv.fcgi</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51);background:yellow">14:10:05 INFO
Server[907652]: REMOTE_ADDR: 192.168.4.7</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51);background:yellow">14:10:05 INFO
Server[907652]: SERVER_PORT: 80</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51);background:yellow">14:10:05 INFO
Server[907652]: QUERY_STRING:
map=%2Fhome%2Fdata%2Fftp%2Ftemplate%2Fqgis%2Flizmap%5Ftest%2FDR0%2Fforages%5F2154%2Eqgs&request=GetCapabilities&service=WMS&version=1%2E3%2E0&Lizmap%5FUser=&Lizmap%5FUser%5FGroups=</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51);background:yellow">14:10:05 INFO
Server[907652]: REQUEST_METHOD: GET</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51);background:yellow">14:10:05 INFO
Server[907652]: QGIS_PROJECT_FILE: /home/qgis/projects/world.qgs</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51);background:yellow">14:10:05 INFO
Server[907652]: SERVER_PROTOCOL: HTTP/1.1</span><span style="color:rgb(51,51,51)"></span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Lizmap[907652]: Request headers provided</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Lizmap[907652]: No lizmap user groups in
request headers</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Lizmap[907652]: Lizmap user groups in
parameters :</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Lizmap[907652]: Fetching
/home/data/ftp/template/qgis/lizmap_test/DR0/forages_2154.qgs.cfg cfg file with
last modified timestamp : 1684152008.8653688</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Lizmap[907652]: No acl defined in Lizmap
config</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Server[907652]: LIZMAP_USER:</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Server[907652]: LIZMAP_USER_GROUPS:</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Server[907652]:
MAP:/home/data/ftp/template/qgis/lizmap_test/DR0/forages_2154.qgs</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Server[907652]: REQUEST:GetCapabilities</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Server[907652]: SERVICE:WMS</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Server[907652]: VERSION:1.3.0</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Lizmap[907652]: Request headers provided</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Lizmap[907652]: No lizmap user groups in
request headers</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Lizmap[907652]: Lizmap user groups in
parameters :</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Lizmap[907652]: Fetching
/home/data/ftp/template/qgis/lizmap_test/DR0/forages_2154.qgs.cfg cfg file with
last modified timestamp : 1684152008.8653688</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Lizmap[907652]: Request headers provided</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Lizmap[907652]: No lizmap user groups in
request headers</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Lizmap[907652]: Lizmap user groups in
parameters :</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Lizmap[907652]: Fetching
/home/data/ftp/template/qgis/lizmap_test/DR0/forages_2154.qgs.cfg cfg file with
last modified timestamp : 1684152008.8653688</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 WARNING Server[907652]: Found WMS capabilities
document in cache</span></span></p>

<p align="left" style="margin:8pt 0cm;line-height:12pt;font-size:9pt;font-family:"Lucida Sans",sans-serif"><span><span style="color:rgb(51,51,51)">14:10:05 INFO Server[907652]: Request finished in 8 ms</span></span><span style="color:rgb(51,51,51)"></span></p></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 15 mai 2023 à 15:11, Giovanni Manghi <<a href="mailto:giovanni.manghi@naturalgis.pt" target="_blank">giovanni.manghi@naturalgis.pt</a>> a écrit :<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 dir="ltr"><div>Hi,<br></div><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">On debian/apache, I succeed in installing qgis server and lizmap. I am a little surprised by the poor performance that I can observe currently. <br></div></blockquote><div><br></div><div><br></div><div>Have you enabled (QGIS Server) parallel rendering in your Apache/Ngnix configs?</div><div><br></div><div>-- G --<br></div><div> </div></div></div>
<img src="https://ea.pstmrk.it/open?m=v3_1.AAAAAAAAAAAAAAAAAAAAAA.OD4gXEmnCk4Ny0p9s7c7Ou0nvAjGyPRr5gjIz-tS7wO5YqpY9_TXu9Z_AnQMcCOhnZEqn6cSoek8xv_0ACrXTrJCZCkU7t2OKYzPU4GKrwFuvW5TLtEP2bzs0y9mXwgRXsDeoOC0kASzZu6tId4oHvswgYhHDa8j2d1AbizhCnfeZ-GgIsEO7d0ojOCcfytLdtqfssDE_mQdVgKK_IYia1vxIIPjKiYlYvgoJjGi7abZKKkdQOsLzDOFG-lNcPNGxgDQrKfpHht5q3f22xsZPQJj5YJolfDAlXilh1MzkswEfVI565wPA9Qdv3iTbrvKCTOgLlDcsnQu5W4JJ7hstJv3ifXBDGnKm_wX0rnAyNF37mH_7wFB7hpjb9gkdUzU6t1bwDQ5a1OOb-nj2VumMLG3A2XBwrgaG47cXODi3gEkRsvw-QJ5iR0deW3Kd560f7lDDaoUd-Bk47lu4noIeqAi4JOYQgowfwaREXNXq-JB4mI13pin5_-6o9Q3p3a0A_KGznIy9UV0fGd2uO9vO2hu6tGtyLshXO9kdclUvn1jRWu5qyZJ93h80CPuT-uu" width="1" height="1" border="0" alt=""></blockquote></div>
</blockquote></div>