Bug report #11845
QGIS startup is slow on windows with --configpath option
|Affected QGIS version:||2.6.0||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||20061|
we experience very slow startup (from 1 to 5 minutes) on windows with QGIS 2.x (last test with 2.6.1) when using remote profiles with
Whole topic and process monitor logs are available here.
This is related to QGIS trying to create files in
C:\\Windows\\CSC\\v2.0.6\\, a system folder dedicated to store offline data, and that has special permissions..
Second startup is sometimes fast, sometimes slow.
#1 Updated by Martin Dobias about 8 years ago
- Status changed from Open to Feedback
Not sure if this is really QGIS problem. If you use --configpath to an ordinary path on your local disk, would it be still slow?
My impression is that the system/network configuration for your shared folder might be the reason for slowness.
#3 Updated by Regis Haubourg about 8 years ago
- File repetitive_ini_reading_pattern.jpg added
New tests today, problem is back..
I found several things:
- Microsoft CSC cache is due to offline sync of some files. No part of qgis was involved in sync but I disabled sync, and now the error pointing to C:\\Windows\\CSC\\v2.0.6\\ disappeared.
It is now replaced by several errors locating ressources that do not exists.
Among them, I found a repetitive pattern occuring all process life time, and related to QGIS.ini file.
First reading to actual remote_path\\.qgis2\\QGIS\\QGIS2.ini path is OK, but then QGIS tries to read old 1.x QGIS.ini or QGIS2.ini in other locations:
See attached picture repetitive_ini_reading_pattern.jpg