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. 6 5735
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**@discussio ns.microsoft.co m> wrote in message
news:08******** *************** ***********@mic rosoft.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.
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**@discussio ns.microsoft.co m> wrote in message news:08******** *************** ***********@mic rosoft.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.
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**@discussio ns.microsoft.co m> wrote in message
news:98******** *************** ***********@mic rosoft.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**@discussio ns.microsoft.co m> wrote in message news:08******** *************** ***********@mic rosoft.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. >
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**@discussio ns.microsoft.co m> wrote in message
news:98******** *************** ***********@mic rosoft.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**@discussio ns.microsoft.co m> wrote in message
: > news:08******** *************** ***********@mic rosoft.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.
: > >
: >
: >
: >
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**@discussio ns.microsoft.co m> wrote in message
news:98******** *************** ***********@mic rosoft.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**@discussio ns.microsoft.co m> wrote in message news:08******** *************** ***********@mic rosoft.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. >
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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
|
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 that applies to all these
events, but I need to have specific code execute when the form closes. The
properties for this method are sender (the originator) and e (event
arguments). I know how to get typeof (sender) to determine what form or...
|
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
uses message queues to pass pointers to Events between threads. In my app
there are simple events that can be defined using an enum (for example an
event called NETWORK_TIMEOUT) and more complex events that contain data
(for example an event called...
|
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 following issues still exist.
The article shows how to find methods on a receiver that match the pattern
OnXXXX given the sender. It loops through the sender events and tries to get
methods from the receiver that match the pattern. For each one...
|
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.
However in vb.net you get continual messages (even setting the system
modal property).
Firstly, are these two assumptions right and if so what is the approved
| |
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 on some
initialization information obtained elsewhere. Basically, I'm going to
create my own dynamic toolbar where the toolbarbuttons can change. I'm not
using the VB toolbar because of limitations in changing things like
backcolor (I can't get...
|
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 post event
will always execuate after the system is completed...
- I want to wrap this functionality in a framework, so I could possibly have
3 or 4 levels of inherited objects that need to have these pre / post events
executed before and after the...
|
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 DataGrid1_PageIndexChanged(object source,
System.Web.UI.WebControls.DataGridPageChangedEventArgs e)
|
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 ID 1074, indicating that the
worker process ran out of it time and restarted. My understanding is that a
recyle is a normal scheduled event and as such, it does not appear in the
log. And surely, if it did, we woudl have seen 700 or so.
So why...
|
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...
|
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,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
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();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |