473,395 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

AppPool Recycle Failure

I'm running a Server Farm of 5 presentation layer machines
There are 55 different apppools, each is dedicated to a single .net applicatio
Only approximately 10 are running at any time and 8 of those get enough traffic to never shut down
1 in an unknown number of app pool restarts, from both timed recycle as well as timed shut down, the application is never able to answer a request
It appears to attempt the JITC and never completes it to give a response on the application
Have looked at this through the IIS discussion group, and they are pretty sure this is a code issue on our side, but since we have been unable to reproduce the problem in a development environment it is very difficult to troublshoot

The applications use the same basic code base with modifications in presentation
All uncached data comes from a Round Robined set of Middle tier servers, which switch machine after each request. Round Robin is provided by a list and custom code calls each machine in order

The only information we really have is that this occurs on recycles/restarts it does not matter if the server is being pounded, or is under light load
In looking at the output of IISState we found one of these errors for each thread that was being orphaned by IIS and showing up as Current Anonymous Users under Web Service Performance counters, as well as the Requests Current ASP.Net Counters

Thread ID: 1
System Thread ID: f0
Kernel Time: 0:0:0.
User Time: 0:0:0.
Other information: Thread is waiting for a lock to be released. Looking for lock owner
Owning thread System ID: 1f7
Thread Type: AS
Executing Page: ASP.dll symbols not found. Unable to locate ASP page
Continuing with other analysis

# ChildEBP RetAddr
00 009ffc3c 77f43741 SharedUserData!SystemCallStub+0x
01 009ffc40 77f5d64e ntdll!ZwWaitForSingleObject+0x
02 009ffc7c 77f42044 ntdll!RtlpWaitForCriticalSection+0x12
03 009ffc84 79e8d946 ntdll!RtlEnterCriticalSection+0x4
04 009ffccc 79e75739 aspnet_isapi!GetAppDomain+0x9
05 009fff1c 79e755e9 aspnet_isapi!HttpCompletion::ProcessRequestInManag edCode+0x13
06 009fff24 79e8cb80 aspnet_isapi!HttpCompletion::ProcessCompletion+0x2
07 009fff68 792e9155 aspnet_isapi!CorThreadPoolWorkitemCallback+0x2
08 009fff98 792e92cf mscorwks!ThreadpoolMgr::ExecuteWorkRequest+0x2
09 009fffb8 77e4a990 mscorwks!ThreadpoolMgr::WorkerThreadStart+0x12
0a 009fffec 00000000 kernel32!BaseThreadStart+0x3

When the site fails to restore, each new connection creates a Concurrent request that is never answered. We have allowed some of these to go past 3 hours by removing the machine they were running on from the Load Balance

The fun part is when this happens on a site that has been set to use a Web Garden, this will happen to just one of the threads, so the Automated checking software won't pick it up as a failure, because only every 3rd request is failing

Where can we go from here?
Nov 18 '05 #1
1 1391
Hi,

mmm it wont be easy but certainly will be solved.

I suggest you to use post mortem debug tolls such as adplus and windows
debug tools. I add a link that will guide you through this process :
http://msdn.microsoft.com/library/de.../en-us/dnbda/h
tml/DBGch01.asp

Those tools will help you to track the problem.

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)52-8888377
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #2

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

Similar topics

1
by: Kerem Gümrükcü | last post by:
Hi, how can i get the pyhsical path to a recycle bin object. i am working with the FileSystemWatcher Object and i dont want to handle events inside the recycle bin, because the FSW Object...
1
by: Frank Meng | last post by:
Hi. I wrote a program to get the directory of "Recycle Bin" with SHGetSpecialFolderLocation . It works for "Recent", "SendTo", etc. but it doesn't work for "Recycle Bin". At...
5
by: Gene Vital | last post by:
Can someone point me in the right direction on how to send files to the Recyle Bin using C#.
2
by: John | last post by:
Is the only criteria for worker process recycle 60% physical memory usage?? (I'm on W2K, default setup - I know you can change it in machine.config). Because if so, when using SQL Server on the...
1
by: Adam Clark | last post by:
We have an ASP.NET AppPool which crashes frequently. I am more of a systems guy than a programmer, but I used to program in ASP. Can anyone give me any clues about how to track down specifically...
5
by: johnb41 | last post by:
I searched and found a way (via API) t0 add a deleted file to the recycle bin. (Thanks Ken Tucker! :)) But I was wondering if VB.NET 2005 (framework 2.0) has a non-api solution. (Note: i...
2
by: Ben Dewey | last post by:
everyone, I have a ASP.NET 2.0 application that is creating powerpoint documents on the fly using powerpoint com objects that are installed on the server. I am having some issues with security...
0
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hi misters, I know the name of AppPool in an web server (Win 2003 server) and I want restart AppPool by code or script. Does anyone know how to restart (or recycle) a web application pool...
2
by: =?Utf-8?B?VVNBT3o=?= | last post by:
I am using Windows Vista Ultimate (x86). I accidently deleted my Desktop Recycle Bin. I restored it (Control Panel/Personalise/Change Desktop Icons). I clicked on the Recycle Bin (Full) icon...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.