Deletes slow?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
gse
Junior Member
Junior Member
Posts: 13
Joined: 2004-12-29, 16:35 UTC

Deletes slow?

Post by *gse »

I notice that deleting a file in TC is often very slow. The app will lock up for 60+ seconds while deleting a file. I don't notice the same problems in Windows Explorer... anyone have any idea what's happening?

Often after one long wait, subsequent deletes are quick.

(WinXP, fast computer)
User avatar
XPEHOPE3KA
Power Member
Power Member
Posts: 854
Joined: 2006-03-03, 18:23 UTC
Location: Saint-Petersburg, Russia

Post by *XPEHOPE3KA »

That's probably because of large treeinfo.wc.
The other reason can be that the first file is locked by some application when deleting is started, but is freed by the same app in the middle of deleting. This may happen if you've just view this file and immediately after viewing you delete it.
BTW, how fat is the first file? The rest?
F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

2 X*

Hi X
That's probably because of large treeinfo.wc
?
The other reason can be that the first file is locked by some application when deleting is started, but is freed by the same app in the middle of deleting
You think that qse reported this behavior first time it occured ?
how fat is the first file
See above.

2 qse
I notice that deleting a file in TC is often very slow
Define often.
Often after one long wait, subsequent deletes are quick.
See above.
(WinXP, fast computer)
Define fast
Habemus majkam!
gse
Junior Member
Junior Member
Posts: 13
Joined: 2004-12-29, 16:35 UTC

Post by *gse »

I don't believe that this has anything to do with application-level file locking.

"Often" means at least once a day on my work computer, perhaps more. It's not something I've kept track of.

"Fast computer" means a 2ghz laptop with a gig of RAM at work, and a dual-core AMD at home with 2 gigs RAM.
User avatar
XPEHOPE3KA
Power Member
Power Member
Posts: 854
Joined: 2006-03-03, 18:23 UTC
Location: Saint-Petersburg, Russia

Post by *XPEHOPE3KA »

majkinetor ! wrote:2 X*

Hi X
That's probably because of large treeinfo.wc
?
It was reported several times at Russian forum that the large treeinfo.wc CAN cause delay in deletion of files, not only folders!
Maybe, TC searches treeinfo.wc for containing folder. That explains the fact that the other files (probably from the same folder!) are deleted faster that the first.
gse
Junior Member
Junior Member
Posts: 13
Joined: 2004-12-29, 16:35 UTC

Post by *gse »

I don't have a treeinfo.wc file -- never use tree view...
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

!!!!!

Post by *Clo »

2gse

:) Hi !

• Nothing to do with the way you use TC ! :lol:
- This is a hidden file that is ALWAYS created, one per drive.

-So, set the display of hidden items, then look at the size of that file.
- XPEHOPE3KA is right, this can cause slow downs if too big, this has been discussed here too a while ago…

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Wilhelm M.
Power Member
Power Member
Posts: 994
Joined: 2003-06-05, 10:45 UTC

Re: !!!!!

Post by *Wilhelm M. »

Clo wrote:2gse

:• Nothing to do with the way you use TC ! :lol:
- This is a hidden file that is ALWAYS created, one per drive.
Sorry, but this must be wrong. treeinfo.wc is only generated when treeview is selected. At least that is so on my system. You should not assume without reason that the user does not know about hidden files.
Grüße/Regards,
Wilhelm
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Post by *Clo »

2Wilhelm M.

:) Hi !

I don't use tree view, and I have one (hidden) file per drive…

:mrgreen: VG
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Wilhelm M.
Power Member
Power Member
Posts: 994
Joined: 2003-06-05, 10:45 UTC

Post by *Wilhelm M. »

Then delete it and as long as you never use "Cd Tree", you will never see one again.

Because, as I have just found out, the treeinfo.wc is not generated by the ordinary "tree" view but only by "Cd Tree" (in Commands). See for yourself!
Grüße/Regards,
Wilhelm
User avatar
XPEHOPE3KA
Power Member
Power Member
Posts: 854
Joined: 2006-03-03, 18:23 UTC
Location: Saint-Petersburg, Russia

Post by *XPEHOPE3KA »

2Wilhelm M.
That's right. I've already posted somewhere here I had recently formatted D disk, and there was no treeinfo.wc until I saw this topic and generated it using CD Tree menu command.
F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is defintely NOT normal. Please run Filemon from www.sysinternals.com in the background to find out what is causing this extremely long delay.
Author of Total Commander
https://www.ghisler.com
gse
Junior Member
Junior Member
Posts: 13
Joined: 2004-12-29, 16:35 UTC

Post by *gse »

ghisler(Author) wrote:This is defintely NOT normal. Please run Filemon from www.sysinternals.com in the background to find out what is causing this extremely long delay.
Ah, nice tool, thanks.

It looks like totalcmd.exe is walking my entire RECYCLER tree. I got about 15000 lines of totalcmd output, all of which looks like this...


4424 9:57:41 AM TOTALCMD.EXE:2424 DIRECTORY C:\RECYCLER\S-1-5-21-3219577903-1518296671-341781013-1008\Dc1682\demos\calendar\calendardata\ NO MORE FILES FileBothDirectoryInformation
4425 9:57:41 AM TOTALCMD.EXE:2424 CLOSE C:\RECYCLER\S-1-5-21-3219577903-1518296671-341781013-1008\Dc1682\demos\calendar\calendardata\ SUCCESS
4426 9:57:41 AM TOTALCMD.EXE:2424 OPEN C:\RECYCLER\S-1-5-21-3219577903-1518296671-341781013-1008\Dc1682\demos\calendar\fonts\ SUCCESS Options: Open Directory Access: All
4427 9:57:41 AM TOTALCMD.EXE:2424 DIRECTORY C:\RECYCLER\S-1-5-21-3219577903-1518296671-341781013-1008\Dc1682\demos\calendar\fonts\ SUCCESS FileBothDirectoryInformation: *
4428 9:57:41 AM TOTALCMD.EXE:2424 READ C: SUCCESS Offset: 0 Length: 4096
4429 9:57:41 AM TOTALCMD.EXE:2424 DIRECTORY C:\RECYCLER\S-1-5-21-3219577903-1518296671-341781013-1008\Dc1682\demos\calendar\fonts\ SUCCESS FileBothDirectoryInformation
4430 9:57:41 AM TOTALCMD.EXE:2424 DIRECTORY C:\RECYCLER\S-1-5-21-3219577903-1518296671-341781013-1008\Dc1682\demos\calendar\fonts\ NO MORE FILES FileBothDirectoryInformation
4431 9:57:41 AM TOTALCMD.EXE:2424 CLOSE C:\RECYCLER\S-1-5-21-3219577903-1518296671-341781013-1008\Dc1682\demos\calendar\fonts\ SUCCESS
4432 9:57:41 AM TOTALCMD.EXE:2424 OPEN


There are 2565 OPEN lines, and 2166 READ lines.

Think that's the problem? :)
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

It looks like totalcmd.exe is walking my entire RECYCLER tree
You may consider to empty your Recycle Bin ... and believe me, you will free up a lot of diskspace as well :wink:
#5767 Personal license
Post Reply