Directory size scan getting stuck
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 7
- Joined: 2009-10-24, 08:57 UTC
Directory size scan getting stuck
TC 7.50a (and earlier versions) sometimes gets stuck while scanning for directory sizes (Alt-Shift-Enter). Pressing Esc, then repeating the operation seems to resolve this.
The issue reproduces more easily on large directory trees and might involve other applications accessing the hard-disk at the same time.
This item was extracted from the 'Longstanding Issues' topic in the suggestions forum.
The issue reproduces more easily on large directory trees and might involve other applications accessing the hard-disk at the same time.
This item was extracted from the 'Longstanding Issues' topic in the suggestions forum.
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This can happen when there are infinite loops via hard links, e.g. a hard link pointing to the same directory, or a parent of the same directory. TC tries to detect these, but some hard links have access rights which disallow programs from finding out the link target.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 7
- Joined: 2009-10-24, 08:57 UTC
This makes sense, but it doesn't explain why it happens more often when other programs access the same directories simultaneously. Maybe it has to do with the directory contents being modified while the scan is taking place.
In any case, performing this task in the background with a reasonable timeout could improve the experience.
In any case, performing this task in the background with a reasonable timeout could improve the experience.
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Can someone test this, please? ESC should abort any hanging background directory calculations now.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Hello, Christian.
T.C. 7.55pb1 performs the calculation in the background.
When I pressed the ESC button the calculation stopped immediately.
I could tell because for those sub-folders the sizes of which had not been calculated
Kind regards,
Karl
T.C. 7.55pb1 performs the calculation in the background.
When I pressed the ESC button the calculation stopped immediately.
I could tell because for those sub-folders the sizes of which had not been calculated
- the "?" was converted back to "<DIR>" (column size)
- the folder icons returned to their normal design, i.e. the overlay icons indicating the background calculation were removed
Kind regards,
Karl
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: