Re: Local file sometimes slow to launch
- From: "Jon Wallace" <info@xxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 20 Apr 2009 11:07:55 -0400
Hi,
So if you say you can open the files fine by starting notepad first and then doing file - open then you can be pretty happy the files are fine. Also, if notepad opens without being called by association then you can be pretty happy that notepad.exe is fine too. Something is obviously going a miss during the association / open phase.
I would first start with Process Monitor (http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx). Put a filter on Process Name = NOTEPAD.EXE and start monitoring. Open one of your problamatic files and then stop the monitoring and have a look at what is going on. Look for large blocks of reading the same registry key for example, or opening other files / items during the process.
Do you have AV on the machine? Is it possible that the AV engine is trying to be too clever and doing some from of intelegent (or not) detection. Have you tried disabling AV to see if the problem goes away.
Start with Performance Monitor and if you don't get anywhere - shout...
Regards,
Jon
www.insidetheregistry.com
--
"vm" <vm@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:158241BE-C028-4EC6-B229-8FC85B8D0B3C@xxxxxxxxxxxxxxxx
Strange problem, there is a 2k3 r2 sp2 server {stand alone} that is basically
a file server, no load or stress of any kind. Of course the problem is
sporadic and there is nothing in the logs as far as errors. We term svc to
the server {RDP}. The problem is that sometimes files take large amounts of
time to open. These are local files, simple text files a few kilobytes to a
meg and a half in size. The files are text and associated with notepad. When
the files are double clicked, sometimes it takes up to 10 seconds to launch
notepad and open the file. 9.9 of those seconds is used to launch notepad,
the rest of the time is spent opening the file. If notepad is already opened
and the file is opened {file -> open -> TheFile.txt} the contents are
immediately displayed.
During the waiting period until the file is completely opened, explorer in
task manager shows "not responding". Even stranger is sometimes it seems to
get worse as the term session goes. There is nothing like bitmap caching
going on and the connection is fast Ethernet. Ping times are constant and as
quick as any other machine. There is no disk work queue or any other perfmon
object I can think of that looks out of place.
Any ideas where to start?
.
- References:
- Local file sometimes slow to launch
- From: vm
- Local file sometimes slow to launch
- Prev by Date: Re: Certain files gets corrupted after being copied with RDC
- Next by Date: Re: Remove close button V6.1 RDP Client
- Previous by thread: Local file sometimes slow to launch
- Next by thread: Registry Limit
- Index(es):