Slow startup and local path changes due to querying excessive folders
|Reported by:||Bob Triffles||Owned by:|
|Component version:||Operating system type:||Windows|
|Operating system version:||XP SP3|
I have noticed slow cold startup times (e.g. 15-60 seconds) for FileZilla on several computers. During startup, the hard drive is constantly being accessed. Therefore, I ran Sysinternals' Process Monitor to debug the issue.
I found that the majority of the startup time appears to be spent querying the Windows Cookies folder:
C:\Documents and Settings\USERNAME\Cookies
The query takes a long time when you have a lot of cookies in the folder (e.g. hundreds or thousands). I have over 3000.
Obviously, I could clear the Cookies folder to work around the issue. However, users shouldn't have to clear their Internet Explorer/Windows cookies to obtain reasonable FileZilla startup performance.
Furthermore, I'm not sure why FileZilla is querying that folder at all. I took a quick look at the source code and couldn't see any reference to the Cookies folder. Perhaps some API/library used by FileZilla is doing the deed.
If necessary, I suspect the issue can be reproduced by placing a few thousand small files in the Windows Cookies folder and rebooting to ensure the directory is not cached by Windows.
This issue may explain some of the reports in Ticket #3267. I created this new ticket because most people in that discussion seemed to think that network drives were at fault.
Please let me know if you require any additional information. Thanks!
-FileZilla Client 3.5.0
-Athlon II X4 640
Change History (5)
comment:1 by , 11 years ago
|Keywords:||local folders added; cookies removed|
|Summary:||Slow startup due to querying Cookies folder → Slow startup due to querying excessive local folders|
comment:2 by , 11 years ago
|Keywords:||change path network drive added|
|Summary:||Slow startup due to querying excessive local folders → Slow startup and local path changes due to querying excessive folders|
comment:4 by , 9 years ago
|Keywords:||delay added; slow change path network drive local folders removed|