473,788 Members | 2,810 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

aspnet wp recycling.

Hi

I Have a problem with and asp.net application recycling.
ON the development machines it works fine, but on the
clients machine it keeps recycling.

When some users access the app, the browser returns a
Server Application Unavailable message. In the event log
there is an error

aspnet_wp.exe (PID: xxxx) stopped unexpectedly.

Other users are able to access it fine to do the same
things. Some users can access it from some client
machines, but not others.

I think this means it is recycling itself, but I do not
know why this should be. There is plenty of unused memory
on the server. I have no reason to believe that there is
a deadlock situation, although I am not sure how to
confirm this.

The server is running Win2k, with version 1.1 of the
framework.

Where should I go next?
Nov 18 '05 #1
12 2029
You may have a performance bottleneck that is causing this. If a Request
takes too long to process, a deadlock will be suspected, and the process
will recycle.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"adam" <ad**@twv.org > wrote in message
news:02******** *************** *****@phx.gbl.. .
Hi

I Have a problem with and asp.net application recycling.
ON the development machines it works fine, but on the
clients machine it keeps recycling.

When some users access the app, the browser returns a
Server Application Unavailable message. In the event log
there is an error

aspnet_wp.exe (PID: xxxx) stopped unexpectedly.

Other users are able to access it fine to do the same
things. Some users can access it from some client
machines, but not others.

I think this means it is recycling itself, but I do not
know why this should be. There is plenty of unused memory
on the server. I have no reason to believe that there is
a deadlock situation, although I am not sure how to
confirm this.

The server is running Win2k, with version 1.1 of the
framework.

Where should I go next?

Nov 18 '05 #2
Thanks, but I am no further forward with this.
The settings in the processModel element of
machine.config are

enable="true"
timeout="Infini te"
idleTimeout="In finite"
shutdownTimeout ="0:00:10"
requestLimit="I nfinite"
requestQueueLim it="5000"
restartQueueLim it="10"
...
responseDeadloc kInterval="00:1 0:00"
maxWorkerThread s="20"
maxIoThreads="2 0"
...

These are the same as the development machine. There are
no other applications competing for resources on the
production server. The development machine returns the
page in 1 s or less, so if the deadlock interval is set
to 10, is it likely that this is what is happening?

Adam
-----Original Message-----
You may have a performance bottleneck that is causing this. If a Requesttakes too long to process, a deadlock will be suspected, and the processwill recycle.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"adam" <ad**@twv.org > wrote in message
news:02******* *************** ******@phx.gbl. ..
Hi

I Have a problem with and asp.net application recycling. ON the development machines it works fine, but on the
clients machine it keeps recycling.

When some users access the app, the browser returns a
Server Application Unavailable message. In the event log there is an error

aspnet_wp.exe (PID: xxxx) stopped unexpectedly.

Other users are able to access it fine to do the same
things. Some users can access it from some client
machines, but not others.

I think this means it is recycling itself, but I do not
know why this should be. There is plenty of unused memory on the server. I have no reason to believe that there is a deadlock situation, although I am not sure how to
confirm this.

The server is running Win2k, with version 1.1 of the
framework.

Where should I go next?

.

Nov 18 '05 #3
plus check the machine config file for your dev box and the server....
check the processModel element.... that would additionally define how aspnet
worker process behaved and how it restarted.... you have params like recycle
after this make request or after this much time... you have a few options so
have a look into it as well...

--
Regards,

HD

Once a Geek.... Always a Geek
"adam" <ad**@twv.org > wrote in message
news:02******** *************** *****@phx.gbl.. .
Hi

I Have a problem with and asp.net application recycling.
ON the development machines it works fine, but on the
clients machine it keeps recycling.

When some users access the app, the browser returns a
Server Application Unavailable message. In the event log
there is an error

aspnet_wp.exe (PID: xxxx) stopped unexpectedly.

Other users are able to access it fine to do the same
things. Some users can access it from some client
machines, but not others.

I think this means it is recycling itself, but I do not
know why this should be. There is plenty of unused memory
on the server. I have no reason to believe that there is
a deadlock situation, although I am not sure how to
confirm this.

