forked from jordanlytle/SmbAbstraction
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The SmbConnection.Dispose() method locks a static s_connectionLock object. Process dumps of poorly performing apps indicate a bunch of threads waiting on this critical section. We might need to implement some sort of mechanism for disposal time limits or some other means of limiting time in this critical section so other disposals aren't held up behind it indefinitely.
Process Dump shows this exception on the lock (s_connectionLock) line.
System.IO.IOException
HResult=0x80131620
Message=STATUS_IO_TIMEOUT
This exception was originally thrown at this call stack:
InkSoft.SmbAbstraction.NtStatusExtensions.AssertSuccess(SMBLibrary.NTStatus) in NTStatusExtensions.cs
InkSoft.SmbAbstraction.SmbFile.Exists(string) in SmbFile.cs
Metadata
Metadata
Assignees
Labels
No labels