473,322 Members | 1,614 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,322 software developers and data experts.

W3WP process restarting after one minute

The problem we are having is with the worker process restarting after
one minute of being started up. We had a website running in .Net 1.1
and switched it over to .Net 2.0. The site is running on a W2003
machine w/ IIS6 with 4GB Ram.

We have it running in it's own Application Pool with no other websites.
The settings we have are:

- Recycle worker process after 1440 Minutes
- Shut down worker proecess after being idle for 20 minutes
- Enable pinging = false
- Enable Rapid Fail Protection = false

I'm looking for any direction to look/try.

I have tried making a minimal asp .net website (just one page that does
a Response.Write("")) with the default settings in web.config and the
worker process does not restart. If I move over the web.config from
the problem site to the test site, the worker process will react in the
same manner by restarting after approximately one minute. There is no
traffic during this period. I basically hit the site once, and let the
worker process start. Then I wait, and 100% of the time it will
restart. I know it is not a problem with memory are doing this will
only use about 20MB of Ram.

I have tried removing sections from the web.config until it is down to
the least amount of information I can and it still restarts.
Here is what I have when I say "least amount of information" in
web.config.

<?xml version="1.0"?>
<configuration>
<appSettings>
</appSettings>
<system.web>
<httpModules>
<compilation debug="false">
</compilation>
<customErrors mode="Off"/>
<authentication mode="Windows">
</authentication>
</system.web>
</configuration>

Any help is appreciated

Apr 2 '06 #1
9 3327
On 2 Apr 2006 10:45:26 -0700, wo**********@gmail.com wrote:
The problem we are having is with the worker process restarting after
one minute of being started up. We had a website running in .Net 1.1
and switched it over to .Net 2.0. The site is running on a W2003
machine w/ IIS6 with 4GB Ram.

We have it running in it's own Application Pool with no other websites.
The settings we have are:

- Recycle worker process after 1440 Minutes
- Shut down worker proecess after being idle for 20 minutes
- Enable pinging = false
- Enable Rapid Fail Protection = false

I'm looking for any direction to look/try.


What do you see in the Event Viewer that corresponds to this restart?
Anything?

Jim
Jim Cheshire
Jimco Software
http://www.jimcosoftware.com
Add-ins for Microsoft FrontPage

Author of
Special Edition Using Microsoft Office FrontPage 2003
Apr 2 '06 #2
A very non descript error that I was getting previously when some
exceptions were being thrown. I managed to get rid of the exceptions
which I know can quickly take down the worker process and the app pool.
The only thing I can think is that there is some hidden exception that
I'm not seeing.

I know there is an article written on how to supress this error (or to
give more detail if Visual Studio is installed). I don't remember the
msdn article off the top of my head, but I don't necessarily want to
supress it. I would like to find out what it is if possible.

Here is the error:

Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 0
Date: 3/31/2006
Time: 11:15:29 AM
User: N/A
Computer: FOGHORN
Description:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. You may be able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The following
information is part of the event: .NET Runtime version : 2.0.50727.42 -
Application ErrorApplication has generated an exception that could not
be handled.

Process ID=0x1224 (4644), Thread ID=0x13a4 (5028).

Click OK to terminate the application.
Click CANCEL to debug the application..

Apr 2 '06 #3
On 2 Apr 2006 15:06:29 -0700, wo**********@gmail.com wrote:

I know there is an article written on how to supress this error (or to
give more detail if Visual Studio is installed). I don't remember the
msdn article off the top of my head, but I don't necessarily want to
supress it. I would like to find out what it is if possible.

Here is the error:

Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 0
Date: 3/31/2006
Time: 11:15:29 AM
User: N/A
Computer: FOGHORN
Description:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. You may be able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The following
information is part of the event: .NET Runtime version : 2.0.50727.42 -
Application ErrorApplication has generated an exception that could not
be handled.

Process ID=0x1224 (4644), Thread ID=0x13a4 (5028).


You're going to have to dump the process when this problem happens to
see what's causing it. The fastest way to solve this is going to be to
open a case with Microsoft PSS and have them walk you through getting
a dump. That can then be analyzed for the source of this problem.

Jim
Jim Cheshire
Jimco Software
http://www.jimcosoftware.com
Add-ins for Microsoft FrontPage

Author of
Special Edition Using Microsoft Office FrontPage 2003
Apr 3 '06 #4

Hello Dean,

The best way to diagnose the problem would be to use Windbg and SOS
extension to create the dump and analyze the dump file.

Good resource: http://support.microsoft.com/default...;en-us;Q286350

Hope this helps!

"wo**********@gmail.com" wrote:
The problem we are having is with the worker process restarting after
one minute of being started up. We had a website running in .Net 1.1
and switched it over to .Net 2.0. The site is running on a W2003
machine w/ IIS6 with 4GB Ram.

We have it running in it's own Application Pool with no other websites.
The settings we have are:

- Recycle worker process after 1440 Minutes
- Shut down worker proecess after being idle for 20 minutes
- Enable pinging = false
- Enable Rapid Fail Protection = false

I'm looking for any direction to look/try.

I have tried making a minimal asp .net website (just one page that does
a Response.Write("")) with the default settings in web.config and the
worker process does not restart. If I move over the web.config from
the problem site to the test site, the worker process will react in the
same manner by restarting after approximately one minute. There is no
traffic during this period. I basically hit the site once, and let the
worker process start. Then I wait, and 100% of the time it will
restart. I know it is not a problem with memory are doing this will
only use about 20MB of Ram.

I have tried removing sections from the web.config until it is down to
the least amount of information I can and it still restarts.
Here is what I have when I say "least amount of information" in
web.config.

