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

Slow Worker Process Startup

I'm having a problem with the amount of time it takes to initialize an
application pool on IIS 6.0. Upon the first request to an ASP.NET
page the worker process (w3wp.exe) starts up. The problem in my case
is that it takes more than 5 minutes to begin servicing requests after
the initial startup. During that agonizingly long period the process
is doing nothing...and I mean absolutely nothing...0% CPU and no
memory movement at all. And then all of sudden the CPU spikes and the
page is rendered in a split second. This happens to any web app no
matter how simple or complex. I'm seeing the problem on a dozen
Windows 2003 boxes all built exactly the same way. Has anyone else
experienced this?
Apr 8 '08 #1
4 3212
you are probably getting some network timeout behavior (maybe authenication
of the service account). a network trace ought to tell.

-- bruce (sqlwork.com)
"Brian Gideon" wrote:
I'm having a problem with the amount of time it takes to initialize an
application pool on IIS 6.0. Upon the first request to an ASP.NET
page the worker process (w3wp.exe) starts up. The problem in my case
is that it takes more than 5 minutes to begin servicing requests after
the initial startup. During that agonizingly long period the process
is doing nothing...and I mean absolutely nothing...0% CPU and no
memory movement at all. And then all of sudden the CPU spikes and the
page is rendered in a split second. This happens to any web app no
matter how simple or complex. I'm seeing the problem on a dozen
Windows 2003 boxes all built exactly the same way. Has anyone else
experienced this?
Apr 8 '08 #2
On Apr 8, 1:41*pm, bruce barker
<brucebar...@discussions.microsoft.comwrote:
you are probably getting some network timeout behavior (maybe authenication
of the service account). a network trace ought to tell.

-- bruce (sqlwork.com)

"Brian Gideon" wrote:
I'm having a problem with the amount of time it takes to initialize an
application pool on IIS 6.0. *Upon the first request to an ASP.NET
page the worker process (w3wp.exe) starts up. *The problem in my case
is that it takes more than 5 minutes to begin servicing requests after
the initial startup. *During that agonizingly long period the process
is doing nothing...and I mean absolutely nothing...0% CPU and no
memory movement at all. *And then all of sudden the CPU spikes and the
page is rendered in a split second. *This happens to any web app no
matter how simple or complex. *I'm seeing the problem on a dozen
Windows 2003 boxes all built exactly the same way. *Has anyone else
experienced this?
I took a look at the security event log. What I found was
interesting. Everytime the w3wp.exe process starts up for the first
time (and I did this at least half a dozen times to verify the
behavior) the following event will appear 5min and 20s later just
before the first request is served and delivered to the client.

It appears as if the WinHttpAutoProxySvc service is being sent some
kind of control request. I tried starting the service, stopping it,
disabling it, and setting it to manual and it makes no difference.
Somehow these events keep appearing just seconds before the worker
process is finally able to serve requests. I can't help but think it
is related somehow.

Event Type: Failure Audit
Event Source: Security
Event Category: Object Access
Event ID: 560
Date: 10/19/2005
Time: 3:31:00 PM
User: NT AUTHORITY\NETWORK SERVICE
Computer: APPTEST
Description:
Object Open:
Object Server: SC Manager
Object Type: SERVICE OBJECT
Object Name: WinHttpAutoProxySvc
Handle ID: -
Operation ID: {0,1201331}
Process ID: 612
Image File Name: C:\WINDOWS\system32\services.exe
Primary User Name: APPTEST$
Primary Domain: LAB
Primary Logon ID: (0x0,0x3E7)
Client User Name: NETWORK SERVICE
Client Domain: NT AUTHORITY
Client Logon ID: (0x0,0x3E4)
Accesses: Query status of service
Start the service
Query information from service
Privileges: -
Restricted Sid Count: 0
Access Mask: 0x94

Apr 8 '08 #3
On Apr 8, 1:11*pm, Brian Gideon <briangid...@yahoo.comwrote:
I'm having a problem with the amount of time it takes to initialize an
application pool on IIS 6.0. *Upon the first request to an ASP.NET
page the worker process (w3wp.exe) starts up. *The problem in my case
is that it takes more than 5 minutes to begin servicing requests after
the initial startup. *During that agonizingly long period the process
is doing nothing...and I mean absolutely nothing...0% CPU and no
memory movement at all. *And then all of sudden the CPU spikes and the
page is rendered in a split second. *This happens to any web app no
matter how simple or complex. *I'm seeing the problem on a dozen
Windows 2003 boxes all built exactly the same way. *Has anyone else
experienced this?
Well, I came across KB 944157 published on 2/22/08 describing an issue
with similar behavior that was fixed in SP1. I'll do some research to
see if my issue is the same one.
Jun 27 '08 #4
On May 9, 8:49*pm, Brian Gideon <briangid...@yahoo.comwrote:
On Apr 8, 1:11*pm, Brian Gideon <briangid...@yahoo.comwrote:
I'm having a problem with the amount of time it takes to initialize an
application pool on IIS 6.0. *Upon the first request to an ASP.NET
page the worker process (w3wp.exe) starts up. *The problem in my case
is that it takes more than 5 minutes to begin servicing requests after
the initial startup. *During that agonizingly long period the process
is doing nothing...and I mean absolutely nothing...0% CPU and no
memory movement at all. *And then all of sudden the CPU spikes and the
page is rendered in a split second. *This happens to any web app no
matter how simple or complex. *I'm seeing the problem on a dozen
Windows 2003 boxes all built exactly the same way. *Has anyone else
experienced this?

Well, I came across KB 944157 published on 2/22/08 describing an issue
with similar behavior that was fixed in SP1. *I'll do some research to
see if my issue is the same one.
Yep, I believe that will fix my problem. Here's a blog that mentions
adding a local account called ProcessIdentity to work around the bug.

http://blogs.msdn.com/jamesche/archi...plication.aspx
Jun 27 '08 #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...
4
by: Aaron McAlpine | last post by:
Our production system developed a problem over the Thanksgiving weekend. Wednesday evening... everything is fine. First thing Monday morning, we started receiving complaints about the system being...
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...
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...
0
by: Gregory Gadow | last post by:
Still working on this project. What I have working: I have a service that uses FileSystemWatcher on an "in box" folder. When a text file appears in the in-box, it copies the file to a work...
9
by: jeff | last post by:
Hi All. I realize that when my Deployed winforms application starts, Windows needs to load the .net 2 framework before control is given to my application.... Is there anyway to either ... -...
1
by: Diffident | last post by:
Hello All, I have a question about worker processes and session state. If I set-up a web farm architecture by having multiple worker processes serving a single application, how will the session...
9
by: SAL | last post by:
I have an ASP.NET 2.0 app that takes about 17 seconds to load on first startup but then is very fast after that. As I understand it from some posts in June, this is caused by the loading of the App...
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.