473,405 Members | 2,282 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,405 software developers and data experts.

IIS 6.0 Event 1074

Hi, I’m using win server 2003 and IIS 6.0, C# 1.1
When I check in my Event View under system, I see this Information Log:

A worker process with process id of 'xxx' serving application pool ‘xxx’ has
requested a recycle because the worker process reached its allowed processing
time limit.

Source: W3SVC
Event: 1074

I have my Recycle Worker Processes (in minutes) to recycle every 120 min and
process in 35000.

It seems like, almost every 2 hours I get this Information log, and it also
seem like my session states starts over too.

Why do I get this Information log almost every 2 hours and not every 2
hours? And when I see this, is this bad?

What does this log file really mean? And should I change my settings to have
IIS recycle more often or even change my code in my aspx page.

I had to turn off Enable Rapid-fail Protection, I was getting page could not
displayed.

My current settings on IIS are All the default settings except Recycle
worker processes 120 min, Recycle worker processes 35000. Memory Recycle max
virtual 500 max used memory 192

Thanks for the help.

Nov 19 '05 #1
6 5716
There is a setting in IIS6 which specifies to recycle the worker process
after a set time or an allowed processing limit.

You need to look under Application pools in IIS manager to find the relevant
application pool, click properties you should then be able to see exactly
why this is happening.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.

"André" <An**@discussions.microsoft.com> wrote in message
news:08**********************************@microsof t.com...
Hi, I'm using win server 2003 and IIS 6.0, C# 1.1
When I check in my Event View under system, I see this Information Log:

A worker process with process id of 'xxx' serving application pool 'xxx'
has
requested a recycle because the worker process reached its allowed
processing
time limit.

Source: W3SVC
Event: 1074

I have my Recycle Worker Processes (in minutes) to recycle every 120 min
and
process in 35000.

It seems like, almost every 2 hours I get this Information log, and it
also
seem like my session states starts over too.

Why do I get this Information log almost every 2 hours and not every 2
hours? And when I see this, is this bad?

What does this log file really mean? And should I change my settings to
have
IIS recycle more often or even change my code in my aspx page.

I had to turn off Enable Rapid-fail Protection, I was getting page could
not
displayed.

My current settings on IIS are All the default settings except Recycle
worker processes 120 min, Recycle worker processes 35000. Memory Recycle
max
virtual 500 max used memory 192

Thanks for the help.

Nov 19 '05 #2
That is where I changed the settings, but per MS web page, it’s supposed to
be overlapping. The session shouldn't be timing out right? Yes I have the
settings for each 120 min, just like the log shows, but, why is it only
sometimes every 120 min, and not each and every 120 min. Is this because
maybe no one is using the web page?

When I see this log in the Event viewer, is this a bad message, or just an
fyi telling me it did?

"Kevin Spencer" wrote:
There is a setting in IIS6 which specifies to recycle the worker process
after a set time or an allowed processing limit.

You need to look under Application pools in IIS manager to find the relevant
application pool, click properties you should then be able to see exactly
why this is happening.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.

"André" <An**@discussions.microsoft.com> wrote in message
news:08**********************************@microsof t.com...
Hi, I'm using win server 2003 and IIS 6.0, C# 1.1
When I check in my Event View under system, I see this Information Log:

A worker process with process id of 'xxx' serving application pool 'xxx'
has
requested a recycle because the worker process reached its allowed
processing
time limit.

Source: W3SVC
Event: 1074

I have my Recycle Worker Processes (in minutes) to recycle every 120 min
and
process in 35000.

It seems like, almost every 2 hours I get this Information log, and it
also
seem like my session states starts over too.

Why do I get this Information log almost every 2 hours and not every 2
hours? And when I see this, is this bad?

What does this log file really mean? And should I change my settings to
have
IIS recycle more often or even change my code in my aspx page.

I had to turn off Enable Rapid-fail Protection, I was getting page could
not
displayed.

My current settings on IIS are All the default settings except Recycle
worker processes 120 min, Recycle worker processes 35000. Memory Recycle
max
virtual 500 max used memory 192

Thanks for the help.


Nov 19 '05 #3
An ASP.Net application shuts down after an interval with no requests from
any client. This is similar to the way Sessions end, but is for the
Application.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.

"André" <An**@discussions.microsoft.com> wrote in message
news:98**********************************@microsof t.com...
That is where I changed the settings, but per MS web page, it's supposed
to
be overlapping. The session shouldn't be timing out right? Yes I have the
settings for each 120 min, just like the log shows, but, why is it only
sometimes every 120 min, and not each and every 120 min. Is this because
maybe no one is using the web page?

