locked
Threads under w3wp process running log and consuming high CPU. RRS feed

  • Question

  • HI,

    We are using Windows 2012 R2, and running IIS 8.5 web Server, and .Net Version 4.5.

    More then 100 mobile users are connected with server and and posting their data in database using above web server.

    Following are the application Server specifications:

    -- DELL Server 64-GB RAM, 2 physical processors (2 x 16 =32 Cores).

    Following are the Database Server specifications:

    -- DELL Server 128-GB RAM, 2 physical processors (2 x 16 =32 Cores).

    We are actually facing the issue with 100% CPU.

    Here are the findings:

    w2wp.exe process running and having multiple threads, during monitoring the some long running threads are observed.

    Using Windows Process Explorer the thread stack values are following:

    Please guide us what is the problem exactly?

    =================================================================================  Newtonsoft.Json.dll!Newtonsoft.Json.JsonReader.get_Depth+0x2b

    Newtonsoft.Json.dll!Newtonsoft.Json.Serialization.JsonSerializerInternalReader.HandleError+0x67
    Newtonsoft.Json.dll!Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList+0x5c1
    Newtonsoft.Json.dll!Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList+0x134
    Newtonsoft.Json.dll!Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal+0x102
    Newtonsoft.Json.dll!Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue+0x1c4
    Newtonsoft.Json.dll!Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject+0x54f
    Newtonsoft.Json.dll!Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject+0x1c4
    Newtonsoft.Json.dll!Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal+0xbc
    Newtonsoft.Json.dll!Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList+0x462
    Newtonsoft.Json.dll!Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList+0x134
    Newtonsoft.Json.dll!Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal+0x102
    Newtonsoft.Json.dll!Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue+0x1c4
    Newtonsoft.Json.dll!Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject+0x54f
    Newtonsoft.Json.dll!Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject+0x1c4
    Newtonsoft.Json.dll!Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal+0xbc
    Newtonsoft.Json.dll!Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue+0x1c4
    Newtonsoft.Json.dll!Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject+0x54f
    Newtonsoft.Json.dll!Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject+0x1c4
    Newtonsoft.Json.dll!Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal+0xbc
    Newtonsoft.Json.dll!Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize+0x208
    Newtonsoft.Json.dll!Newtonsoft.Json.JsonSerializer.DeserializeInternal+0x201
    System.Net.Http.Formatting.dll!<>c__DisplayClass8.<ReadFromStreamAsync>b__6+0x2e4
    System.Net.Http.Formatting.dll!System.Threading.Tasks.TaskHelpers.RunSynchronously+0x78
    System.Net.Http.Formatting.dll!System.Net.Http.Formatting.JsonMediaTypeFormatter.ReadFromStreamAsync+0xc1
    System.Net.Http.Formatting.dll!<>c__DisplayClass1`1.<ReadAsAsync>b__0+0x34
    System.Net.Http.Formatting.dll!<>c__DisplayClass41`2.<Then>b__40+0x46
    System.Net.Http.Formatting.dll!System.Threading.Tasks.TaskHelpersExtensions.ThenImpl+0x114
    System.Net.Http.Formatting.dll!System.Net.Http.HttpContentExtensions.ReadAsAsync+0x2da
    System.Net.Http.Formatting.dll!System.Net.Http.HttpContentExtensions.ReadAsAsync+0x1e
    System.Web.Http.dll!System.Web.Http.ModelBinding.FormatterParameterBinding.ExecuteBindingAsync+0xe6
    System.Web.Http.dll!<>c__DisplayClass1.<ExecuteBindingAsync>b__0+0x25
    System.Core.dll!WhereSelectArrayIterator`2.MoveNext+0x52
    System.Web.Http.dll!System.Threading.Tasks.TaskHelpers.IterateImpl+0x87
    System.Web.Http.dll!System.Threading.Tasks.TaskHelpers.Iterate+0x5a
    System.Web.Http.dll!System.Web.Http.Controllers.HttpActionBinding.ExecuteBindingAsync+0x1bc
    System.Web.Http.dll!<>c__DisplayClass3.<ExecuteAsync>b__0+0x2f
    System.Web.Http.dll!System.Web.Http.ApiController.ExecuteAsync+0x1cf
    System.Web.Http.dll!System.Web.Http.Dispatcher.HttpControllerDispatcher.SendAsync+0x76
    System.Net.Http.dll!System.Net.Http.HttpMessageInvoker.SendAsync+0x4f
    System.Web.Http.dll!System.Web.Http.Dispatcher.HttpRoutingDispatcher.SendAsync+0x15d
    System.Web.Http.dll!System.Web.Http.HttpServer.SendAsync+0xff
    System.Net.Http.dll!System.Net.Http.HttpMessageInvoker.SendAsync+0x4f
    System.Web.Http.WebHost.dll!System.Web.Http.WebHost.HttpControllerHandler.BeginProcessRequest+0x11f
    System.Web.dll!CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute+0x1e2
    System.Web.dll!System.Web.HttpApplication.ExecuteStep+0x120
    System.Web.dll!PipelineStepManager.ResumeSteps+0x92a
    System.Web.dll!System.Web.HttpApplication.BeginProcessRequestNotification+0x83
    System.Web.dll!System.Web.HttpRuntime.ProcessRequestNotificationPrivate+0x28e
    System.Web.dll!System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper+0x5c1
    System.Web.dll!System.Web.Hosting.PipelineRuntime.ProcessRequestNotification+0x22
    [Unmanaged to Managed Transition]
    [Native Frame: IL Method without Metadata]
    clr.dll!GetMetaDataInternalInterface+0x20183
    clr.dll!CreateApplicationContext+0xe11a
    [Managed to Unmanaged Transition]
    [AppDomain Transition]
    [Unmanaged to Managed Transition]
    clr.dll!CreateApplicationContext+0xdfd4
    clr.dll!CreateApplicationContext+0xe09d
    clr.dll!GetMetaDataInternalInterface+0x2012d
    webengine4.dll!MgdGetCurrentNotificationInfo+0x272
    webengine4.dll!MgdGetServerVariableW+0x1aa
    clr.dll!CreateApplicationContext+0xd3ae
    clr.dll!CreateApplicationContext+0xc871
    clr.dll!CreateApplicationContext+0xc6f2
    clr.dll!StrongNameSignatureVerification+0x14cfe
    KERNEL32.DLL!BaseThreadInitThunk+0x22
    ntdll.dll!RtlUserThreadStart+0x34

    ================================================================================= 

    Please guide us what is the problem exactly?

    Thank



     


    Saturday, March 19, 2016 7:59 AM

Answers

  • I'd ask in the official microsoft IIS forums here.

    http://forums.iis.net/

     

     

     


    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server]

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    • Proposed as answer by Mike Laughlin Monday, March 21, 2016 11:57 AM
    • Marked as answer by Just Karl Monday, March 28, 2016 4:07 PM
    Saturday, March 19, 2016 1:01 PM

All replies

  • I'd ask in the official microsoft IIS forums here.

    http://forums.iis.net/

     

     

     


    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server]

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    • Proposed as answer by Mike Laughlin Monday, March 21, 2016 11:57 AM
    • Marked as answer by Just Karl Monday, March 28, 2016 4:07 PM
    Saturday, March 19, 2016 1:01 PM
  • Hi,

    We have licence windows 2012 R2, and need to discuss above issue with Microsoft on official support.

    Please help.

    Regards

     
    Friday, April 8, 2016 9:14 AM
  • http://forums.iis.net/ are microsoft official IIS forums. You can also call into microsoft product support.

    https://support.microsoft.com/en-us/contactus?forceorigin=esmc&wa=wsignin1.0

     

     

     


    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server]

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    Friday, April 8, 2016 12:59 PM