Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Application pool idle timeout in IIS 5.1

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Related Topics:
Idle Timeout - We are running IIS 6.0 on Windows 2003 Standard Edition server. How do you set the idle timeout when there is no client Thanks.

Idle Timeout disabled, still times out - Using IIS6 on Win2k3, no IIS5 mode. I have a large ASP.NET with a startup time of 5-10 seconds, and I want to eliminate any and all idle We use SQL State Server and the web servers are NLB'ed. I have created a..

FTP idle connections get reset before timeout - I have a Windows 2003 Standard Server. When I connect via FTP, if I remain idle for a minute and a half to 2 minutes, my gets (though my server thinks I am still My timeout is set to 300 seconds and it..

Application pool identity - What exactly is the purpose of IIS 6's pools to run under user accounts different from It doesn't seem to have any impact on ASP pages, as they are always executed under the user account which is

Application Pool Limits - Hi, I have a web server that hosts more than 200 websites and has about 200 under Default Pool. Since last few weeks I have noticed that the Default Pool is not properly during Worker process
Next:  IIS: Problem IIS IE7 login dialog  
Author Message
Alain Quesnel

External


Since: Dec 06, 2007
Posts: 6



(Msg. 1) Posted: Mon Jan 14, 2008 12:52 pm
Post subject: Application pool idle timeout in IIS 5.1
Archived from groups: microsoft>public>inetserver>iis (more info?)

In IIS 6.0, I can set the Application pool idle timeout in the Application
Pool properties window ("Shutdown worker processes after being idle for" n
minutes, the default being 20 minutes). Is there a way to do something
similar in IIS 5.1?

--
Thank you,

Alain Quesnel
alainsansspam DeleteThis @logiquel.com

www.logiquel.com

 >> Stay informed about: Application pool idle timeout in IIS 5.1 
Back to top
Login to vote
David Wang

External


Since: Nov 14, 2007
Posts: 358



(Msg. 2) Posted: Mon Jan 14, 2008 4:29 pm
Post subject: Re: Application pool idle timeout in IIS 5.1 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jan 14, 9:52 am, "Alain Quesnel" <alainsanss....TakeThisOut@logiquel.com>
wrote:
> In IIS 6.0, I can set the Application pool idle timeout in the Application
> Pool properties window ("Shutdown worker processes after being idle for" n
> minutes, the default being 20 minutes). Is there a way to do something
> similar in IIS 5.1?
>
> --
> Thank you,
>
> Alain Quesnel
> alainsanss....TakeThisOut@logiquel.com
>
> www.logiquel.com


No. Application Pools is a feature introduced with IIS6 and does not
exist in IIS5.1.

Closest thing on XP Pro is COM+ Application Settings, but it does not
work as you think.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//

 >> Stay informed about: Application pool idle timeout in IIS 5.1 
Back to top
Login to vote
Alain Quesnel

External


Since: Dec 06, 2007
Posts: 6



(Msg. 3) Posted: Mon Jan 14, 2008 9:19 pm
Post subject: Re: Application pool idle timeout in IIS 5.1 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Is there a way to prevent ASP/IIS 5 from "falling asleep" if there are no
requests for a while? I use Miscrosoft Reporting Services. When I open the
first report, it takes 30 to 60 seconds to come up. After that, it's much
faster (a few seconds at the most). I'm trying to find a way to keep IIS and
ASP ready to fire, so to speak.


Thank you,

Alain Quesnel
alainsansspam.DeleteThis@logiquel.com

www.logiquel.com


"David Wang" <w3.4you.DeleteThis@gmail.com> wrote in message
news:6515564b-dde7-4b4b-a676-11af77469639@e4g2000hsg.googlegroups.com...
On Jan 14, 9:52 am, "Alain Quesnel" <alainsanss....DeleteThis@logiquel.com>
wrote:
> In IIS 6.0, I can set the Application pool idle timeout in the Application
> Pool properties window ("Shutdown worker processes after being idle for" n
> minutes, the default being 20 minutes). Is there a way to do something
> similar in IIS 5.1?
>
> --
> Thank you,
>
> Alain Quesnel
> alainsanss....DeleteThis@logiquel.com
>
> www.logiquel.com


No. Application Pools is a feature introduced with IIS6 and does not
exist in IIS5.1.

Closest thing on XP Pro is COM+ Application Settings, but it does not
work as you think.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
 >> Stay informed about: Application pool idle timeout in IIS 5.1 
Back to top
Login to vote
David Wang

External


Since: Nov 14, 2007
Posts: 358



(Msg. 4) Posted: Tue Jan 15, 2008 3:30 am
Post subject: Re: Application pool idle timeout in IIS 5.1 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Are you refering to ASP or ASP.Net -- because I don't think ASP clears
its cache like that.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//




On Jan 14, 6:19 pm, "Alain Quesnel" <alainsanss... DeleteThis @logiquel.com>
wrote:
> Is there a way to prevent ASP/IIS 5 from "falling asleep" if there are no
> requests for a while? I use Miscrosoft Reporting Services. When I open the
> first report, it takes 30 to 60 seconds to come up. After that, it's much
> faster (a few seconds at the most). I'm trying to find a way to keep IIS and
> ASP ready to fire, so to speak.
>
> Thank you,
>
> Alain Quesnel
> alainsanss... DeleteThis @logiquel.com
>
> www.logiquel.com
>
> "David Wang" <w3.4... DeleteThis @gmail.com> wrote in message
>
> news:6515564b-dde7-4b4b-a676-11af77469639@e4g2000hsg.googlegroups.com...
> On Jan 14, 9:52 am, "Alain Quesnel" <alainsanss... DeleteThis @logiquel.com>
> wrote:
>
> > In IIS 6.0, I can set the Application pool idle timeout in the Application
> > Pool properties window ("Shutdown worker processes after being idle for" n
> > minutes, the default being 20 minutes). Is there a way to do something
> > similar in IIS 5.1?
>
> > --
> > Thank you,
>
> > Alain Quesnel
> > alainsanss... DeleteThis @logiquel.com
>
> >www.logiquel.com
>
> No. Application Pools is a feature introduced with IIS6 and does not
> exist in IIS5.1.
>
> Closest thing on XP Pro is COM+ Application Settings, but it does not
> work as you think.
>
> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David.Wang
> //
 >> Stay informed about: Application pool idle timeout in IIS 5.1 
Back to top
Login to vote
Alain Quesnel

External


Since: Dec 06, 2007
Posts: 6



(Msg. 5) Posted: Tue Jan 15, 2008 8:46 am
Post subject: Re: Application pool idle timeout in IIS 5.1 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I use Reporting Services 2005 SP2 (which uses ASP.NET 2.0) on XP Pro SP2
(IIS 5.1).

--
Thank you,

Alain Quesnel
alainsansspam.TakeThisOut@logiquel.com

www.logiquel.com


"David Wang" <w3.4you.TakeThisOut@gmail.com> wrote in message
news:960bf745-7e3b-48fa-a2a6-4a143792fd9f@e32g2000prn.googlegroups.com...
Are you refering to ASP or ASP.Net -- because I don't think ASP clears
its cache like that.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//




On Jan 14, 6:19 pm, "Alain Quesnel" <alainsanss....TakeThisOut@logiquel.com>
wrote:
> Is there a way to prevent ASP/IIS 5 from "falling asleep" if there are no
> requests for a while? I use Miscrosoft Reporting Services. When I open the
> first report, it takes 30 to 60 seconds to come up. After that, it's much
> faster (a few seconds at the most). I'm trying to find a way to keep IIS
> and
> ASP ready to fire, so to speak.
>
> Thank you,
>
> Alain Quesnel
> alainsanss....TakeThisOut@logiquel.com
>
> www.logiquel.com
>
> "David Wang" <w3.4....TakeThisOut@gmail.com> wrote in message
>
> news:6515564b-dde7-4b4b-a676-11af77469639@e4g2000hsg.googlegroups.com...
> On Jan 14, 9:52 am, "Alain Quesnel" <alainsanss....TakeThisOut@logiquel.com>
> wrote:
>
> > In IIS 6.0, I can set the Application pool idle timeout in the
> > Application
> > Pool properties window ("Shutdown worker processes after being idle for"
> > n
> > minutes, the default being 20 minutes). Is there a way to do something
> > similar in IIS 5.1?
>
> > --
> > Thank you,
>
> > Alain Quesnel
> > alainsanss....TakeThisOut@logiquel.com
>
> >www.logiquel.com
>
> No. Application Pools is a feature introduced with IIS6 and does not
> exist in IIS5.1.
>
> Closest thing on XP Pro is COM+ Application Settings, but it does not
> work as you think.
>
> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David.Wang
> //
 >> Stay informed about: Application pool idle timeout in IIS 5.1 
Back to top
Login to vote
David Wang

External


Since: Nov 14, 2007
Posts: 358



(Msg. 6) Posted: Wed Jan 16, 2008 12:21 am
Post subject: Re: Application pool idle timeout in IIS 5.1 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks for clarifying.

BTW, ASP and ASP.Net are totally different. The only thing they have
in common are the letters "A", "S", and "P".

I was not expecting 30-60 seconds startup from ASP -- that sounds much
more consistent with the well-known CLR Startup time for ASP.Net.

On IIS 5/5.1, and IIS6 in IIS5 Compatibility Mode, ASP.Net uses its
own process model (similar but not exactly the same as IIS6
Application Pools), not COM+. Please search for <processModel> on the
Web for the idleTimeout setting and change it in the machine.config of
the version of the .Net framework versioned for your ASP.Net version.

machine.config for ASP.Net 2.0 should be in:
%windir%\Microsoft.Net\Framework\v2.0.50727\config\machine.config

The reason that IIS "falls asleep" is because your website is not
getting the traffic to warrant having the application in memory, so it
shuts down the application to reclaim the memory for something else on
the server. Of course, if you have a dedicated server for the
application (which you've never told IIS about), you can certainly
tell IIS to stop prematurely shutting down the application to reclaim
memory because it's not going to be used for anything else.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//





On Jan 15, 5:46 am, "Alain Quesnel" <alainsanss....TakeThisOut@logiquel.com>
wrote:
> I use Reporting Services 2005 SP2 (which uses ASP.NET 2.0) on XP Pro SP2
> (IIS 5.1).
>
> --
> Thank you,
>
> Alain Quesnel
> alainsanss....TakeThisOut@logiquel.com
>
> www.logiquel.com
>
> "David Wang" <w3.4....TakeThisOut@gmail.com> wrote in message
>
> news:960bf745-7e3b-48fa-a2a6-4a143792fd9f@e32g2000prn.googlegroups.com...
> Are you refering to ASP or ASP.Net -- because I don't think ASP clears
> its cache like that.
>
> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David.Wang
> //
>
> On Jan 14, 6:19 pm, "Alain Quesnel" <alainsanss....TakeThisOut@logiquel.com>
> wrote:
>
>
>
> > Is there a way to prevent ASP/IIS 5 from "falling asleep" if there are no
> > requests for a while? I use Miscrosoft Reporting Services. When I open the
> > first report, it takes 30 to 60 seconds to come up. After that, it's much
> > faster (a few seconds at the most). I'm trying to find a way to keep IIS
> > and
> > ASP ready to fire, so to speak.
>
> > Thank you,
>
> > Alain Quesnel
> > alainsanss....TakeThisOut@logiquel.com
>
> >www.logiquel.com
>
> > "David Wang" <w3.4....TakeThisOut@gmail.com> wrote in message
>
> >news:6515564b-dde7-4b4b-a676-11af77469639@e4g2000hsg.googlegroups.com...
> > On Jan 14, 9:52 am, "Alain Quesnel" <alainsanss....TakeThisOut@logiquel.com>
> > wrote:
>
> > > In IIS 6.0, I can set the Application pool idle timeout in the
> > > Application
> > > Pool properties window ("Shutdown worker processes after being idle for"
> > > n
> > > minutes, the default being 20 minutes). Is there a way to do something
> > > similar in IIS 5.1?
>
> > > --
> > > Thank you,
>
> > > Alain Quesnel
> > > alainsanss....TakeThisOut@logiquel.com
>
> > >www.logiquel.com
>
> > No. Application Pools is a feature introduced with IIS6 and does not
> > exist in IIS5.1.
>
> > Closest thing on XP Pro is COM+ Application Settings, but it does not
> > work as you think.
>
> > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David.Wang
> > //- Hide quoted text -
>
> - Show quoted text -
 >> Stay informed about: Application pool idle timeout in IIS 5.1 
Back to top
Login to vote
Alain Quesnel

External


Since: Dec 06, 2007
Posts: 6



(Msg. 7) Posted: Wed Jan 16, 2008 1:55 pm
Post subject: Re: Application pool idle timeout in IIS 5.1 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I googled <processModel> and I found this page:
http://msdn2.microsoft.com/en-us/library/7w2sway1(VS.71).aspx

On it, the "idletimeout" attribute is described as follows:

"Specifies the period of inactivity, in hr:min:sec string format, after
which ASP.NET automatically ends the worker process. The default is
Infinite."

I'm not sure I understand. Does that mean the default setting will keep a
worker process going for an infinite amount of time, regardless of its
repeated usage i.e. hits on the website (or lack thereof)? I looked at my
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config file.
The only attribute I have under <processmodel> is autoConfig="true", which
is not described on the web page I mentioned above.

I added this attribute to the machine.config file.

idleTimeout="16:00:00"

I'll see if that works.

--
Thank you,

Alain Quesnel
alainsansspam.DeleteThis@logiquel.com

www.logiquel.com


"David Wang" <w3.4you.DeleteThis@gmail.com> wrote in message
news:debfe2a9-0e28-4cb0-8eeb-0b26dfd4f47a@i12g2000prf.googlegroups.com...
Thanks for clarifying.

BTW, ASP and ASP.Net are totally different. The only thing they have
in common are the letters "A", "S", and "P".

I was not expecting 30-60 seconds startup from ASP -- that sounds much
more consistent with the well-known CLR Startup time for ASP.Net.

On IIS 5/5.1, and IIS6 in IIS5 Compatibility Mode, ASP.Net uses its
own process model (similar but not exactly the same as IIS6
Application Pools), not COM+. Please search for <processModel> on the
Web for the idleTimeout setting and change it in the machine.config of
the version of the .Net framework versioned for your ASP.Net version.

machine.config for ASP.Net 2.0 should be in:
%windir%\Microsoft.Net\Framework\v2.0.50727\config\machine.config

The reason that IIS "falls asleep" is because your website is not
getting the traffic to warrant having the application in memory, so it
shuts down the application to reclaim the memory for something else on
the server. Of course, if you have a dedicated server for the
application (which you've never told IIS about), you can certainly
tell IIS to stop prematurely shutting down the application to reclaim
memory because it's not going to be used for anything else.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//





On Jan 15, 5:46 am, "Alain Quesnel" <alainsanss....DeleteThis@logiquel.com>
wrote:
> I use Reporting Services 2005 SP2 (which uses ASP.NET 2.0) on XP Pro SP2
> (IIS 5.1).
>
> --
> Thank you,
>
> Alain Quesnel
> alainsanss....DeleteThis@logiquel.com
>
> www.logiquel.com
>
> "David Wang" <w3.4....DeleteThis@gmail.com> wrote in message
>
> news:960bf745-7e3b-48fa-a2a6-4a143792fd9f@e32g2000prn.googlegroups.com...
> Are you refering to ASP or ASP.Net -- because I don't think ASP clears
> its cache like that.
>
> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David.Wang
> //
>
> On Jan 14, 6:19 pm, "Alain Quesnel" <alainsanss....DeleteThis@logiquel.com>
> wrote:
>
>
>
> > Is there a way to prevent ASP/IIS 5 from "falling asleep" if there are
> > no
> > requests for a while? I use Miscrosoft Reporting Services. When I open
> > the
> > first report, it takes 30 to 60 seconds to come up. After that, it's
> > much
> > faster (a few seconds at the most). I'm trying to find a way to keep IIS
> > and
> > ASP ready to fire, so to speak.
>
> > Thank you,
>
> > Alain Quesnel
> > alainsanss....DeleteThis@logiquel.com
>
> >www.logiquel.com
>
> > "David Wang" <w3.4....DeleteThis@gmail.com> wrote in message
>
> >news:6515564b-dde7-4b4b-a676-11af77469639@e4g2000hsg.googlegroups.com...
> > On Jan 14, 9:52 am, "Alain Quesnel" <alainsanss....DeleteThis@logiquel.com>
> > wrote:
>
> > > In IIS 6.0, I can set the Application pool idle timeout in the
> > > Application
> > > Pool properties window ("Shutdown worker processes after being idle
> > > for"
> > > n
> > > minutes, the default being 20 minutes). Is there a way to do something
> > > similar in IIS 5.1?
>
> > > --
> > > Thank you,
>
> > > Alain Quesnel
> > > alainsanss....DeleteThis@logiquel.com
>
> > >www.logiquel.com
>
> > No. Application Pools is a feature introduced with IIS6 and does not
> > exist in IIS5.1.
>
> > Closest thing on XP Pro is COM+ Application Settings, but it does not
> > work as you think.
>
> > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David.Wang
> > //- Hide quoted text -
>
> - Show quoted text -
 >> Stay informed about: Application pool idle timeout in IIS 5.1 
Back to top
Login to vote
Alain Quesnel

External


Since: Dec 06, 2007
Posts: 6



(Msg. 8) Posted: Mon Feb 25, 2008 7:00 am
Post subject: Re: Application pool idle timeout in IIS 5.1 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Salut Espen,

The idleTimeout="23:59:00" in the machine.config file works fine in IIS 5.1
(on Windows XP Pro). I also scheduled a dummy report that runs every day at
4AM. Now, everytime I hit my Reporting Services webpage, I have no more
delays whatsoever.

If you're using IIS 6 (Windows 2003 Server), then you need to change the 20
minute value in the Application Pool properties window (see my first post in
this thread).


Alain Quesnel
alainsansspam.TakeThisOut@logiquel.com

www.logiquel.com

------------------------
Salut Alain,

I came across your question about keeping IIS 5 awake and "ready to fire":

http://objectmix.com/inetserver/330699-application-pool-idle-timeout-i...5-1-a.h


I'm struggling with the same problem myself, but I see that you're over a
month ahead of me. May I be so bold as to ask if you have found a solution
yet. And if you care to share it.?? J

Did adding idleTimeout="16:00:00" to the machine.config help?

(Btw, in IIS 6 it seems "infinite" is a valid value.)


Thanks for your time,

Espen Sandall

(located in Norway)


mvh Espen

---

Please consider the environment before printing this e-mail
 >> Stay informed about: Application pool idle timeout in IIS 5.1 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]