Author Message
AlexeyGorobets
Joined: Feb 27, 2020
Messages: 1
Offline
Hello team!
We having performance issue when working with net api.
When Avaya.ApplicationEnablement.DMCC.ServiceProvider class instance created, it also starts additional thread with FileSystemWatcher
in it, to react for DMCC.config file changes, even if there are no such file.
After some time there are couple thousand threads can be created, all with such call stack:

DomainBoundILStubClass.IL_STUB_PInvoke(Microsoft.Win32.SafeHandles.SafeFileHandle, System.Runtime.InteropServices.HandleRef, Int32, Int32, Int32, Int32 ByRef, System.Threading.NativeOverlapped*, System.Runtime.InteropServices.HandleRef) (IL_STUB_PInvoke) System.IO.FileSystemWatcher.Monitor(Byte[]) (Monitor) System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32, UInt32, System.Threading.NativeOverlapped*) (CompletionStatusChanged) System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32, UInt32, System.Threading.NativeOverlapped*) (CompletionStatusChanged) System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*) (PerformIOCompletionCallback)


How we can disable DMCC.config file checks if we dont need one?

Thanks, Alex.
JohnBiggs
Joined: Jun 20, 2005
Messages: 1139
Location: Rural, Virginia
Online
What version of the DMCC .Net client are you using? Have you tested the most recent --- you can use it with older AESs if you set a range of protocol versions (or one that matches the AES version you are working with).

Does the client behave as you state if there is a config file?

It is checking because a config file can be created after application launches and it should still be used.
Go to:   
Mobile view