When I see this log in the Event viewer, is this a bad message, or just an
fyi telling me it did?

"Kevin Spencer" wrote:
There is a setting in IIS6 which specifies to recycle the worker process
after a set time or an allowed processing limit.

You need to look under Application pools in IIS manager to find the
relevant
application pool, click properties you should then be able to see exactly
why this is happening.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.

"André" <An**@discussions.microsoft.com> wrote in message
news:08**********************************@microsof t.com...
> Hi, I'm using win server 2003 and IIS 6.0, C# 1.1
> When I check in my Event View under system, I see this Information Log:
>
> A worker process with process id of 'xxx' serving application pool
> 'xxx'
> has
> requested a recycle because the worker process reached its allowed
> processing
> time limit.
>
> Source: W3SVC
> Event: 1074
>
> I have my Recycle Worker Processes (in minutes) to recycle every 120
> min
> and
> process in 35000.
>
> It seems like, almost every 2 hours I get this Information log, and it
> also
> seem like my session states starts over too.
>
> Why do I get this Information log almost every 2 hours and not every 2
> hours? And when I see this, is this bad?
>
> What does this log file really mean? And should I change my settings to
> have
> IIS recycle more often or even change my code in my aspx page.
>
> I had to turn off Enable Rapid-fail Protection, I was getting page
> could
> not
> displayed.
>
> My current settings on IIS are All the default settings except Recycle
> worker processes 120 min, Recycle worker processes 35000. Memory
> Recycle
> max
> virtual 500 max used memory 192
>
> Thanks for the help.
>


Nov 19 '05 #4
You asked previously why you were losing session state:

Unless you are using out-of-process session state maintenance (via Session
State service or SQL
Server), you will lose your session state when the process is recycled.
Recycling the process results in a new w3wp.exe, and the new w3wp.exe
doesn't have access to any of the session state stored "in process" in the
old w3wp.exe

Cheers
Ken

"André" <An**@discussions.microsoft.com> wrote in message
news:98**********************************@microsof t.com...
: That is where I changed the settings, but per MS web page, it's supposed
to
: be overlapping. The session shouldn't be timing out right? Yes I have the
: settings for each 120 min, just like the log shows, but, why is it only
: sometimes every 120 min, and not each and every 120 min. Is this because
: maybe no one is using the web page?
:
: When I see this log in the Event viewer, is this a bad message, or just an
: fyi telling me it did?
:
:
:
: "Kevin Spencer" wrote:
:
: > There is a setting in IIS6 which specifies to recycle the worker process
: > after a set time or an allowed processing limit.
: >
: > You need to look under Application pools in IIS manager to find the
relevant
: > application pool, click properties you should then be able to see
exactly
: > why this is happening.
: >
: > --
: > HTH,
: >
: > Kevin Spencer
: > Microsoft MVP
: > ..Net Developer
: > Ambiguity has a certain quality to it.
: >
: > "André" <An**@discussions.microsoft.com> wrote in message
: > news:08**********************************@microsof t.com...
: > > Hi, I'm using win server 2003 and IIS 6.0, C# 1.1
: > > When I check in my Event View under system, I see this Information
Log:
: > >
: > > A worker process with process id of 'xxx' serving application pool
'xxx'
: > > has
: > > requested a recycle because the worker process reached its allowed
: > > processing
: > > time limit.
: > >
: > > Source: W3SVC
: > > Event: 1074
: > >
: > > I have my Recycle Worker Processes (in minutes) to recycle every 120
min
: > > and
: > > process in 35000.
: > >
: > > It seems like, almost every 2 hours I get this Information log, and it
: > > also
: > > seem like my session states starts over too.
: > >
: > > Why do I get this Information log almost every 2 hours and not every 2
: > > hours? And when I see this, is this bad?
: > >
: > > What does this log file really mean? And should I change my settings
to
: > > have
: > > IIS recycle more often or even change my code in my aspx page.
: > >
: > > I had to turn off Enable Rapid-fail Protection, I was getting page
could
: > > not
: > > displayed.
: > >
: > > My current settings on IIS are All the default settings except Recycle
: > > worker processes 120 min, Recycle worker processes 35000. Memory
Recycle
: > > max
: > > virtual 500 max used memory 192
: > >
: > > Thanks for the help.
: > >
: >
: >
: >
Nov 19 '05 #5
Let me be a bit more specific. There are 2 possible locations for the
Appliction Idle Timeout to be set. One is in the IIS Metabase (Application
Pool Properties, Performance tab), and one is in the machine.config file,
the <processModel> element. The default setting in the <processModel>
section of the machine.config file is "Infinite," but the default setting in
the IIS Metabase is 20 minutes.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.

