Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Thu, 28 Aug 2008 13:38:11 +0200,    group: microsoft.public.inetserver.iis        back       


Recycling the pool ?   
Hello,

I will soon installed a small Ajax Asp.Net "single page" site on a client 
site. This page is simply polling a Asp.Net Web service, which fetchs and 
returns parameters (temperature, air conditioning status...) to be displayed 
on the page. This is implemented with an Ajax Timer control server.

Now this is my first "industrial" web site, and I'm concerned about its 
robustness.
Do I need to create a specific pool on IIS 6 for the web service and the 
site ?
I'm aware than it is possible to "recycle" a pool. Do I need this ?
If the site/service is down, how can I automaticllay try to restart it ?

Best regards
date: Thu, 28 Aug 2008 13:38:11 +0200   author:   Oriane ail

Re: Recycling the pool ?   
You dont need to create another AppPoll, except that other websites in the 
AppPool use a differente version of framework.
If you have other web sites could be good to create an application pool for 
the webservice ... this will isolate your webservice from problems that 
could cause other web sites, like:
    - Memory use that can cause OutOfMemoryExceptions
    - Threads use that could leave the AppPool without threads to response 
your web services request
    - Hanging AppPoll
    - Making reciclying of the AppPool

But, this cause an overhead of administration and memory use ... you must 
evaluate your case.


About the recycling, this could be usefull to release resources ... I think 
that setting the recycle after one hour of inactivity is right.

If your servie is stopped ... first, try to find what stop your site ... 
after that, you can start the web site from administration console.
If the IIS is down ... run  iisreset /start


Saludos!


"Oriane" <oriane@noemail.noemail> wrote in message 
news:O$UbiKQCJHA.2056@TK2MSFTNGP05.phx.gbl...
> Hello,
>
> I will soon installed a small Ajax Asp.Net "single page" site on a client 
> site. This page is simply polling a Asp.Net Web service, which fetchs and 
> returns parameters (temperature, air conditioning status...) to be 
> displayed on the page. This is implemented with an Ajax Timer control 
> server.
>
> Now this is my first "industrial" web site, and I'm concerned about its 
> robustness.
> Do I need to create a specific pool on IIS 6 for the web service and the 
> site ?
> I'm aware than it is possible to "recycle" a pool. Do I need this ?
> If the site/service is down, how can I automaticllay try to restart it ?
>
> Best regards
>
date: Thu, 28 Aug 2008 13:55:43 -0300   author:   Pablo A. Allois

RE: Recycling the pool ?   
Well Oriane,

Answer 1.)

    It is always better to implement different applications in different 
pools because that helps you distinguish between them... 

   Apart from that application pools definitely provide robustness as... if 
one of your app goes bad and crashes your IIS will still be up and running as 
that will only effect the concerned AppPool... 

     Technically, you will not be able to run different technology platforms 
within the same AppPool anyways.

Answer 2.)

AppPool recycling happens at the first place to maintain the app in a good 
state. By default AppPools recycle every 29hours ... Although AppPool 
recycling happens for various parameters as well by default within IIS 6. For 
more details go to IIS Manager -> ApplicationPools -> YourAppPool  right 
click properties....

To be honest some of them are really helpful... you will be able to 
understand the meaning of the parameters easily... they are very self 
descriptive... 

Answer 3.) 

If you're site is down how can you start it automatically?? well the answer 
to that depends on "with what state your site/service failed or "went down" " 
:) 

Proactive monitoring sites is the best answer to this question. Keep a check 
on your App... see how it works during Peak and off peak and design AppPool 
recycle depending on that analysis ... 


PS: Gave me a great question to blog about ... Thanks!

-- 
Regards,
ma_khan
http://www.iisworkstation.com


"Oriane" wrote:

> Hello,
> 
> I will soon installed a small Ajax Asp.Net "single page" site on a client 
> site. This page is simply polling a Asp.Net Web service, which fetchs and 
> returns parameters (temperature, air conditioning status...) to be displayed 
> on the page. This is implemented with an Ajax Timer control server.
> 
> Now this is my first "industrial" web site, and I'm concerned about its 
> robustness.
> Do I need to create a specific pool on IIS 6 for the web service and the 
> site ?
> I'm aware than it is possible to "recycle" a pool. Do I need this ?
> If the site/service is down, how can I automaticllay try to restart it ?
> 
> Best regards
> 
>
date: Thu, 28 Aug 2008 10:06:00 -0700   author:   ma_khan

RE: Recycling the pool ?   
Hi Oriane,

