Solved

IIS 7 Application Pool crashing

Posted on 2012-12-29
3
3,546 Views
Last Modified: 2016-11-23
I have 8 web sites hosted in IIS 7 on Windows Server 2008 R2 64bit SP1. Hardware, in case it matters, is a Dell M610 blade, dual Xeon X5675 3GHz 24GB RAM (generally only using half of that at peak times). Each web site has it's own app pool and they all run smoothly except one app pool, which keeps crashing, resulting in 503 errors. The logs are full of events such as below. How can I pinpoint the issue and resolve this promptly as it affects thousands of users and keels over daily?

EVENT ID: 1001
Fault bucket , type 0
Event Name: BEX
Response: Not available
Cab Id: 0

Problem signature:
P1: w3wp.exe
P2: 7.5.7601.17514
P3: 4ce7a5f8
P4: MSVCR90.dll
P5: 9.0.30729.6161
P6: 4dace5b9
P7: 0006ccd5
P8: c0000417
P9: 00000000
P10:

Attached files:

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_w3wp.exe_33c4ab5dd626322a48afa7bd257a8826b51ed21e_71f49cea

Analysis symbol:
Rechecking for solution: 0
Report Id: 22f3c673-5148-11e2-9212-24b6fd689de1
Report Status: 0
*******************************************

EVENT ID: 1000
Faulting application name: w3wp.exe, version: 7.5.7601.17514, time stamp: 0x4ce7a5f8
Faulting module name: MSVCR90.dll, version: 9.0.30729.6161, time stamp: 0x4dace5b9
Exception code: 0xc0000417
Fault offset: 0x0006ccd5
Faulting process id: 0x2d48
Faulting application start time: 0x01cde554d94169b3
Faulting application path: C:\Windows\SysWOW64\inetsrv\w3wp.exe
Faulting module path: C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\MSVCR90.dll
Report Id: 22f3c673-5148-11e2-9212-24b6fd689de1
0
Comment
Question by:drl1
3 Comments
 
LVL 18

Accepted Solution

by:
Gary Davis earned 250 total points
Comment Utility
These are difficult to find but if you log exceptions in your Application_Error() function in Global.asax, these can help you pinpoint the crash. Even though it is IIS crashing, it is most likely caused by code or data in your website.

One example I recently had that crashed IIS7 was an out-of-memory exception caused by executing a SQL stored proc that was returning about 100,000 rows instead of a few rows (due to some bad data). The output of the procedure was stored in cache and eventually caused the pool to recycle. Watching the w3wp process in the task manager showed its memory growing to a very large amount.

To find this, our exception log showed the OOM exceptions and we also log the SPs called on each request so it pointed us to the "bad" SP.

So, this explains one particular crash but of course, there are other cases.

Gary Davis
0
 
LVL 51

Assisted Solution

by:tedbilly
tedbilly earned 250 total points
Comment Utility
Have you looked in c:\System32\LogFiles\HTTPERR ?

That is where 503 errors are recorded.

The error will be code based in the web application running on that pool.  IIS and the Application pool are simple mechanisms to run the web application.  The fault is always in the binaries for the web application.
0
 

Author Comment

by:drl1
Comment Utility
Latest instance in the system32\LogFiles log shows...

9 Connection_Abandoned_By_ReqQueue

There is other detail in that entry which might point me in the direction of the events (links being used) which coincide with the app pool crashing, but they involve a 3rd-party component which runs as part of the application so I need to check with the vendor support team.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

I had a question today where the user wanted to know how to delete an SSL Certificate, so I thought that I would quickly add this How to! Article for your reference. WHY WOULD YOU WANT TO DELETE A CERTIFICATE? 1. If an incorrect certificate was …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now