473,699 Members | 2,715 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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"?>
<configuratio n>
<appSettings>
</appSettings>
<system.web>
<httpModules>
<compilation debug="false">
</compilation>
<customErrors mode="Off"/>
<authenticati on mode="Windows">
</authentication>
</system.web>
</configuration>

Any help is appreciated

Apr 2 '06 #1
9 3342
On 2 Apr 2006 10:45:26 -0700, wo**********@gm ail.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 ErrorApplicatio n 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**********@gm ail.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 ErrorApplicatio n 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**********@g mail.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"?>
<configuratio n>
<appSettings>
</appSettings>
<system.web>
<httpModules>
<compilation debug="false">
</compilation>
<customErrors mode="Off"/>
<authenticati on 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**********@gm ail.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**********@gm ail.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*******@disc ussions.microso ft.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
documentatio n?

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
11181
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, there is no w3wp.exe in task manager. And a process that related to this web application always stop suddenly. Could anyone help? Thank you.
15
6192
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 can't compile because the DLL is in use (and the PDB too), and the w3wp.exe process is the process locking the DLL (as viewed with Sysinternals - Process Explorer). this is a huge problem. i need to do IIS reset in order to free the DLL! 1. why is...
5
7636
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
7827
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 servers are in a stateless farm and have 2 GB of RAM. We are using ASP.NET 1.1 when using a dedicated application pool for each virtual directory. Each customer gets their own virtual directory and copy of the ASP.NET dll in their bin folder, which...
0
1700
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 minute and could do things normally then I clicked on "dont send" button. The computer then died. I tried restarting the computer but it got to the compaq screen at the beginning with the press F10 for Recovety etc etc it left that the the curser
1
3902
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 application pool gets recycled. I have tried all the usual approaches to the problem such as ensuring all db connections are closed and killed off, making sure there are no infinite loops (well i tried to, hard to know) etc. No matter what I try, the...
0
1750
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 ago I ran into a problem where Visual Studio would fail to recognize that the NET code is even associated to the IIS process - w3wp.exe. I have checked with Process Explorer, and the .NET DLL is correctly associated to the w3wp process - yet...
6
4797
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 in the Page_Load, to simulate a condition where huge memory is utilized by the app: int i = 0;
10
2985
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 connect to the other machine the size is approx 114MB. Does anyone have any idea what the extra 100 MB is being used for One Thing to note .NEt 1.1 was installed on the server consuming the 100MB. I have removed the extension and uninstalkled the...
0
8685
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8613
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
7745
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6532
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5869
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4374
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3054
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2344
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.