Solved

IIS Websites (server side) keeps freezing up, Need to isolate/troubleshoot application pool

Posted on 2008-10-01
3
1,502 Views
Last Modified: 2012-05-05
Hi Friends,

I really appreciate expert troubleshooting advise on this.

There are about 200 Host Header sites on this IIS server.
ALMOST ALL OF THESE SITES HAVE FRONTPAGE 2002 SERVER EXTENSIONS INSTALLED.
Note that this server also has Perl CGI, ISAPI, and PHP5.
When the problem occurs, as far as I can tell, very quickly all the sites become unresponsive.
My fix thus far has been to simply restart the www NT service.

I have found 3 interesting sets of problems in the eventlogs:

1.      There is some policy that keep causing errors, related to mapping print drivers in kernel mode for anyone who uses terminal services
2.      There are lots of ASP.NET errors (mostly from one site in particular), which provide the process ID for the associated w3wp.exe
3.      There are lots of DNS update errors (attempting to update the Active Directory name FQDN of this server) and redirector failing as a result

POSSIBLE ACTIONS:
1. Isolate the website I suspect as the cause, from the default app pool.  HOW DO I DO THIS??

(this way, I will be able to map the process ID to the w3wp.exe using IISApp.vbs or 'Process Explorer', and if that one has all the CPU cycles, that should be conclusive proof ---- but right now I only have 2 process threads for w3wp.exe, because they are all in a shared pool under the default parent root).

2. Could Performance Monitor help me?

Thanks in advance for any advise!
~k

Here is a sample of the events I found in the APP and SYS logs:

-------------------------------------

Event ID: 1309

Event code: 3005 

Thread information: 

    Thread ID: 8 

    Thread account name: NT AUTHORITY\NETWORK SERVICE 

    Is impersonating: False 

    Stack trace: at System.Web.HttpForbiddenHandler.ProcessRequest(HttpContext context) at Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

-------------------------------------

Event ID: 1111

Description:

Kernel Mode Printer blocking policy is enabled. The attempt for Microsoft XPS Document Writer (from hostname) in session 1 to use a Kernel Mode driver failed.

-------------------------------------

Event ID: 5789

Description:

Attempt to update DNS Host Name of the computer object in Active Directory failed. The updated value was 'XXX.YYY.ZZZ' (FQDN). The following error occurred: 

The parameter is incorrect. 

-------------------------------------

Event ID: 1074

Description:

A worker process with process id of '2096' serving application pool 'DefaultAppPool' has requested a recycle because the worker process reached its allowed processing time limit.

-------------------------------------

Event ID: 50

Description:

{Delayed Write Failed} Windows was unable to save all the data for the file \Device\LanmanRedirector. The data has been lost. This error may be caused by a failure of your computer hardware or network connection. Please try to save this file elsewhere.

-------------------------------------

Event ID: 55

Description:

Kernel Mode Printer blocking policy is enabled. The attempt for Microsoft XPS Document Writer (from XXXX) - HOSTNAME in session 3 to use a Kernel Mode driver failed.

-------------------------------------

Open in new window

extensions.gif
steps.gif
0
Comment
Question by:ksuchy
  • 2
3 Comments
 
LVL 9

Expert Comment

by:gregcmcse
Comment Utility
Actually, it may not be IIS at all.  Are there lots of the "{Delayed Write Failed}" error messages in your event log?  Check to see if you see one or more of them close to the time that apps become non-responsive.  It's usually indicative of either a SAN/NAS traffic problem, or occasionally a local hard drive failing.

If that doesn't pan out, isolate that site that provides the most errors and put it in its own app pool.  See if that solves the problem or isolates it.  If that doesn't work, take your top 10 sites and put them in that app pool.  Keep moving sites to the new app pool (or their own) until the problem either moves to another app pool or goes away.  I know it's tedious and annoying, but your only other real alternative is trying to go through each of 200 IIS logs to try to find the source... which is an option -- just not a real attractive one.
0
 

Author Comment

by:ksuchy
Comment Utility
Ok, I've created the new app pool.
I'll take a look at the possible SAN/NAS issue and report back.
The freezes are very infrequent, but often enough to raise alarms here.
0
 
LVL 9

Accepted Solution

by:
gregcmcse earned 500 total points
Comment Utility
Out of curiosity, is this server used for anything else?  You mentioned Terminal Server errors -- is that remote admin or something else?

0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Foreword (May 2015) This web page has appeared at Google.  It's definitely worth considering! https://www.google.com/about/careers/students/guide-to-technical-development.html How to Know You are Making a Difference at EE In August, 2013, one …
Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

771 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