"André" <An**@discussions.microsoft.com> wrote in message
news:98**********************************@microsof t.com...
That is where I changed the settings, but per MS web page, it's supposed
to
be overlapping. The session shouldn't be timing out right? Yes I have the
settings for each 120 min, just like the log shows, but, why is it only
sometimes every 120 min, and not each and every 120 min. Is this because
maybe no one is using the web page?

When I see this log in the Event viewer, is this a bad message, or just an
fyi telling me it did?

"Kevin Spencer" wrote:
There is a setting in IIS6 which specifies to recycle the worker process
after a set time or an allowed processing limit.

You need to look under Application pools in IIS manager to find the
relevant
application pool, click properties you should then be able to see exactly
why this is happening.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.

"André" <An**@discussions.microsoft.com> wrote in message
news:08**********************************@microsof t.com...
> Hi, I'm using win server 2003 and IIS 6.0, C# 1.1
> When I check in my Event View under system, I see this Information Log:
>
> A worker process with process id of 'xxx' serving application pool
> 'xxx'
> has
> requested a recycle because the worker process reached its allowed
> processing
> time limit.
>
> Source: W3SVC
> Event: 1074
>
> I have my Recycle Worker Processes (in minutes) to recycle every 120
> min
> and
> process in 35000.
>
> It seems like, almost every 2 hours I get this Information log, and it
> also
> seem like my session states starts over too.
>
> Why do I get this Information log almost every 2 hours and not every 2
> hours? And when I see this, is this bad?
>
> What does this log file really mean? And should I change my settings to
> have
> IIS recycle more often or even change my code in my aspx page.
>
> I had to turn off Enable Rapid-fail Protection, I was getting page
> could
> not
> displayed.
>
> My current settings on IIS are All the default settings except Recycle
> worker processes 120 min, Recycle worker processes 35000. Memory
> Recycle
> max
> virtual 500 max used memory 192
>
> Thanks for the help.
>


Nov 19 '05 #6
Thanks Ken/Kevin,

Can you all tell me what settings I should have for my App Pool.

When I was using the default settings I was getting page could not be
displayed every few days. So I turned off Rapid Fail Protection and moved
this page on its own pool.

After I did that, I then received errors saying I was out of memory. I think
IIS used about 1800 megs out of 4 G. I changed the Recovery worker processes
to 120 min. And changed the max used memory to 1100 megs.

I think I’m going to have to change the Recovery worker processes to run
each night. I do not want the users to loose their session state and I’m not
ready to move it to a SQL server.

Please let me know if you all have any ideas.

Nov 19 '05 #7

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

Similar topics

0
by: Andy Read | last post by:
Hello all, I have the requirement to produce source code that produces an object hierarchy. Example: Root | Folder 1
18
by: Christopher W. Douglas | last post by:
I am writing a VB.NET application in Visual Studio 2003. I have written a method that handles several events, such as closing a form and changing the visible status of a form. I have some code...
8
by: Mark | last post by:
Hi, I'm looking for some ideas on how to build a very simple Event processing framework in my C++ app. Here is a quick background ... I'm building a multithreaded app in C++ (on Linux) that...
13
by: Charles Law | last post by:
Mr "yEaH rIgHt" posted the following link about a week ago in answer to my question about removing event handlers. > http://www.vbinfozine.com/t_bindevt.shtml Following on from that post, the...
12
by: Jack Russell | last post by:
My unstanding of all VB up to and including vb6 is that an event could not "interrupt" itself. For instance if you had a timer event containing a msgbox then you would only get one message. ...
41
by: JohnR | last post by:
In it's simplest form, assume that I have created a usercontrol, WSToolBarButton that contains a button. I would like to eventually create copies of WSToolBarButton dynamically at run time based...
9
by: jeff | last post by:
New VB user...developer... Situation...simplified... - I want to wrap a pre and post event around a system generated where the pre-event will always execute before the system event and the...
19
by: Daniela Roman | last post by:
Hello, I try to fire an event under a button click event and maybe anybody can give a clue please. I have let's say a WEB grid with PageIndexChanged event: private void...
0
by: David | last post by:
Hi We have a 2003 server running several NET 1.1 apps. The worker process recycle was left at the defualt 29 hours (1740 mins). Over the past two years, there have been approx 15 logs of Event...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...
0
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...

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.