admin wrote:I made some tests with another virus scanner working in the background and could reproduce your results.
The slow-down happens when the INI-file is updated on exiting TrackerV3. TrackerV3's strategy (and maybe that's not a very common one, INI-files themselves being out of fashion) is to keep all settings in memory and only write them to disk on exit. This leads to several hundred file write operations, one after the other, and a virus-scanner which is configured to watch file write operations will slow this down considerably, of course.
The workaround is easy: exclude INI-files from your scanner's watch list. (Whether that's wise is a decision I cannot make for you.)
I wonder why this behavior (with AVG Free) did not show up before. I know AVG went to version 7 sometime in the later part of last year. Is that the thing which changed? Or has TV3 changed something.
I don't think I can set AVG Free to ignore INI files specifically. I have already unchecked SCAN ALL FILES in Control center > Shield > Properties but TV3 is still slow to close.
In fact, as I think about it, the delay I am getting is far longer than it takes AVG Free to do an on-demand scan of a file so I suspect there may be something else going on somewhere else which is causing this problem.
If I use System Internal's FileMon I can see that TV3 is looping one or two hundred times performing these instructions:
07:37:49.217 TrackerV3.exe:4052 CLOSE C:\Program Files\TrackerV3\TrackerV3.ini SUCCESS
07:37:49.217 TrackerV3.exe:4052 WRITE C:\Program Files\TrackerV3\TrackerV3.ini SUCCESS Offset: 4096 Length: 4096
07:37:49.357 TrackerV3.exe:4052 OPEN C:\Program Files\TrackerV3\TrackerV3.ini SUCCESS Options: OpenIf Access: All
07:37:49.357 TrackerV3.exe:4052 LOCK C:\Program Files\TrackerV3\TrackerV3.ini SUCCESS Excl: Yes Offset: 0 Length: -1
07:37:49.357 TrackerV3.exe:4052 QUERY INFORMATION C:\Program Files\TrackerV3\TrackerV3.ini SUCCESS Length: 6958
07:37:49.357 TrackerV3.exe:4052 READ C:\Program Files\TrackerV3\TrackerV3.ini SUCCESS Offset: 0 Length: 6958
07:37:49.357 TrackerV3.exe:4052 WRITE C:\Program Files\TrackerV3\TrackerV3.ini SUCCESS Offset: 6958 Length: 8
07:37:49.357 TrackerV3.exe:4052 SET INFORMATION C:\Program Files\TrackerV3\TrackerV3.ini SUCCESS Length: 6966
07:37:49.357 TrackerV3.exe:4052 UNLOCK C:\Program Files\TrackerV3\TrackerV3.ini RANGE NOT LOCKED Offset: 0 Length: -1
and then TV3 makes a very quick journey into the temp internet files of my profile and then the TEMP folder and then at last TV3 closes.
Now I have to say that my registry is hacked and hacked so there may be some problem of my causing. However ISTR that TV3 doesn't even access the registry although maybe some system modules it calls does need the registry.
One new weirdness is that when I launch TV3 it can start searching without me lift a finger. This may be unrelated but other slow closers can say if they have seen the same on their TV3 or not.