IIS 6.0 Event 1074

G

Guest

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.
 
K

Kevin Spencer

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.
 
G

Guest

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?
 
K

Kevin Spencer

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.
 
K

Ken Schaefer

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

: 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.
: >
: > : > > 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.
: > >
: >
: >
: >
 
K

Kevin Spencer

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.
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,067
Latest member
HunterTere

Latest Threads

Top