Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6907173
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:24:08+00:00 2026-05-27T08:24:08+00:00

We have a .NET 3.5 WCF service hosted on IIS 6.0 which has a

  • 0

We have a .NET 3.5 WCF service hosted on IIS 6.0 which has a basicHttp binding. This is consumed by 2 .NET and 2 ASP applications. When the 4th application (irrespective of .NET or ASP) is started and tries consuming it, the w3wp.exe peaks at 99% and stays there after few seconds.

Based on this article, we tried adding the following to the .NET 2.0 machine.config but this does not have any effect.

<processModel autoConfig="false" maxWorkerThreads="500" maxIoThreads="500" minWorkerThreads="2"/>
<httpRuntime minFreeThreads="250" minLocalRequestFreeThreads="250"/>

Any ideas?

EDIT: Added the crash analysis report info:

Warning 1: The following threads in w3wp.exe_v2.0 Applications_PID_2856_Date__12_08_2011__Time_12_13_39PM_876_Manual Dump.dmp are waiting on a synchronous WCF request to execute
4.35% of threads blocked

Please click on the Actual Thread to see the desnitation WCF Thread or check WCF Request report to find out the thread id for the actual WCF thread for which this thread is waiting on. For more details on this WCF Behavior check out the blog on WCF Request Throttling and Server Scalability.

Thread 16 - System ID 3920
Entry point   mscorwks!ThreadpoolMgr::intermediateThreadProc 
Create time   12/8/2011 12:10:44 PM 
Time spent in user mode   0 Days 00:00:00.031 
Time spent in kernel mode   0 Days 00:00:00.140 

This thread is waiting on a synchronous WCF request to execute

The destination WCF Thread for this ASP.NET worker thread is 14


.NET Call Stack
Function 
System.Threading.WaitHandle.WaitOneNative(Microsoft.Win32.SafeHandles.SafeWaitHandle, UInt32, Boolean, Boolean) 
System.Threading.WaitHandle.WaitOne(Int64, Boolean) 
System.Threading.WaitHandle.WaitOne(Int32, Boolean) 
System.Threading.WaitHandle.WaitOne() 
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(System.Web.HttpApplication, Boolean) 
System.ServiceModel.Activation.HttpModule.ProcessRequest(System.Object, System.EventArgs) 
System.Web.HttpApplication+SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 
System.Web.HttpApplication.ExecuteStep(IExecutionStep, Boolean ByRef) 
System.Web.HttpApplication+ApplicationStepManager.ResumeSteps(System.Exception) 
System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(System.Web.HttpContext, System.AsyncCallback, System.Object) 
System.Web.HttpRuntime.ProcessRequestInternal(System.Web.HttpWorkerRequest) 
System.Web.HttpRuntime.ProcessRequestNoDemand(System.Web.HttpWorkerRequest) 
System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr, Int32) 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T08:24:09+00:00Added an answer on May 27, 2026 at 8:24 am

    Sounds like your load is somehow generating a lot of threads and thereby causing the CPU to work like crazy to keep up with them. Since your edit references a crash dump, you may be able to use WinDbg to find out what is going on.

    If you’re familiar with WinDbg and have it already installed and configured (otherwise spend some quality time with the tutorials here) , try the following:

    .loadby sos mscorwks
    .prefer_dml 1
    !threads
    

    This will show how many threads were created. The .prefer_dml 1 enables HTML like links to be generated so you can just click to run an appropriate command in the output. Next run:

    !syncblk
    

    to see which threads may be blocked. It should show which thread is doing the blocking. Next run something like this to get the stack for thread 32 if that one were the culprit:

    ~32e!clrstack
    

    It should contain information on the code running on that thread which is doing the blocking. Saying working with WinDbg is very archane is a enormous understatement but it is worth the effort to help debug issues like yours. Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WCF service hosted at local IIS. I created a ASP.NET website
I have a WCF service (.NET 4) hosted in IIS. My service contract has
I have a simple ASP.NET hosted WCF Service that has several methods that all
I have a WCF Service hosted in IIS/ASP.NET that accepts HTTP Post ( not
I have created a reference to an IIS hosted WCF service in my ASP.NET
I have an ASP.NET page that calls to a WCF service. This WCF service
I have a .NET 3.5 WCF service hosted in IIS. The project service library
I have a WCF service which is hosted in IIS 7.0/7.5 inside of a
I have a WPF application which talks to a WCF service hosted in IIS.
I have developed a WCF Service Application hosted in IIS 7.5 targeting .NET 3.5

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.