Re: directory.exists occassionally locks up when checking network share



Keith Langer wrote:
Carl,

From what I've been told, the machines that have had the failure may
have a different type of NIC than the machines that don't have the
failure. The call to this function can return successfully hundreds
or thousands of times before the call doesn't return at all. The OS
is identical on all machines. As to whether the NIC drivers are up to
date, I don't know. Shouldn't Windows be able to deal with even a bad
NIC driver by causing a timeout?

Unfortunately, no. Unless the driver correctly implements IO cancellation
and timeouts, there's nothing the IO manager in the OS can do to forcibly
stop it (only the driver can know the actions required to reliably cancel a
request).


Some more background on how this function is used: This application
will check for the server share every 30 seconds until it finds it.
It
also attempts to connect to the share with a secondary login since the
primary login has a password which conflicts with the server. Due to
a virus, the Server and Secondary logon services had failed on the
server, so the application would check for the share every 30 seconds
and never find it.

A few questions:
1) Any idea how I can force this situation to be reproduced?

No. From what you describe, I'd guess that there's a good chance that it's
a driver bug.

2) Do you think that if I call this method from a different thread
that
I'm going to still have problems? I'm guessing that the thread will
never be successfully aborted and the system performance will degrade
as a result.

I wouldn't expect it to make any difference at all.

3) Is there another way to check for the directory's existence while
avoiding the potential for a lockup?

Nothing comes to mind, sorry.

-cd


.



Relevant Pages

  • Re: Printing Casues Woekstations To Crash
    ... the Server and workstations, then installed one printer on the Server ... driver issue, was the fact it happened to MOST machines not ALL ...
    (microsoft.public.windows.server.sbs)
  • Re: Printing Casues Woekstations To Crash
    ... I remember having an issue where one driver from a major manufacturer caused printing failures on all that brand of printer. ... My symptoms weren't as bad as yours, and it was only the Vista workstations, but it was still a lot of work to resolve. ... the Server and workstations, then installed one printer on the Server ... was the fact it happened to MOST machines not ALL ...
    (microsoft.public.windows.server.sbs)
  • Re: Word will not print multiple copies
    ... I could not print multiple pages in Word. ... had two other machines that could while sharing the same priter. ... from the 2003 Server, I did it locally using the exact same drivers. ... See if that refreshes the driver for you. ...
    (microsoft.public.word.printingfonts)
  • Re: The redirector failed to determine the connection type on sbs2003 machines
    ... can cause issues but not on those machines. ... the server, they are known to have driver issues, especially with Windows ... Server SP2). ... Its on the clients running a hp machine 1.47ghz amd 1700, ...
    (microsoft.public.windows.server.sbs)
  • core install of Solaris 9 (sparc) package list can be trimmed ?
    ... This is a server that will have very specific reasons ... system SUNWadmr System & Network Administration Root ... system SUNWeu8os American English/UTF-8 L10N For OS Environment User Files ... system R SUNWfcip Sun FCIP IP/ARP over FibreChannel Device Driver ...
    (comp.unix.solaris)