[QGIS-Developer] [QGIS-server] Messages: QNetworkDiskCache::prepare() unable to open temporary file

Johannes Kröger (WhereGroup) johannes.kroeger at wheregroup.com
Mon Jun 26 06:40:13 PDT 2023


Try "strace -e file your_qgis_server_invocation", it will show you all 
file i/o

Cheers, Hannes

Am 26.06.23 um 15:38 schrieb Richard Duivenvoorde via QGIS-Developer:
> Hi,
>
> I'm testing a QGISserver setup in which the project is cascading a 
> WMTS (MapProxy).
>
> Performance is not so good... so I fiddled with
>
> QGIS_SERVER_CACHE_DIRECTORY=/cache
> and even with ??
> QGIS_OPTIONS_PATH=/cache
>
> where /cache is a mounted internal cache dir
>
> Is see QGISserver write all the stuff in /cache which I know from QGIS 
> (profile dir) itself:
>
> # from within the container:
> # ls /cache
> bookmarks.xml  data8  fonts  gdal_pam  oauth2-cache  palettes 
> prepared  qgis-auth.db  qgis.db  symbology-style.db
>
> But I keep seeing a lot of messages in the logs:
> QNetworkDiskCache::prepare() unable to open temporary file
> QNetworkDiskCache::prepare() unable to open temporary file
> ...
>
> So my question is, WHERE does Qt try to create the network cache...
>
> Thanks,
>
> Richard Duivenvoorde
> _______________________________________________
> 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

-- 
Johannes Kröger / GIS-Entwickler/-Berater

---------------------------------------------
Aufwind durch Wissen!
Web-Seminare und Online-Schulungen
bei der www.foss-academy.com
---------------------------------------------

WhereGroup GmbH
c/o KK03 GmbH
Lange Reihe 29
20099 Hamburg
Germany

Tel: +49 (0)228 / 90 90 38 - 36
Fax: +49 (0)228 / 90 90 38 - 11

johannes.kroeger at wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
-------------------------------



More information about the QGIS-Developer mailing list