Solved

I'm recycling w3wp.exe...and it hangs up! Anybody seen this before?

Posted on 2004-08-24
4
539 Views
Last Modified: 2008-02-01
Okay, I'm running IIS6 on my 2003 server, and I have it set to recycle every few hours or so to prevent my ASP.NET webservices from running out of memory.

2/3 times, this works fine...but sometimes the "new" w3wp.exe process starts, and then I get a hang up of 2-5 minutes!

During that period, CPU utilization is practically nothing, there's plenty of MB available, and all the ASP.NET requests just keep queueing.

The w3wp.exe will FINALLY kick in and do it's job, but not without a ton of thread abort exceptions from my applications.

I haven't found any major clues for this yet, so if anyone has an idea, inkling, or otherwise, I would GREATLY appreciate an assist.

Thanks!
0
Comment
Question by:Inward_Spiral
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 34

Expert Comment

by:Dave_Dietz
ID: 11886461
Likely there is a hung thread in the w3wp process that isn't terminating quickly.

The recycle process asks the w3wp to clean up and exit.  If the process doesn't exit in a given period of time IIS kills the process and starts a new one.

This could easily explain the lag time between the recycle start and the completion.

Are there any records in the event log that pertainto the w3wp process?

Dave Dietz
0
 

Author Comment

by:Inward_Spiral
ID: 11886709
Unfortunatlely, there's nothing in the event logs, except for the message "...has requested a recycle...", since I request a scheduled recycle specifically at that time.

Would you know what the "given time period" is? I'm guessing it's likely in machine.config, but which one would control thread timeouts?
0
 
LVL 34

Accepted Solution

by:
Dave_Dietz earned 500 total points
ID: 11888645
The timeout period is configured using the ShutdownTimeLimit property in the metabase (check the Help files for specifics on how to set it.  It defaults to 90 seconds.

This may not be the cause of your issue but I have seen it cause similar behavior in at least one other case.

Dave Dietz
0
 

Author Comment

by:Inward_Spiral
ID: 11993008
Well, that's one way to do it, still have a lot of tweaking to do, so I may pop up with more questions.
Thanks!
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

707 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