It's always good to put different web applications into different 
application pools. This will make them run into their own worker 
processes(w3wp.exe) which means resources allocation is isolated(CPU, 
memory, I/O, etc) and will not affect each other.

By default, IIS will shutdown an application pool's worker process instance 
if it's idle for 20 mins(no requests come in). A new instance will be 
started up at the time of next request is received. The effect is similar 
to application pool recycling. So generally you don't need to manually do 
any recycling jobs. If the site is a quite busy one, one thing you can 
consider is enforce a pool recycling at a disengaged time(e.g midnight). 
This can be set in application pool's property recycling tab.

About sites automatic restarting, in an application pool's health tab, 
there is a rapid-fail protection setting. If this option is disabled, IIS 
will always try to restart the pool instance when its worker process 
encounters exception and terminated unexpectedly(sites in the pool get 
down). The default setting is: if failures occur 5 times for this pool's 
instances in 5 mins, IIS will automatically disable this application pool. 
You can adjust the settings to achieve your goal.

Please update here if you have any further question.

Have a nice weekend.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and 
suggestions about how we can improve the support we provide to you. Please 
feel free to let my manager know what you think of the level of service 
provided. You can send feedback directly to my manager at: 
msdnmg@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to 
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues 
where an initial response from the community or a Microsoft Support 
Engineer within 1 business day is acceptable. Please note that each follow 
up response may take approximately 2 business days as the support 
professional working with you may need further investigation to reach the 
most efficient resolution. The offering is not appropriate for situations 
that require urgent, real-time or phone-based interactions or complex 
project analysis and dump analysis issues. Issues of this nature are best 
handled working with a dedicated Microsoft Support Engineer by contacting 
Microsoft Customer Support Services (CSS) at 
http://support.microsoft.com/select/default.aspx?target=assistance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
date: Fri, 29 Aug 2008 08:16:52 GMT   author:   (WenJun Zhang[msft])

RE: Recycling the pool ?   
Hi Oriane,

Just wonder if you have any further question on this?

Thanks.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and 
suggestions about how we can improve the support we provide to you. Please 
feel free to let my manager know what you think of the level of service 
provided. You can send feedback directly to my manager at: 
msdnmg@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to 
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues 
where an initial response from the community or a Microsoft Support 
Engineer within 1 business day is acceptable. Please note that each follow 
up response may take approximately 2 business days as the support 
professional working with you may need further investigation to reach the 
most efficient resolution. The offering is not appropriate for situations 
that require urgent, real-time or phone-based interactions or complex 
project analysis and dump analysis issues. Issues of this nature are best 
handled working with a dedicated Microsoft Support Engineer by contacting 
Microsoft Customer Support Services (CSS) at 
http://support.microsoft.com/select/default.aspx?target=assistance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
date: Tue, 02 Sep 2008 10:44:36 GMT   author:   (WenJun Zhang[msft])

Re: Recycling the pool ?   
No.

Thank you
""WenJun Zhang[msft]""  a écrit dans le 
message de news:lDen2jODJHA.1688@TK2MSFTNGHUB02.phx.gbl...
> Hi Oriane,
>
> Just wonder if you have any further question on this?
>
> Thanks.
>
> Sincerely,
>
> WenJun Zhang
>
> Microsoft Online Community Support
>
> Delighting our customers is our #1 priority. We welcome your comments and
> suggestions about how we can improve the support we provide to you. Please
> feel free to let my manager know what you think of the level of service
> provided. You can send feedback directly to my manager at:
> msdnmg@microsoft.com.
>
> ==================================================
> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at
> http://support.microsoft.com/select/default.aspx?target=assistance&ln=en-us.
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no 
> rights.
>
date: Tue, 2 Sep 2008 13:40:58 +0200   author:   Oriane ail

Re: Recycling the pool ?   
You are welcome Oriane.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and 
suggestions about how we can improve the support we provide to you. Please 
feel free to let my manager know what you think of the level of service 
provided. You can send feedback directly to my manager at: 
msdnmg@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to 
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues 
where an initial response from the community or a Microsoft Support 
Engineer within 1 business day is acceptable. Please note that each follow 
up response may take approximately 2 business days as the support 
professional working with you may need further investigation to reach the 
most efficient resolution. The offering is not appropriate for situations 
that require urgent, real-time or phone-based interactions or complex 
project analysis and dump analysis issues. Issues of this nature are best 
handled working with a dedicated Microsoft Support Engineer by contacting 
Microsoft Customer Support Services (CSS) at 
http://support.microsoft.com/select/default.aspx?target=assistance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
date: Wed, 03 Sep 2008 08:53:21 GMT   author:   (WenJun Zhang[msft])

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us