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 4107098
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T21:27:40+00:00 2026-05-20T21:27:40+00:00

I have recently deployed a web application that makes use of many web service

  • 0

I have recently deployed a web application that makes use of many web service calls. During deveolpment I did not notice any deadlock or contention, but now when the website is live and heavily visited I get this error in my event log a couple of times a day, and the website also freeze/hangs so that I have to restart IIS.

Application pool ‘Default AppPool’ exceeded its job limit settings.

I have found some information on this site http://support.microsoft.com/kb/821268, that looks promising, but I need some help regarding the setting values.

Im thinking of tuning these settings:

* maxWorkerThreads
* minWorkerThreads
* maxIoThreads
* minFreeThreads
* minLocalRequestFreeThreads
* maxconnection
* executionTimeout

First it says I have to do them in Machine.configm but couldnt I just do them in Web.config?

Second, what would be the reccomended settings to solve my problem with contention? My (virtual) webserver is running on the following system configuration:

enter image description here

I also know that to solve this permanently, I might have to do something with my code, add caching etc. I welcome tips regarding this aswell.

  • 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-20T21:27:40+00:00Added an answer on May 20, 2026 at 9:27 pm

    Your KB link only relates to versions 2.0 and older of .NET framework.

    Deadlocks would not normally happen on an ASP.NET website connecting to web services. So it is very likely that if you use custom locking in the code (or a third-party library), it could be the culprit. So it is important to get to the bottom of that.

    Upping the number of threads could help the performance if it is the bottleneck. It is very unlikely to help with thread dead-locks.

    In terms of solution, one setting which is of utmost importance is maxConnection which by default is at 2 which means you can only make 2 web service calls at the same time.

    Also look into this.

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

Sidebar

Related Questions

We have a C++ (SOAP-based) web service deployed Using Systinet C++ Server, that has
I have recently started work on an application that is already deployed to production.
I have recently upgraded / deployed a java web application product (which is only
I have recently installed .net 3.5 SP1. When I deployed a compiled web site
I have a Ruby on Rails app that I've recently deployed to a remote
I have recently written an application(vb.net) that stores and allows searching for old council
We have a web based application in production built using django. It is deployed
I recently bought some webspace with dailyrazor.com. I have deployed an application I have
We have a massive client facing web application here. We recently re-wrote the buy
I have an EJB3 bean deployed as a web service in JBoss 4.2.2. In

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.