The server is running Win2k, with version 1.1 of the
framework.

Where should I go next?

Nov 18 '05 #4
Adam,
Have your session state settings changed between
environments? I've encountered this problem when adding
objects to session that were not marked as [Serializable
()]. My development machine was storing session
information InProcess, while the test machine was using
SqlServer to manage session.

hth
Barry
-----Original Message-----
Thanks, but I am no further forward with this.
The settings in the processModel element of
machine.conf ig are

enable="true "
timeout="Infini te"
idleTimeout="In finite"
shutdownTimeout ="0:00:10"
requestLimit="I nfinite"
requestQueueLim it="5000"
restartQueueLim it="10"
...
responseDeadloc kInterval="00:1 0:00"
maxWorkerThread s="20"
maxIoThreads="2 0"
...

These are the same as the development machine. There are
no other applications competing for resources on the
production server. The development machine returns the
page in 1 s or less, so if the deadlock interval is set
to 10, is it likely that this is what is happening?

Adam
-----Original Message-----
You may have a performance bottleneck that is causing

this. If a Request
takes too long to process, a deadlock will be suspected,

and the process
will recycle.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"adam" <ad**@twv.org > wrote in message
news:02****** *************** *******@phx.gbl ...
Hi

I Have a problem with and asp.net applicationrecycling. ON the development machines it works fine, but on the
clients machine it keeps recycling.

When some users access the app, the browser returns a
Server Application Unavailable message. In the eventlog there is an error

aspnet_wp.exe (PID: xxxx) stopped unexpectedly.

Other users are able to access it fine to do the same
things. Some users can access it from some client
machines, but not others.

I think this means it is recycling itself, but I do not
know why this should be. There is plenty of unusedmemory on the server. I have no reason to believe that thereis a deadlock situation, although I am not sure how to
confirm this.

The server is running Win2k, with version 1.1 of the
framework.

Where should I go next?

.

.

Nov 18 '05 #5
Thanks again,

but both machines are configured to store state in
process.

Adam
-----Original Message-----
Adam,
Have your session state settings changed between
environments ? I've encountered this problem when adding
objects to session that were not marked as [Serializable
()]. My development machine was storing session
information InProcess, while the test machine was using
SqlServer to manage session.

hth
Barry
-----Original Message-----
Thanks, but I am no further forward with this.
The settings in the processModel element of
machine.confi g are

enable="tru e"
timeout="Infini te"
idleTimeout="In finite"
shutdownTimeout ="0:00:10"
requestLimit="I nfinite"
requestQueueLim it="5000"
restartQueueLim it="10"
...
responseDeadloc kInterval="00:1 0:00"
maxWorkerThread s="20"
maxIoThreads="2 0"
...

These are the same as the development machine. There areno other applications competing for resources on the
production server. The development machine returns the
page in 1 s or less, so if the deadlock interval is set
to 10, is it likely that this is what is happening?

Adam
-----Original Message-----
You may have a performance bottleneck that is causing

this. If a Request
takes too long to process, a deadlock will be suspected,
and the process
will recycle.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"adam" <ad**@twv.org > wrote in message
news:02***** *************** ********@phx.gb l...
Hi

I Have a problem with and asp.net application

recycling.
ON the development machines it works fine, but on the
clients machine it keeps recycling.

When some users access the app, the browser returns a
Server Application Unavailable message. In the event

log
there is an error

aspnet_wp.exe (PID: xxxx) stopped unexpectedly.

Other users are able to access it fine to do the same
things. Some users can access it from some client
machines, but not others.

I think this means it is recycling itself, but I do
not know why this should be. There is plenty of unused

memory
on the server. I have no reason to believe that

thereis
a deadlock situation, although I am not sure how to
confirm this.

The server is running Win2k, with version 1.1 of the
framework.

Where should I go next?
.

.

.

Nov 18 '05 #6
try using ProcessModelInf o class and ProcessInfo class
this is what they look like. You can query them on application start to log
the reason for the shutdown...

public class ProcessModelInf o
{
public static ProcessInfo GetCurrentProce ssInfo();
public static ProcessInfo[] GetHistory(int num);
}

