.net - WCF service hosted on IIS with custom authentication provider, some requests take 6-7 minutes to respond -
we have wcf service hosted on iis 7.5 has custom username authentication using custom membership provider (we authenticate users database custom logic). service uses wshttpbinding transportwithmessagecredentials security mode.
it works heavy loads 6-9 minutes keeps requests waiting 6-9 minutes before responding. added debug logs custom authentication module , service operation being called , noticed these instances, there lag of 6-9 minutes between end of execution of authentication module , start of execution of service method.
the requests responds after these 6-9 minutes correctly. looks got stuck somewhere between authentication , actual service method call, have got no clue causing it. becoming problem service clients getting timed out during these periods.
update: enabled service trace , observed requests getting delayed, there delay between "received message on channel." , "understood message header." events. thread id changes between these 2 events. can mean there no free threads? there no free threads 7 minutes?
Comments
Post a Comment