473,326 Members | 2,111 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.

Worker Process recycling

There are lots of reasons that the WPs can be recycled or killed.

When a WP is recycled, all the InProc sesssion data is lost correct?
Is there any way to a) find out WHY the recycle happened e.g. failed
requests, memory leak, scheduled recycle, lack of requests etc b)
programmatically get a notification that a recycle is going to occurr
to notify the user that their session data is about to be lost,
allowing them to save their work.

Thanks! Thats if for today :)

Nov 19 '05 #1
5 1352
Generally the machine's event log will contain information about why
the process shut down.

It's impossible to reach the client machine from the server machine to
warn the user that the worker process is going to terminate. The
server and client remain disconnected 99% of the time.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On 11 Feb 2005 09:42:04 -0800, "cmay" <cm**@walshgroup.com> wrote:
There are lots of reasons that the WPs can be recycled or killed.

When a WP is recycled, all the InProc sesssion data is lost correct?
Is there any way to a) find out WHY the recycle happened e.g. failed
requests, memory leak, scheduled recycle, lack of requests etc b)
programmatically get a notification that a recycle is going to occurr
to notify the user that their session data is about to be lost,
allowing them to save their work.

Thanks! Thats if for today :)


Nov 19 '05 #2
Excellent. We had so much junk in the eventlog (a program that should
have been uninstalled...) I didn't even notice.

I have already built a framework for notifying users of pending changes
to the server. Our pages have script that call back to the server
every 5 minutes, checking for messages. So, for example, if we need to
down a server for whatever reason, we can notify everyone who is using
the server within 5 minutes. So we just tell them the server is going
to be taking offline at a specific time and we don't get all the calls
from people who filled out a ton of into on some form only for the
submission to fail.

I was thinking if I could get a warning that the WP was about to
recycle, I could warn the user in this manner. Alternatively, I think
if I tried to schedule the WP to recycle every night at like 3AM, I
could just have a standing rule to tell anyone logged into the server
at 2:50 AM that they should save their data.


Scott Allen wrote:
Generally the machine's event log will contain information about why
the process shut down.

It's impossible to reach the client machine from the server machine to warn the user that the worker process is going to terminate. The
server and client remain disconnected 99% of the time.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On 11 Feb 2005 09:42:04 -0800, "cmay" <cm**@walshgroup.com> wrote:
There are lots of reasons that the WPs can be recycled or killed.

When a WP is recycled, all the InProc sesssion data is lost correct?
Is there any way to a) find out WHY the recycle happened e.g. failed
requests, memory leak, scheduled recycle, lack of requests etc b)
programmatically get a notification that a recycle is going to occurrto notify the user that their session data is about to be lost,
allowing them to save their work.

Thanks! Thats if for today :)


Nov 19 '05 #3
Excellent. We had so much junk in the eventlog (a program that should
have been uninstalled...) I didn't even notice.

I have already built a framework for notifying users of pending changes
to the server. Our pages have script that call back to the server
every 5 minutes, checking for messages. So, for example, if we need to
down a server for whatever reason, we can notify everyone who is using
the server within 5 minutes. So we just tell them the server is going
to be taking offline at a specific time and we don't get all the calls
from people who filled out a ton of into on some form only for the
submission to fail.

I was thinking if I could get a warning that the WP was about to
recycle, I could warn the user in this manner. Alternatively, I think
if I tried to schedule the WP to recycle every night at like 3AM, I
could just have a standing rule to tell anyone logged into the server
at 2:50 AM that they should save their data.


Scott Allen wrote:
Generally the machine's event log will contain information about why
the process shut down.

It's impossible to reach the client machine from the server machine to warn the user that the worker process is going to terminate. The
server and client remain disconnected 99% of the time.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On 11 Feb 2005 09:42:04 -0800, "cmay" <cm**@walshgroup.com> wrote:
There are lots of reasons that the WPs can be recycled or killed.

When a WP is recycled, all the InProc sesssion data is lost correct?
Is there any way to a) find out WHY the recycle happened e.g. failed
requests, memory leak, scheduled recycle, lack of requests etc b)
programmatically get a notification that a recycle is going to occurrto notify the user that their session data is about to be lost,
allowing them to save their work.

Thanks! Thats if for today :)


Nov 19 '05 #4
On 14 Feb 2005 12:01:01 -0800, "cmay" <cm**@walshgroup.com> wrote:
Excellent. We had so much junk in the eventlog (a program that should
have been uninstalled...) I didn't even notice.

Glad to be of help.
I have already built a framework for notifying users of pending changes
to the server. Our pages have script that call back to the server
every 5 minutes, checking for messages. So, for example, if we need to
down a server for whatever reason, we can notify everyone who is using
the server within 5 minutes. So we just tell them the server is going
to be taking offline at a specific time and we don't get all the calls
from people who filled out a ton of into on some form only for the
submission to fail.

