473,474 Members | 1,661 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ASP.NET worker process deadlock symptoms

Good day everyone
I'm a bit confused about whether the "Server Application Unavailable" status of my website that frequently occurs when several users are simultaneously logged into it is a symptom that the asp.net worker process has restarted or that it is 'stalled' and is about to be restarted

I read from techNet that I can tweak processModel attributes from my machine.config, particularly the attribute responseDeadlockInterval
The default setting for this is 3 mins. The article (http://www.microsoft.com/technet/tre...delelement.asp
says that I should consider increasing the interval if an ASP.NET application is causing the ASP.NET worker process to restart
My question is, when a user tries to enter my site and encounters the "Server Application Unavailable" page, does that mean that the process is stalled or that it has just restarted? If I wish to avoid the above message from occurring, should I increase the interval for responseDeadlockInterval? But that would mean that users would now have to wait a longer time before they can successfully load the site. And does this guarantee that they will successfully load the page if I set the interval to a long enough time to allow for queued requests to get processed

THANK YOU very much for your insights!
Nov 18 '05 #1
4 3328
I am having a similar issue on a production server:

Window 2000 Server
4 proc
2 GIG RAM
IIS 5.0

the app works for a while and then gets the "Server Application
Unavailable" message (always good to show customers). our app calls
several webservices...i believe we are hitting a deadlock and i am not
sure how to resolve (not getting any application event log entries).
does your app call webservices? (may need to tweak the

<system.net>
<connectionManagement>
<add address="*" maxconnection="20"/> (default is 2)
</connectionManagement>
</system.net>
we tweaked the <processModel> attributes, but not the
"responseDeadlockInterval", b/c i believe it shortens or prolongs the
real problem....we did however increased maxWorkerThreads and saw some
improvement.

i am not sure about the answer to your problem (does that mean that
the process is stalled or that it has just restarted?)...but i have a
call into microsoft and will post the answer when it's available.

chris
-------------------------------------------------------------------------

"Sefi" <is**************@yahoo.com.remove_this_antiSpam_t ag> wrote in message news:<62**********************************@microso ft.com>...
Good day everyone.
I'm a bit confused about whether the "Server Application Unavailable" status of my website that frequently occurs when several users are simultaneously logged into it is a symptom that the asp.net worker process has restarted or that it is 'stalled' and is about to be restarted.

I read from techNet that I can tweak processModel attributes from my machine.config, particularly the attribute responseDeadlockInterval.
The default setting for this is 3 mins. The article (http://www.microsoft.com/technet/tre...delelement.asp)
says that I should consider increasing the interval if an ASP.NET application is causing the ASP.NET worker process to restart.
My question is, when a user tries to enter my site and encounters the "Server Application Unavailable" page, does that mean that the
process is stalled or that it has just restarted? If I wish to avoid
the above message from occurring, should I increase the interval for
responseDeadlockInterval? But that would mean that users would now
have to wait a longer time before they can successfully load the site.
And does this guarantee that they will successfully load the page if I
set the interval to a long enough time to allow for queued requests to
get processed?
THANK YOU very much for your insights!

Nov 18 '05 #2
Hello Chris
Yes we have tweaked settings in our machine.config file per recommendations from Microsoft
we have set our maxWorkerThreads to 100 and maxconnection to about 2. We have tried changing the maxconnection attribute to 12 but we have not seen any improvement. our minFreeThreads is also set to 100
So far our web servers average on 4-6 deadlocks on a daily basis. Most notably during times of heavy usage
We call a webservices on a separate server. This server however also hosts 1 or 2 other webservices used by another application. These webservices occasionally call on a clustered database server to make queries
So far I do not see any attributable condition to our SQL Server database. Or could it have one

----- Chris Coffey wrote: ----

I am having a similar issue on a production server

Window 2000 Serve
4 pro
2 GIG RA
IIS 5.

the app works for a while and then gets the "Server Applicatio
Unavailable" message (always good to show customers). our app call
several webservices...i believe we are hitting a deadlock and i am no
sure how to resolve (not getting any application event log entries).
does your app call webservices? (may need to tweak th

<system.net><connectionManagement><add address="*" maxconnection="20"/> (default is 2
</connectionManagement></system.net
we tweaked the <processModel> attributes, but not th
"responseDeadlockInterval", b/c i believe it shortens or prolongs th
real problem....we did however increased maxWorkerThreads and saw som
improvement

i am not sure about the answer to your problem (does that mean tha
the process is stalled or that it has just restarted?)...but i have
call into microsoft and will post the answer when it's available

chri
------------------------------------------------------------------------

"Sefi" <is**************@yahoo.com.remove_this_antiSpam_t ag> wrote in message news:<62**********************************@microso ft.com>..
Good day everyone
I'm a bit confused about whether the "Server Application Unavailable" status of my website that frequently occurs when several users are simultaneously logged into it is a symptom that the asp.net worker process has restarted or that it is 'stalled' and is about to be restarted
I read from techNet that I can tweak processModel attributes from my machine.config, particularly the attribute responseDeadlockInterval

The default setting for this is 3 mins. The article (http://www.microsoft.com/technet/tre...delelement.asp
says that I should consider increasing the interval if an ASP.NET application is causing the ASP.NET worker process to restart
My question is, when a user tries to enter my site and encounter

the "Server Application Unavailable" page, does that mean that th
process is stalled or that it has just restarted? If I wish to avoi
the above message from occurring, should I increase the interval fo
responseDeadlockInterval? But that would mean that users would no
have to wait a longer time before they can successfully load the site
And does this guarantee that they will successfully load the page if
set the interval to a long enough time to allow for queued requests t
get processed
THANK YOU very much for your insights


Nov 18 '05 #3
we did a couple of things:

1. updated machine.config based on the recommendations in:
http://support.microsoft.com/?id=821268

2. applied a hotfix for: http://support.microsoft.com/?id=834104

3. set up wndbg (win debugger) to create crash dumps...we analyzed
them and found some other site specific bugs that (may have) caused a
deadlock (someone put some bad data in our DB w/o us knowing)....

the amount of deadlocks has gone down significantly, but have not
disappeared completely. we are in the process of tuning our
webservices to return faster. some of the calls were taking upto 90
seconds.....possibly causing a "false" deadlock.

hope this helps...

"Sefi" <an*******@discussions.microsoft.com> wrote in message news:<5E**********************************@microso ft.com>...
Hello Chris.
Yes we have tweaked settings in our machine.config file per recommendations from Microsoft.
we have set our maxWorkerThreads to 100 and maxconnection to about 2. We have tried changing the maxconnection attribute to 12 but we have not seen any improvement. our minFreeThreads is also set to 100.
So far our web servers average on 4-6 deadlocks on a daily basis. Most notably during times of heavy usage.
We call a webservices on a separate server. This server however also hosts 1 or 2 other webservices used by another application. These webservices occasionally call on a clustered database server to make queries.
So far I do not see any attributable condition to our SQL Server database. Or could it have one?

----- Chris Coffey wrote: -----

I am having a similar issue on a production server:

Window 2000 Server
4 proc
2 GIG RAM
IIS 5.0

the app works for a while and then gets the "Server Application
Unavailable" message (always good to show customers). our app calls
several webservices...i believe we are hitting a deadlock and i am not
sure how to resolve (not getting any application event log entries).
does your app call webservices? (may need to tweak the

<system.net><connectionManagement><add address="*" maxconnection="20"/> (default is 2)
</connectionManagement></system.net>
we tweaked the <processModel> attributes, but not the
"responseDeadlockInterval", b/c i believe it shortens or prolongs the
real problem....we did however increased maxWorkerThreads and saw some
improvement.

i am not sure about the answer to your problem (does that mean that
the process is stalled or that it has just restarted?)...but i have a
call into microsoft and will post the answer when it's available.

chris
-------------------------------------------------------------------------

"Sefi" <is**************@yahoo.com.remove_this_antiSpam_t ag> wrote in message news:<62**********************************@microso ft.com>...
> Good day everyone.
> I'm a bit confused about whether the "Server Application Unavailable" status of my website that frequently occurs when several users are simultaneously logged into it is a symptom that the asp.net worker process has restarted or that it is 'stalled' and is about to be restarted.
>> I read from techNet that I can tweak processModel attributes from my machine.config, particularly the attribute responseDeadlockInterval.

> The default setting for this is 3 mins. The article (http://www.microsoft.com/technet/tre...delelement.asp)
> says that I should consider increasing the interval if an ASP.NET application is causing the ASP.NET worker process to restart.
> My question is, when a user tries to enter my site and encounters

the "Server Application Unavailable" page, does that mean that the
process is stalled or that it has just restarted? If I wish to avoid
the above message from occurring, should I increase the interval for
responseDeadlockInterval? But that would mean that users would now
have to wait a longer time before they can successfully load the site.
And does this guarantee that they will successfully load the page if I
set the interval to a long enough time to allow for queued requests to
get processed?
>> THANK YOU very much for your insights!

Nov 18 '05 #4
Hi! its me again. We are trying to apply the hotfix discussed in http://support.microsoft.com/default...kb;EN-US;32594
but cant seem to install it successfully. The message appears as "cannot install .NET framework hotfix

The logical thing I could come up is that the version of my ASP.NET dlls and executable is different from the hotfix version
From the website
Date Time Version Size File Nam
---------------------------------------------------------------
09-Jul-2002 06:46 1.0.3705.294 192,512 Aspnet_isapi.dll
09-Jul-2002 06:46 1.0.3705.294 24,576 Aspnet_regiis.exe
09-Jul-2002 06:46 1.0.3705.294 28,672 Aspnet_wp.exe
09-Jul-2002 19:00 1.0.3705.294 1,187,840 System.web.dll
09-Jul-2002 06:39 19,332 Aspnet_perf.in
21-Mar-2002 04:31 8,709 Smartnav.j
21-Mar-2002 04:31 7,003 Smartnavie5.j

The version of my asp.net files is 1.0.3705.35
Does that mean I will not be able to apply this hotfix to debug the application
Many many thanks.
Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mark | last post by:
Hi... We're looking at moving an ASP app from IIS 5 to IIS 6. In general things seem to be working okay, but there are some oddities around the edges. One of those unanticipated changes has to...
7
by: Brett Robichaud | last post by:
I'm trying to decide on the right approach for communication between the UI and a worker thread in a WinForms app. I am very familiar with threads in the unmanaged C++ world and in the past have...
9
by: Abhishek Srivastava | last post by:
Hello All, In IIS 6.0 We have a concept of worker processes and application pools. As I understand it, we can have multiple worker process per appliction pool. Each worker process is dedicated...
7
by: Jeff Stewart | last post by:
I need a thread to run a subroutine which updates my main form's progress bar. I've properly marshaled all UI updates to the main UI thread, and after the main thread starts the worker thread, it...
5
by: J-T | last post by:
I guess I'm a litte bit confused about app pool and worker process. In IIS 6.0 We have a concept of worker processes and application pools. As I understand it, we can have multiple worker process...
6
by: laststubborn | last post by:
Hi everybody, We have a very large database and high transaction volume. Time to time these transactions are locking each other and decrease the performance of the database. Is there any way...
6
by: Zytan | last post by:
I have code running in the debugger as I type. I press pause, and it pauses on: Application.Run(new myForm()); *I believe* a worker thread is in deadlock (it's in a lock, but calls another...
7
by: Samuel A. Falvo II | last post by:
I have a shell script script.sh that launches a Java process in the background using the &-operator, like so: #!/bin/bash java ... arguments here ... & In my Python code, I want to invoke...
1
by: nicerun | last post by:
I'm using the Application_Start event at Global.asax.cs to invoke thread that do some job. I know that Application_Start event occurs when the very first request to Web Application received. -...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.