Hi,
WinSCP periodically freeze for 5 seconds, GUI is not responsible, after while it gets grey shade and mouse cursor is changed to circle. After 5 second everything continues working well.
WinSCP 5.21.3, Windows 10 x64 21H1 19043.1949
problem persist in couple of last versions
Steps to reproduce:
- Configure use of external editor and open remote file in external editor by double-clicking in WinSCP.
- Edit and save file and terminate external editor.
- When WinSCP get focus back, then it freeze for about 5 seconds. Sometimes get freezed during remote directory browsing also.
WinSCP log file with Debug 2 contains repeated generic messages only
. 2022-09-09 16:12:30.489 Timeout waiting for network events
. 2022-09-09 16:12:30.981 Session upkeep
. 2022-09-09 16:12:30.981 Looking for network events
silence during freeze
Windows network shares dismounted, antivirus disabled.
Network activity checked with Wireshark, no problem with broken TCP connection nor unresolved DNS entries. No network activity during freeze at all.
WinSCP.exe process activity checked with SysUtils Procmon with silence during freeze.
WinSCP.exe process checked with SysUtils ProcessExplorer, during freeze one thread uses 6 % of CPU, so it actually doing something.
Same WinSCP version installed in fresh VMWare Workstation virtual machine same Windows version and there is working well, with same network connection.
It seems that WinSCP is doing some kind of refresh after got focus back and it takes long time at some platforms.
Best Regards
Fox