PC Review

Thread Tools Rate Thread

Re: Deleting a file takes a very long time

Mark Zbikowski \(MSFT\)
Posts: n/a
      11th Jul 2003
Is the file very large or very fragmented or compressed?

Since NTFS needs to perform write-ahead logging when
modifying it's metadata and since the NTFS log is of fixed
size, it is possible for a delete operation on a file with a
huge number of extents to exceed the capacity of the log.

To guarantee forward progress, NTFS will free batches
of extents at a time in separate transactions. Once you
get into this mode, things will slow down.

If this is NOT your case, then you might want to examine
what other software is running on your machine that might
be monitoring/logging file system changes. Things like
file indexers (often part of IDE's) or antivirus apps.

You could use pmon (reskit) or taskmgr to watch which
processes do a bunch of I/O or take a bunch of CPU
time during your deletions.

Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.

"Johnny" <(E-Mail Removed)> wrote in message
news:0aaa01c347b9$bdb03730$(E-Mail Removed)...
> We are having a problem with Windows 2000 Professional.
> Several developers cannot delete files in win2k without
> having to wait a long time. Is there a problem with
> windows 2000 Pro after a while? Registry changing could
> be a problem as well.
> Does this sound familiar to anyone?
> We develop with visual studio, C++ and Java. Mainly a web
> portal product.
> Need help.
> JL

Reply With Quote

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting block of text takes a long, long, LONG time Nessie Microsoft Word Document Management 1 11th Jun 2009 03:14 PM
Outlook 2007 takes a VERY long time to open a small PST file. Frankie Microsoft Outlook Discussion 5 11th Dec 2008 10:17 AM
RIS - very very very very very slow =?Utf-8?B?TWF0dGhldyBFbGxpcw==?= Windows XP Setup 3 6th Dec 2004 11:58 PM
Re: IE takes too long to load page and takes too long when scroll/up down is used H Leboeuf Windows XP Internet Explorer 0 27th May 2004 02:48 PM
Deleting files sometimes takes a very long time. Why? =?Utf-8?B?Um9u?= Windows XP Performance 1 3rd Apr 2004 11:27 PM




All times are GMT +1. The time now is 06:29 PM.