473,387 Members | 3,684 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Reload Application after App Pool Recycles

Hi all,

I have my application pool set to recycle once a night. After
recycling it takes about 1 minute for my application to reload. That
is to say if I got to the site in the browser it takes about 1 minute
to load, when it normally loads in less than a few seconds.

I know that this is the normal behavior. Is there a way to force the
application to reload immediately after the recycle? That way the
first visitor to my site won't have to wait 1 minute?

Thanks,
Cole

Apr 4 '07 #1
1 2130
If you're recycling the application pool at the same time every night,
you can use Task Scheduler to run your browser and hit the site
so that the first-time compilation is done.

"Control Panel", "Scheduled Tasks", "Add Scheduled Task".

See the pre-installed sample tasks for usage.

"start http://localhost/" would be one way to start, adding the schedule for that task.

Add other critical pages that you wish to be pre-compiled when visitors arrive.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
<sc*******@gmail.comwrote in message news:11**********************@n59g2000hsh.googlegr oups.com...
Hi all,

I have my application pool set to recycle once a night. After
recycling it takes about 1 minute for my application to reload. That
is to say if I got to the site in the browser it takes about 1 minute
to load, when it normally loads in less than a few seconds.

I know that this is the normal behavior. Is there a way to force the
application to reload immediately after the recycle? That way the
first visitor to my site won't have to wait 1 minute?

Thanks,
Cole

Apr 4 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Troglite | last post by:
I am attempting to research an error condition that I am experiencing with the Config Block in EntLib 1.0. I have an admin web page that I use to populate some config values. I then have a second...
1
by: Mr 071 | last post by:
When an unhandled exception occurrs in my ASP.NET application the app pool recycles. It seems to me that this just started happening after some patches have been applied to Windows Server 2003 we...
2
by: Lars Netzel | last post by:
Hi We have an ASP.NET application running on a Live server and we have had some problems with the Application pool beeing recycled due to heavy load on the server. The load is really not that...
0
by: Mark A. Ziesemer | last post by:
I've seen a few other postings that looked similar to this, but most appear to have died without any working solutions, and lacked any helpful level of information to see if they might be related. ...
1
by: ori | last post by:
Hi, I have an ASP.Net application hosted in a windows server 2003 (IIS 6.0). The application uses a Oracle Database to retrieve some data through an Oledb connection. I've set the IIS...
6
by: Wayne Smith | last post by:
Hi, We are having a few problems with ASP.Net pages hanging during load when an Application Pool is recycled. To test this we have setup the following ASP.net page which refreshes every 2...
0
by: =?Utf-8?B?SkhhbGV5?= | last post by:
Our system is: IIS Server: dual Intel Xeon 2.80 GHz, 4 GB Ram Windows Server 2003 SP2 IIS 6.0 SQL Server: dual Intel Xeon 2.80 GHz, 4 GB Ram (separate server) Windows Server 2003 SP2 SQL...
10
by: Atul Shukla | last post by:
Hi, How can I avoid application timeout? Generally a web application time out is 20 minutes, however, we can define this timeout in web.config to any number of minutes. After giving 500 minutes of...
5
by: IUnknown | last post by:
Ok, we are all aware of the situation where modifying the folder structure (adding files, folders, deleting files, etc) will result in ASP.NET triggering a recompilation/restart of the application....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.