Re: IIS Warm Up Period

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 05/07/04


Date: Thu, 6 May 2004 17:29:20 -0700

How can you prevent IIS6 server from being "dropped into the live rotation"?
That's really a question for you, isn't it?

There is no built-in IIS feature for warming up. How would IIS know what
attributes determine when an arbitrary application running on it is "warmed
up" -- which URLs, how long to wait, etc -- and how would IIS know an app
even needs warm up?

Thus, this is really a function of your particular server deployment system
since it is custom code from IIS perspective, so it is your responsibility.
If a server needs to be warmed up with certain requests, then your system of
deploying servers from "brand new" to "warmed up" needs to be aware of this.
In particular, your server deployment system must be aware of server
deployment state, such as "brand new", "warmed up", "in-rotation",
"out-of-rotation", etc. If you don't have such a system and expect to
cold-turkey a server that needs warmup -- you need to rethink your strategy
with dealing with load. This is all systems management outside of IIS
scope.

-- 
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Arsen V." <arsen.NoSpamPlease@emergency24.com> wrote in message
news:%23pHVm87MEHA.3572@tk2msftngp13.phx.gbl...
Hi David,
How can I prevent the IIS6 server from being "dropped into the live
rotation" until the warm up scripts run?
What happens now, is that when the computer comes up, IIS starts and
immediately attempts to process the requests which queue up and cause
problems.
Is there a way to tell the IIS to start accepting the requests only after
certain warm up? I need this to be automatic so if IIS is restarted in the
middle of the night it can come back up without problems.
Thanks,
Arsen
"David Wang [Msft]" <someone@online.microsoft.com> wrote in message
news:e4LKRnzMEHA.3380@TK2MSFTNGP11.phx.gbl...
> No, IIS does not have a "warm up period" feature.  It is pretty easy to
> script WAST or ACT to custom tailor such a warm-up optimized for your
> website, though.
>
> Websites that have high traffic volume usually devise their own mix of
> requests to "warm up" a server and get various applications pre-compiled,
> etc -- this is especially necessary for .Net applications, which incur a
CLR
> load-up cost as well as ASP.Net pre-compilation cost.  After the server is
> warmed up, then it is dropped into the live rotation.
>
> There shouldn't be much difference between IIS5 and IIS6 in startup unless
> you're using the health-monitoring features of IIS6 to recycle the worker
> process.
>
> -- 
> //David
> IIS
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> //
> "Arsen V." <arsen.NoSpamPlease@emergency24.com> wrote in message
> news:uNF7OkqMEHA.1388@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> We have a website with a very high volume of traffic. The pages are
ASP.NET.
> There are some configuration settings that get loaded by the Global.asx
file
> on Application Start event. The load time for those settings is about 3
> seconds.
>
> When the site is running on IIS5 everything is okay.
>
> When the site is running on IIS6 there are problems. It looks like when
IIS
> starts and all the requests start coming in it is trying to compile the
> ASP.NET CLR and to load the settings in Global.asx. However, since there
are
> over 100 requests/second, soon it starts to give Service Unavailable and
log
> errors QueueFull in the HTTPERR file.
>
> If I manually stop the IIS, set the directory security of the website to
> accept only the local requests, execute one request, wait 5 seconds, and
> then change the security to accept all requests, it works great.
>
> Is there a way to give IIS a warm up time? I think it fails because there
> are so many requests that come right away before the CLR is compiled and
the
> load settings in the Global.asx has time to execute.
>
> Thanks,
> Arsen
>
>
>
>


Relevant Pages

  • [NT] Heap Overrun in HTR Chunked Encoding Could Enable Web Server Compromise
    ... This patch eliminates a newly discovered vulnerability affecting Internet ... in IIS 4.0 and 5.0, and could likewise be used to overrun heap memory on ... allowing code to be run on the server. ... * Microsoft has long recommended disabling HTR functionality unless there ...
    (Securiteam)
  • Re: iis - cannot find page (cannot find server or dns error)
    ... the problem is unlikely to be related to IIS6. ... IP address of the web server directly from a client machine that is EXTERNAL ... with IIS and is likely DNS related. ... If using IP does not work, then it has nothing to do with IIS and is ...
    (microsoft.public.inetserver.iis)
  • Re: Info about tuning the IIS and SPS thread settings
    ... I want to dig the role of IIS so that get clear picture so what can be done ... The amount of physical memory, in MBs, immediately available for allocation to a process or for system use on the server. ... trends begin to emerge that equate requests per second with CPU consumption ... SPS requests get routed through the IIS 6.0 as SPS also has its own thread ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Problem with connect computer wizard
    ... Make sure the Windows XP client is pointing to the SBS 2003 server as ... Please collect the IIS metabase and the latest IIS log files further ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • Re: IIS 6.0 issue
    ... How about making the applications that run on the server more stable? ... you should not need to re-install IIS6 to fix the issue you ... cause the Application Pool to be disabled? ... All IIS is doing is trying to run your application. ...
    (microsoft.public.inetserver.iis)

Loading