473,406 Members | 2,769 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,406 software developers and data experts.

IIS 6 Hangs/Crashes

9
I'm the server administrator for a small business and I have one app pool that is very problematic. There is one web site in the app pool that receives some pretty heavy usage (40-50k visitors a day). However, the server has specs that I'm sure should be able to handle it, and was handling it well until a couple of months ago. Ever since then, we've had nothing but problems. The app pool hangs frequently - typically around every 20 minutes or so, if that.

As an initial attempt, I changed some settings in the app pool and in the metabase file, but nothing seems to work quite well enough. I tried adding an extra worker to the web garden, increasing thread request limits, etc. all without success. My initial instinct was that the problem is ASP code related, so I've spent quite a few days optimizing and fine tuning code everywhere.

As a temporary "fix", I've enabled a frequent 5 minute worker recycle on the app pool. This helps a lot, but does not FIX the problem.

To diagnose the problem, I've looked in the event viewer and I've run DebugDiag numerous times.

Some common errors/warnings I get in the event viewer are:
- A process serving application pool 'PSX Extreme' exceeded time limits during shut down. The process id was '3892'. (I'm pretty sure this means something went wrong with a recycle?)
- Faulting application w3wp.exe, version 6.0.3790.1830, faulting module unknown, version 0.0.0.0, fault address 0x05c07dc8.

The following are typical errors I get in DebugDiag:
- The following threads in w3wp.exe__PSX Extreme__PID__3892__Date__06_28_2008__Time_10_44_1 2PM__609__IIS_COM+ Hang Dump.dmp are displaying a message box. The call to display the message box originated from user32!NtUserWaitMessage+c.
The text of the message being displayed is:
( 11 )
1.47% of threads blocked
- A COM+ STA Activity Pileup has been detected in w3wp.exe__PSX Extreme__PID__5600__Date__06_28_2008__Time_10_44_1 7PM__609__IIS_COM+ Hang Dump.dmp. There is at least one activity bound to every COM+ STA ThreadPool thread, with the following threads having more than one activity bound:
20 21 22 23 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 44 45 46 47 48 49 50
See the COM+ STA ThreadPool Report for more detail.

Related Information:
-IIS6
-ASP
-MS SQL Server
-2 processors
-4gb RAM

I've already done TONS of reading on issues related to this matter. I've search Google for related information to all of my errors and warnings, how to analyze an IIS hang, read lots of articles by David Wang, but everything I try, I just can't seem to get it to work.

If anyone has ANY words of wisdom or can interpret the latest DebugDiag report on my app pool hang, I would forever be in your debt. Thanks for taking the time to read this.

http://www.xoise.com/CrashHangReport.mht
Jun 29 '08 #1
3 5110
kenobewan
4,871 Expert 4TB
You may want to use IIS State to capture a crash, diagnose it, and fix
that problem -- and repeat if necessary

http://www.iisfaq.com/default.aspx?view=P197

Otherwise you may need to optimise your sql.
Jun 29 '08 #2
xoise
9
Thanks a lot for your reply. I've heard of IIS State before, but I was under the understanding that it was just very similar to DebugDiag. I'll definitely try it out though.

I'm hoping it's not an SQL problem though - because along with optimizing my scripts, it involved optimizing my SQL to make sure only one connection to the database is made and the db is accessed as few times as possible, etc.
Jun 29 '08 #3
kenobewan
4,871 Expert 4TB
Thanks a lot for your reply. I've heard of IIS State before, but I was under the understanding that it was just very similar to DebugDiag. I'll definitely try it out though.

I'm hoping it's not an SQL problem though - because along with optimizing my scripts, it involved optimizing my SQL to make sure only one connection to the database is made and the db is accessed as few times as possible, etc.
You are prob right about DebugDiag, but worth a shot.

As far as sql, better to make many small queries. Many connections itself isn't bad and may be better. Of course, if they aren't closed/ disposed there can be probs. Try having the connections only open for executes and reads though.

Try testing your site for speed, I use a good tool in http_watch, but there are others. Is your site slow in general? If your site is fast except, hopefully, one or a few pages are slow, focus on what is on going there. Do you need to use threads so the site doesn't become unusable if a query hangs? I assume you use try catch blocks.
Jun 30 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: yaront | last post by:
Hi, I'm using proc_open to start a process on a WindowsXP server. If the process that I start crashes for some reason, the whole PHP parsing hangs. When opening the TaskManager I can see my...
0
by: Earl Eiland | last post by:
I'm executing WinRK.exe in a loop using the following code: for x in Files: Command_String = 'C:\Program Files\WinRK\WinRK.exe -create ' + os.path.join(InputDirectory, os.path.splitext(x)) + '...
4
by: Colin Steadman | last post by:
Does anyone have a suggestion how I could debug this problem: 1. Data is collected from database and displayed in a form. 2. User updates data and submits it. 3. Submitted data is compared with...
4
by: Petar Popara | last post by:
Dear friends, You helped me so many times on those newsgroups, but I have to ask you once again. I'm struggleing for months with one problem. I have created one COM (dll) object. When I call...
6
by: sam c | last post by:
I have some code that looks a bit like this (note: this isn't the actual code, it's just here in an attempt to help me explain what actions I'm doing): void foo(int bar1) { } void foo(float...
5
by: Loane Sharp | last post by:
Hi there I've got a hang of a problem ... I'm running the .NET framework (2.0.40903), SQL Server 2000 and SQL Express 2005 on Windows XP Pro on a pretty good and new IBM Thinkpad X41. Some...
4
by: =?Utf-8?B?UmljaA==?= | last post by:
Hello, My workstation has been automatically updating IE6 to IE7. When this happens I have a problem with Click Once deployment (VS2005). What happens is that I can still publish applications...
0
by: eso40043 | last post by:
Hello, due to a memory leak (bug, I guess) in pyraf(or rather in IRAF) I have to fork an iterative process that goes through hundreds of image frames and does unspeakable things to them. In the...
9
by: bukzor | last post by:
I'm having an issue where my program hangs while doing socket.connect() for a couple minutes, then times out the connection and crashes. I'm connecting to an apache2 process on the same machine,...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.