public class ProcessInfo
{
public TimeSpan Age { get; }
public int PeakMemoryUsed { get; }
public int ProcessID { get; }
public int RequestCount {get; }
public ProcessShutDown Reason ShutdownReason { get; }
public DateTime StateTime { get; }
public ProcessStatus Status { get; }
}
--
Regards,

HD

Once a Geek.... Always a Geek
"adam" <ad**@twv.org > wrote in message
news:04******** *************** *****@phx.gbl.. .
Thanks again,

but both machines are configured to store state in
process.

Adam
-----Original Message-----
Adam,
Have your session state settings changed between
environments ? I've encountered this problem when adding
objects to session that were not marked as [Serializable
()]. My development machine was storing session
information InProcess, while the test machine was using
SqlServer to manage session.

hth
Barry
-----Original Message-----
Thanks, but I am no further forward with this.
The settings in the processModel element of
machine.confi g are

enable="tru e"
timeout="Infini te"
idleTimeout="In finite"
shutdownTimeout ="0:00:10"
requestLimit="I nfinite"
requestQueueLim it="5000"
restartQueueLim it="10"
...
responseDeadloc kInterval="00:1 0:00"
maxWorkerThread s="20"
maxIoThreads="2 0"
...

These are the same as the development machine. There areno other applications competing for resources on the
production server. The development machine returns the
page in 1 s or less, so if the deadlock interval is set
to 10, is it likely that this is what is happening?

Adam
-----Original Message-----
You may have a performance bottleneck that is causing
this. If a Request
takes too long to process, a deadlock will be suspected,and the process
will recycle.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"adam" <ad**@twv.org > wrote in message
news:02***** *************** ********@phx.gb l...
> Hi
>
> I Have a problem with and asp.net application
recycling.
> ON the development machines it works fine, but on the
> clients machine it keeps recycling.
>
> When some users access the app, the browser returns a
> Server Application Unavailable message. In the event
log
> there is an error
>
> aspnet_wp.exe (PID: xxxx) stopped unexpectedly.
>
> Other users are able to access it fine to do the same
> things. Some users can access it from some client
> machines, but not others.
>
> I think this means it is recycling itself, but I do not> know why this should be. There is plenty of unused
memory
> on the server. I have no reason to believe that thereis
> a deadlock situation, although I am not sure how to
> confirm this.
>
> The server is running Win2k, with version 1.1 of the
> framework.
>
> Where should I go next?
.

.

.

Nov 18 '05 #7
Adam,
Have your session state settings changed between
environments? I've encountered this problem when adding
objects to session that were not marked as [Serializable
()]. My development machine was storing session
information InProcess, while the test machine was using
SqlServer to manage session.

hth
Barry
-----Original Message-----
Thanks, but I am no further forward with this.
The settings in the processModel element of
machine.conf ig are

enable="true "
timeout="Infini te"
idleTimeout="In finite"
shutdownTimeout ="0:00:10"
requestLimit="I nfinite"
requestQueueLim it="5000"
restartQueueLim it="10"
...
responseDeadloc kInterval="00:1 0:00"
maxWorkerThread s="20"
maxIoThreads="2 0"
...

These are the same as the development machine. There are
no other applications competing for resources on the
production server. The development machine returns the
page in 1 s or less, so if the deadlock interval is set
to 10, is it likely that this is what is happening?

Adam
-----Original Message-----
You may have a performance bottleneck that is causing

this. If a Request
takes too long to process, a deadlock will be suspected,

and the process
will recycle.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"adam" <ad**@twv.org > wrote in message
news:02****** *************** *******@phx.gbl ...
Hi

I Have a problem with and asp.net applicationrecycling. ON the development machines it works fine, but on the
clients machine it keeps recycling.

When some users access the app, the browser returns a
Server Application Unavailable message. In the eventlog there is an error

aspnet_wp.exe (PID: xxxx) stopped unexpectedly.

Other users are able to access it fine to do the same
things. Some users can access it from some client
machines, but not others.