<?xml version="1.0"?>
<configuration>
<appSettings>
</appSettings>
<system.web>
<httpModules>
<compilation debug="false">
</compilation>
<customErrors mode="Off"/>
<authentication mode="Windows">
</authentication>
</system.web>
</configuration>

Any help is appreciated

Apr 4 '06 #5
Thanks for the help. I'll give this a try.

Diffident wrote:
Hello Dean,

The best way to diagnose the problem would be to use Windbg and SOS
extension to create the dump and analyze the dump file.

Good resource: http://support.microsoft.com/default...;en-us;Q286350

Hope this helps!


Apr 4 '06 #6
On 4 Apr 2006 06:01:09 -0700, wo**********@gmail.com wrote:
Thanks for the help. I'll give this a try.

Diffident wrote:
Hello Dean,

The best way to diagnose the problem would be to use Windbg and SOS
extension to create the dump and analyze the dump file.

Good resource: http://support.microsoft.com/default...;en-us;Q286350

Hope this helps!


Dean,

Keep in mind that the above article only tells you how to get a dump
with adplus. It doesn't tell you what to do with it once you get it.

If you want a resource on how to debug it, you can check my blog at
http://blogs.msdn.com/jamesche. I have links in my blog to walkthrough
documentation.

Jim
Apr 4 '06 #7

Hello Jim,

I have gone through your website for the articles which can help debug using
Adplus? Which articles exactly would you want me to go through for debugging
documentation?

Is it "Digging into Objects" posted on Thursday, December 22, 2005 3:30 PM.
Or do you have any other posts that talk about debugging using ADPlus in
particular?

Thank you!!

"Jim Cheshire" wrote:
On 4 Apr 2006 06:01:09 -0700, wo**********@gmail.com wrote:
Thanks for the help. I'll give this a try.

Diffident wrote:
Hello Dean,

The best way to diagnose the problem would be to use Windbg and SOS
extension to create the dump and analyze the dump file.

Good resource: http://support.microsoft.com/default...;en-us;Q286350

Hope this helps!


Dean,

Keep in mind that the above article only tells you how to get a dump
with adplus. It doesn't tell you what to do with it once you get it.

If you want a resource on how to debug it, you can check my blog at
http://blogs.msdn.com/jamesche. I have links in my blog to walkthrough
documentation.

Jim

Apr 4 '06 #8
On Tue, 4 Apr 2006 06:46:03 -0700, Diffident
<Di*******@discussions.microsoft.com> wrote:

Hello Jim,

I have gone through your website for the articles which can help debug using
Adplus? Which articles exactly would you want me to go through for debugging
documentation?

Is it "Digging into Objects" posted on Thursday, December 22, 2005 3:30 PM.
Or do you have any other posts that talk about debugging using ADPlus in
particular?


I have links in my blog to the PAG documents on production debugging.

Jim
Apr 4 '06 #9
For those of you seeing this type of problem, it appears to come down
to exceptions that are thrown way down the line. .Net 1.1 was very
kind in surpressing exceptions and keeping things running. Of course,
as we all know, exceptions are very costly. .Net 2.0 no longer just
supresses these exceptions and takes the stance that it is better to
restart the worker process than to take down an entire server.

Specifically our problem is with exceptions that are thrown in
Cachecallbacks. The cachecallbacks (or the function that the
cachecallback calls) have the necessary try/catch blocks, but with .Net
2.0, these exceptions can still take down your worker process. Once I
have a change to dig in to what exact exceptions are causing this
problem, I will reply here. For now, I am disabling the cachecallbacks
that are causing the problem.

Thanks for the help again.

Apr 7 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Louis | last post by:
Hi All, I'm using w2k3 and IIS6, is it true that when I start the .net web application, there will be a process w3wp.exe? As my application is using asp.net, but when I start the web site,...
15
by: z. f. | last post by:
Hi, i have an ASP.NET project that is using a (Class Library Project) VB.NET DLL. for some reason after running some pages on the web server, and trying to compile the Class Library DLL, it...
5
by: ALI-R | last post by:
I'd like to debug my asp.net application ,,but I can't find W3wp.exe in the list of system process to attach it to the debugger??? Is there someboddy who can help me. Thanks Ali
4
by: AN | last post by:
Greetings, We make an ASP.NET web application and we host it for our customers. We have provisioned hardware and hope to be able to service around 200 customers on this hardware. The web...
0
by: =?Utf-8?B?bWV0YWxsaWNpdGU=?= | last post by:
I got this message when I was browsing the net. Generic Host Process for WIN32 Services has encountered a problem and needs to close. We are sorry for the inconvenience. I left it for about a...
1
by: Propertyshowrooms | last post by:
Hi all, I know this is probably an easy problem to fix, or at least I hope so, but for the life of me I can't figure out why the Private Bytes in my w3wp.exe process just keeps climbing until the...
0
by: ToadLurker | last post by:
Usually, to debug my .NET dll, I typically just run my web application until the DLL in question is invoked - at which point I can just attach to it via Visual Studio .Net, and debug it. Two weeks...
6
by: Anand Saha | last post by:
Machine: 32 bit Intel Xeon 2.93 GHz, 16 CPUs, 32 GB RAM OS: Windows Server 2003 R2 Ent Edition, SP2 Web Server: IIS 6 ASP.NET ver: 2.0 I made a simple ASP.NET application, with only this code...
10
by: =?Utf-8?B?U2Vhbg==?= | last post by:
I have two win2003 sp1 servers running iis 6.0 running the same application. When I connected to the first server a W3WP process (application pool is created) whoose size is approax 14MB When I...
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...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
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...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.