Bug report #4784
QGIS Desktop freezes when connecting to QGIS Server
|Category:||Web Services clients/WMS|
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||worksforme|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||14639|
When connecting from QGIS Desktop to QGIS Server, the gui freezes for about 30 seconds with high CPU usage.
The problem occurs with any request from QGIS Desktop to QGIS Server:
- reading GetCapabilities
- adding chosen layers to map
- opening projects with WMS layers
Other WMS servers work immediately. Also QGIS Server in a web browser works immediately.
#7 Updated by Borys Jurgiel almost 9 years ago
- Resolution set to worksforme
- Status changed from Feedback to Closed
Ok, let's close it. I can only confirm on one host. A few others work ok.
Here are the latest details, just in a case:
The problem only occurs when I call qgis_mapserv.cgi?map=/path/to/file. When I use the second way and call the directory containing .qgs alongside a symbolic link to (the same) qgis_mapserv.cgi file, everything works fast. Comparing e.g. the Capabilities response, in both cases its sieze and content is the same (except urls for Get* requests of course). Wget fetches them both immediately. Chromium also seems to receive them both immediately, however, with the affected one it needs about 15-30 seconds to display it as a formatted xml. A few GC events occur during that time. Anyway, I can't see any differences in headers.