I think this means it is recycling itself, but I do not
know why this should be. There is plenty of unusedmemory on the server. I have no reason to believe that thereis a deadlock situation, although I am not sure how to
confirm this.

The server is running Win2k, with version 1.1 of the
framework.

Where should I go next?

.

.

Nov 18 '05 #8
Thanks again,

but both machines are configured to store state in
process.

Adam
-----Original Message-----
Adam,
Have your session state settings changed between
environments ? I've encountered this problem when adding
objects to session that were not marked as [Serializable
()]. My development machine was storing session
information InProcess, while the test machine was using
SqlServer to manage session.

hth
Barry
-----Original Message-----
Thanks, but I am no further forward with this.
The settings in the processModel element of
machine.confi g are

enable="tru e"
timeout="Infini te"
idleTimeout="In finite"
shutdownTimeout ="0:00:10"
requestLimit="I nfinite"
requestQueueLim it="5000"
restartQueueLim it="10"
...
responseDeadloc kInterval="00:1 0:00"
maxWorkerThread s="20"
maxIoThreads="2 0"
...

These are the same as the development machine. There areno other applications competing for resources on the
production server. The development machine returns the
page in 1 s or less, so if the deadlock interval is set
to 10, is it likely that this is what is happening?

Adam
-----Original Message-----
You may have a performance bottleneck that is causing

this. If a Request
takes too long to process, a deadlock will be suspected,
and the process
will recycle.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"adam" <ad**@twv.org > wrote in message
news:02***** *************** ********@phx.gb l...
Hi

I Have a problem with and asp.net application

recycling.
ON the development machines it works fine, but on the
clients machine it keeps recycling.

When some users access the app, the browser returns a
Server Application Unavailable message. In the event

log
there is an error

aspnet_wp.exe (PID: xxxx) stopped unexpectedly.

Other users are able to access it fine to do the same
things. Some users can access it from some client
machines, but not others.

I think this means it is recycling itself, but I do
not know why this should be. There is plenty of unused

memory
on the server. I have no reason to believe that

thereis
a deadlock situation, although I am not sure how to
confirm this.

The server is running Win2k, with version 1.1 of the
framework.

Where should I go next?
.

.

.

Nov 18 '05 #9
try using ProcessModelInf o class and ProcessInfo class
this is what they look like. You can query them on application start to log
the reason for the shutdown...

public class ProcessModelInf o
{
public static ProcessInfo GetCurrentProce ssInfo();
public static ProcessInfo[] GetHistory(int num);
}

public class ProcessInfo
{
public TimeSpan Age { get; }
public int PeakMemoryUsed { get; }
public int ProcessID { get; }
public int RequestCount {get; }
public ProcessShutDown Reason ShutdownReason { get; }
public DateTime StateTime { get; }
public ProcessStatus Status { get; }
}
--
Regards,

HD

Once a Geek.... Always a Geek
"adam" <ad**@twv.org > wrote in message
news:04******** *************** *****@phx.gbl.. .
Thanks again,

but both machines are configured to store state in
process.

Adam
-----Original Message-----
Adam,
Have your session state settings changed between
environments ? I've encountered this problem when adding
objects to session that were not marked as [Serializable
()]. My development machine was storing session
information InProcess, while the test machine was using
SqlServer to manage session.

hth
Barry
-----Original Message-----
Thanks, but I am no further forward with this.
The settings in the processModel element of
machine.confi g are

enable="tru e"
timeout="Infini te"
idleTimeout="In finite"
shutdownTimeout ="0:00:10"
requestLimit="I nfinite"
requestQueueLim it="5000"
restartQueueLim it="10"
...
responseDeadloc kInterval="00:1 0:00"
maxWorkerThread s="20"
maxIoThreads="2 0"
...

These are the same as the development machine. There areno other applications competing for resources on the
production server. The development machine returns the
page in 1 s or less, so if the deadlock interval is set
to 10, is it likely that this is what is happening?

