cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How get more information or implement sensor for System.Net.UnsafeNclNativeMethods+OSSOCK .NET Remoting?

alex2
Guide

Hi folks,


I have too many errors in my app and the response time is too high.

The only clue for what is the problem is this method and class
recv(System.IntPtr, System.Byte*, int, System.Net.Sockets.SocketFlags) System.Net.UnsafeNclNativeMethods+OSSOCK

I searched in the forum for how get more information but I can't implement any solution...


Can you help me ?


I attach examples img.

captura-de-pantalla-2017-07-07-a-las-133830.png

captura-de-pantalla-2017-07-07-a-las-133751.png

captura-de-pantalla-2017-07-07-a-las-133730.png

Thanks!
Alex.

2 REPLIES 2

Christoph_Neum
Dynatrace Advisor
Dynatrace Advisor

Hi Alex.

This simply means that the thread is waiting for a WebRequest to complete. If you do synchronous outgoing WebRequests in an ASP.NET Application, this can quickly lead to an exhausted thread pool which will make other incoming WebRequests to be queued in IIS.

Andreas Grabner wrote an excellent blog post about exactly this problem: https://www.dynatrace.com/blog/bad-microservice-pa...

The solution would be to use async/await for outgoing WebRequests.

HTH, Christoph

thank you very much I try to implements Andreas solution 🙂