That sounds very cool.
I was thinking if I could get a warning that the WP was about to
recycle, I could warn the user in this manner. Alternatively, I think
if I tried to schedule the WP to recycle every night at like 3AM, I
could just have a standing rule to tell anyone logged into the server
at 2:50 AM that they should save their data.


Unfortunately I think there is very little time between the
Application_End event and the actual recycle that it might not be time
to notify users properly.

--
Scott
http://www.OdeToCode.com/blogs/scott/


Scott Allen wrote:
Generally the machine's event log will contain information about why
the process shut down.

It's impossible to reach the client machine from the server machine

to
warn the user that the worker process is going to terminate. The
server and client remain disconnected 99% of the time.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On 11 Feb 2005 09:42:04 -0800, "cmay" <cm**@walshgroup.com> wrote:
>There are lots of reasons that the WPs can be recycled or killed.
>
>When a WP is recycled, all the InProc sesssion data is lost correct?
>Is there any way to a) find out WHY the recycle happened e.g. failed
>requests, memory leak, scheduled recycle, lack of requests etc b)
>programmatically get a notification that a recycle is going tooccurr >to notify the user that their session data is about to be lost,
>allowing them to save their work.
>
>Thanks! Thats if for today :)


Nov 19 '05 #5
On 14 Feb 2005 12:01:01 -0800, "cmay" <cm**@walshgroup.com> wrote:
Excellent. We had so much junk in the eventlog (a program that should
have been uninstalled...) I didn't even notice.

Glad to be of help.
I have already built a framework for notifying users of pending changes
to the server. Our pages have script that call back to the server
every 5 minutes, checking for messages. So, for example, if we need to
down a server for whatever reason, we can notify everyone who is using
the server within 5 minutes. So we just tell them the server is going
to be taking offline at a specific time and we don't get all the calls
from people who filled out a ton of into on some form only for the
submission to fail.

That sounds very cool.
I was thinking if I could get a warning that the WP was about to
recycle, I could warn the user in this manner. Alternatively, I think
if I tried to schedule the WP to recycle every night at like 3AM, I
could just have a standing rule to tell anyone logged into the server
at 2:50 AM that they should save their data.


Unfortunately I think there is very little time between the
Application_End event and the actual recycle that it might not be time
to notify users properly.

--
Scott
http://www.OdeToCode.com/blogs/scott/


Scott Allen wrote:
Generally the machine's event log will contain information about why
the process shut down.

It's impossible to reach the client machine from the server machine

to
warn the user that the worker process is going to terminate. The
server and client remain disconnected 99% of the time.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On 11 Feb 2005 09:42:04 -0800, "cmay" <cm**@walshgroup.com> wrote:
>There are lots of reasons that the WPs can be recycled or killed.
>
>When a WP is recycled, all the InProc sesssion data is lost correct?
>Is there any way to a) find out WHY the recycle happened e.g. failed
>requests, memory leak, scheduled recycle, lack of requests etc b)
>programmatically get a notification that a recycle is going tooccurr >to notify the user that their session data is about to be lost,
>allowing them to save their work.
>
>Thanks! Thats if for today :)


Nov 19 '05 #6

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

Similar topics

3
by: Trevor Andrew | last post by:
Hi There, I have a small ASP.NET application under development. I am using VS.NET 2002 (2003 upgrade is on the way) with .NET Framework 1.1. It is hosted on a web hosting service in the US. I am...
0
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...
5
by: Adam | last post by:
I have been having a problem where two aspnet_wp are starting when I view a web page I made. This has just started happening. If anyone has had a problem like this I would like to know why this...
0
by: Henry Chen | last post by:
Hi all, I would like to know the side effect if I am going to change the worker process and use the proactive process recycling. I mean what could be the problem if I change the settings such as...
6
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...
2
by: John | last post by:
Is the only criteria for worker process recycle 60% physical memory usage?? (I'm on W2K, default setup - I know you can change it in machine.config). Because if so, when using SQL Server on the...
2
by: Jeremy S. | last post by:
Just wondering if/how a sliding Cache expiration interacts with Application Pool Worker Process Recycling. Specifically, if I were to place some value into the Cache object with a sliding window...
3
by: Marcel van den Hof | last post by:
Dear all, Is there any way to prevent the ASP.NET worker process from recycling the worker process when a thread is being executed on the foreground (IsBackground=false). I'd also like to...
1
by: Pablo Bianco SE | last post by:
Hi everyone, I am new in this group. I have a question and would like to have some support. A customer is experiencing memory problems with the asp.net worker process. The have an application...
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...
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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.