Adam
-----Original Message-----
You may have a performance bottleneck that is causing
this. If a Request
takes too long to process, a deadlock will be suspected,and the process
will recycle.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"adam" <ad**@twv.org > wrote in message
news:02***** *************** ********@phx.gb l...
> Hi
>
> I Have a problem with and asp.net application
recycling.
> ON the development machines it works fine, but on the
> clients machine it keeps recycling.
>
> When some users access the app, the browser returns a
> Server Application Unavailable message. In the event
log
> there is an error
>
> aspnet_wp.exe (PID: xxxx) stopped unexpectedly.
>
> Other users are able to access it fine to do the same
> things. Some users can access it from some client
> machines, but not others.
>
> I think this means it is recycling itself, but I do not> know why this should be. There is plenty of unused
memory
> on the server. I have no reason to believe that thereis
> a deadlock situation, although I am not sure how to
> confirm this.
>
> The server is running Win2k, with version 1.1 of the
> framework.
>
> Where should I go next?
.

.

.

Nov 18 '05 #10

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

Similar topics

0
1064
by: Troy | last post by:
Hi When setting recycling parameters, I assume that if a process spawns the COM+ component at the same time that the component recycles - that the process is not lost - that is, it carries on in its processing. I am processing XML messages with this component and need to ensure that the message will not be lost. Also, I also make an assumption that the 2 recycling parameters can be set: Lifetime limit = 1440 mins Activation Limit = 1000...
6
2937
by: Marios | last post by:
Hi, I want to have in a application i have created the feature of application recycling, similar to the aspnet_wp, and the new COM+ service. The reason i want to do this is because of being able to set limits to the memory usage my app can consume, and recycling it when it exceeds this limit. What I have done so far, is to create an application domain, in which all the objects i use are created, and by defining a certain number of...
0
2339
by: Trevor Andrew | last post by:
Hi There, I have posted something previously regarding this issue, but I think I have some more concise questions to ask, and would like to get further feedback on this issue. Firstly the background. I have a small ASP.NET application under development. I'm using VS 2002 with Framework 1.1. One of the pages is a "resources" page that contains a list-box of various RSS feeds I am interested in surveying. As you select the different RSS...
3
4308
by: Grinninger | last post by:
Hello, I am using ASP.NET, C# under W2K. I try to keep some important information in application- and session-state Objects. With the recycling of the ASPNet_WP.EXE my application- and session-state Objects get lost. Therfore I have some questions: -) Is it usual that the ASPNet_WP.EXE becomes recycled twice a day? -) What is the expected recyclingperiod for the ASPNet_WP.EXE ?
6
2127
by: mark | last post by:
Just wondering if anyone has aspnet process recycling set up in any production environments. Our worker process memory gets out of control after being up for about a day or so and we were thinking about setting up some thresholds on memory usage. Any experiences using this would be greatly appreciated. thanks
3
2251
by: Ricky Chan | last post by:
I am using Windows2003 server with IIS6. I tried to set the maximum used memory to 50M However, the process is not recycled when the w3wp process exceed 50m memory according to task manager. besides, what is the difference between memory limit in machine.config and IIS memory recycling.. I need to set both, or set any one?
6
4461
by: Wayne Smith | last post by:
Hi, We are having a few problems with ASP.Net pages hanging during load when an Application Pool is recycled. To test this we have setup the following ASP.net page which refreshes every 2 seconds: <%@ Page language="c#" %> <%@ Import Namespace="System" %> <%@ Import Namespace="System.IO" %>
5
3186
by: Ed | last post by:
I have some questions in regards to Session variables and IIS Recycling: 1. Does the IIS setting 'Shutdown worker process after being idle' affect an application's session variables? Or is IIS checking that all sessions are done before shutting down the worker processes? 2. Does the Recycle worker processes setting kill all session variables of
5
2229
by: Tony | last post by:
Hi all, Here's the link to the issue we were seeing on our ASP.NET system when modifying, adding and deleting directories in framework 2.0. http://blogs.msdn.com/toddca/archive/2005/12/01/499144.aspx I then tried a few of solution I found while perusing Google, - FCNMode registry mod - Relocating to App_Data folder to create/modify/delete directories.
0
9656
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
9498
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
10364
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10172
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8993
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...
0
5398
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...
1
4069
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
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.