|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
IIS 6.0 Event 1074When 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. 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. -- Show quoteHide quoteHTH, Kevin Spencer Microsoft MVP ..Net Developer Ambiguity has a certain quality to it. "André" <A***@discussions.microsoft.com> wrote in message news:082A997E-4078-40AF-926C-7D13063CB3E7@microsoft.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? Show quoteHide quote "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é" <A***@discussions.microsoft.com> wrote in message > news:082A997E-4078-40AF-926C-7D13063CB3E7@microsoft.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. -- Show quoteHide quoteHTH, Kevin Spencer Microsoft MVP ..Net Developer Ambiguity has a certain quality to it. "André" <A***@discussions.microsoft.com> wrote in message news:98CF9954-2903-4A1A-B788-BA5E8D1D501A@microsoft.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é" <A***@discussions.microsoft.com> wrote in message >> news:082A997E-4078-40AF-926C-7D13063CB3E7@microsoft.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 Show quoteHide quote "André" <A***@discussions.microsoft.com> wrote in message news:98CF9954-2903-4A1A-B788-BA5E8D1D501A@microsoft.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é" <A***@discussions.microsoft.com> wrote in message : > news:082A997E-4078-40AF-926C-7D13063CB3E7@microsoft.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. -- Show quoteHide quoteHTH, Kevin Spencer Microsoft MVP ..Net Developer Ambiguity has a certain quality to it. "André" <A***@discussions.microsoft.com> wrote in message news:98CF9954-2903-4A1A-B788-BA5E8D1D501A@microsoft.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é" <A***@discussions.microsoft.com> wrote in message >> news:082A997E-4078-40AF-926C-7D13063CB3E7@microsoft.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.
Other interesting topics
SqlDataSource - strange error (to me at least) ;-)
javascript call ViewState got confused between two user controls in same parent ct NullReferenceException for System.Data.SQLClient getvalue from user control Set Label Font? Menues with v1.1? HTML mail does not work? Which account neets permission to read the Registry key. SKMMenu and SSL |
|||||||||||||||||||||||