473,385 Members | 1,531 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,385 software developers and data experts.

Application Start Delay

I have written an ASP.NET application that performs very well. I make heavy
use of the Cache and otherwise minimize the number of round trips to to the
db. I couldn't be happier with the performance - except when the application
first starts. When hitting my Web server over the Internet there is a delay
waiting for the first page. I suspect that the App Pool is starting up as
well as my particular ASP.NET Web application. I should note that while I
have some code that runs during Application_Start, it is minimal does not
explain most of the delay. I have noticed this delay on other ASP.NET Web
sites as well.

What can I do to minimize this delay? It appears that the app pool is set to
timeout after 20 minutes. I suspect that is the issue - but is the only
solution to increase the idle timeout on the App Pool? If so, is it
perfectly acceptable to set the App Pool's idle timeout value to something
like 24 hours? Is there anything else I can look at (beyond my
Application_Start code) that might explain this initial delay?

Thanks!
Nov 19 '05 #1
4 2507
The delay is because of asp.net restarting. Other then changing how often it
might need to restart in machine.config, there is not much you can do.

And yes, this is very annoying during development. After every recompile, it
takes forever for it to start up again (lot's of DLLs that are part of the
app).

"Jeremy S" <A@B.COM> wrote in message
news:O1**************@TK2MSFTNGP14.phx.gbl...
I have written an ASP.NET application that performs very well. I make heavy
use of the Cache and otherwise minimize the number of round trips to to the
db. I couldn't be happier with the performance - except when the
application first starts. When hitting my Web server over the Internet
there is a delay waiting for the first page. I suspect that the App Pool is
starting up as well as my particular ASP.NET Web application. I should note
that while I have some code that runs during Application_Start, it is
minimal does not explain most of the delay. I have noticed this delay on
other ASP.NET Web sites as well.

What can I do to minimize this delay? It appears that the app pool is set
to timeout after 20 minutes. I suspect that is the issue - but is the only
solution to increase the idle timeout on the App Pool? If so, is it
perfectly acceptable to set the App Pool's idle timeout value to something
like 24 hours? Is there anything else I can look at (beyond my
Application_Start code) that might explain this initial delay?

Thanks!

Nov 19 '05 #2
The shutting down of the worker processes after 20 mins is probably the cause.
I had this too and disabled and it ran fine.

Let me know if you have any more questions..

Cheers,
Tom Pester
I have written an ASP.NET application that performs very well. I make
heavy use of the Cache and otherwise minimize the number of round
trips to to the db. I couldn't be happier with the performance -
except when the application first starts. When hitting my Web server
over the Internet there is a delay waiting for the first page. I
suspect that the App Pool is starting up as well as my particular
ASP.NET Web application. I should note that while I have some code
that runs during Application_Start, it is minimal does not explain
most of the delay. I have noticed this delay on other ASP.NET Web
sites as well.

What can I do to minimize this delay? It appears that the app pool is
set to timeout after 20 minutes. I suspect that is the issue - but is
the only solution to increase the idle timeout on the App Pool? If so,
is it perfectly acceptable to set the App Pool's idle timeout value to
something like 24 hours? Is there anything else I can look at (beyond
my Application_Start code) that might explain this initial delay?

Thanks!

Nov 19 '05 #3
What do you mean you disabled it? Did you simply extend the idle timeout
value - or did you do something else?

<To********************@pandora.be> wrote in message
news:a1**************************@news.microsoft.c om...
The shutting down of the worker processes after 20 mins is probably the
cause. I had this too and disabled and it ran fine.

Let me know if you have any more questions..

Cheers,
Tom Pester
I have written an ASP.NET application that performs very well. I make
heavy use of the Cache and otherwise minimize the number of round
trips to to the db. I couldn't be happier with the performance -
except when the application first starts. When hitting my Web server
over the Internet there is a delay waiting for the first page. I
suspect that the App Pool is starting up as well as my particular
ASP.NET Web application. I should note that while I have some code
that runs during Application_Start, it is minimal does not explain
most of the delay. I have noticed this delay on other ASP.NET Web
sites as well.

What can I do to minimize this delay? It appears that the app pool is
set to timeout after 20 minutes. I suspect that is the issue - but is
the only solution to increase the idle timeout on the App Pool? If so,
is it perfectly acceptable to set the App Pool's idle timeout value to
something like 24 hours? Is there anything else I can look at (beyond
my Application_Start code) that might explain this initial delay?

Thanks!


Nov 19 '05 #4
I thought I disabled it but its a long time ago.

Cheers,
Tom Pester
What do you mean you disabled it? Did you simply extend the idle
timeout value - or did you do something else?

<To********************@pandora.be> wrote in message
news:a1**************************@news.microsoft.c om...
The shutting down of the worker processes after 20 mins is probably
the cause. I had this too and disabled and it ran fine.

Let me know if you have any more questions..

Cheers,
Tom Pester
I have written an ASP.NET application that performs very well. I
make heavy use of the Cache and otherwise minimize the number of
round trips to to the db. I couldn't be happier with the performance
- except when the application first starts. When hitting my Web
server over the Internet there is a delay waiting for the first
page. I suspect that the App Pool is starting up as well as my
particular ASP.NET Web application. I should note that while I have
some code that runs during Application_Start, it is minimal does not
explain most of the delay. I have noticed this delay on other
ASP.NET Web sites as well.

What can I do to minimize this delay? It appears that the app pool
is set to timeout after 20 minutes. I suspect that is the issue -
but is the only solution to increase the idle timeout on the App
Pool? If so, is it perfectly acceptable to set the App Pool's idle
timeout value to something like 24 hours? Is there anything else I
can look at (beyond my Application_Start code) that might explain
this initial delay?

Thanks!

Nov 19 '05 #5

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

Similar topics

7
by: Staale L. Hansen | last post by:
We have an application which uses some mixed-mode code to expose a .NET 1.1 managed API. Only the necessary files are compiled with /clr. We want to be able to load the application without .NET...
6
by: B B | last post by:
Okay, here is what's happening: I have a reasonably fast laptop (1.4 GHz Mobile M, so comparable to 2.5GHz P4) doing .net development. Running Windows XP pro, SP2 IIS is installed and running...
14
by: Rene Grothmann | last post by:
I have managed to communicate between forms and Java applets. A button press sends the content of the text area to an applet, a second button gets some text from the applet and puts it into the...
37
by: ales | last post by:
Hello, I have a problem with creation of new thread. The method .Start() of newly created thread delays current thread for 0 - 1 second. Cpu while delay occurs is about 5%. Any idea? Here...
4
by: vul | last post by:
I start the application with Application.Run(New MDIMain) in Sub Main. MDIMain is the mdi form which loads and then calls Login form. I'm using Application.Exit to terminate my VB 2005 application...
3
by: Rob | last post by:
I have an app that calls an eternal EXE using process.start. My issue is I have a couple command line parameters that need to be put in, so that it would read: Process p = new Process();...
9
by: jeff | last post by:
Hi All. I realize that when my Deployed winforms application starts, Windows needs to load the .net 2 framework before control is given to my application.... Is there anyway to either ... -...
2
by: wzhao2000 | last post by:
Back in COM time, it's possible to use #import statement in cpp to load COM object type info and use it at coding time. When the application is started, the underlying COM DLL will not be loaded...
1
by: maarten2002 | last post by:
Hi people, I am quite new to JS-scripting and I have a question. Finally I found a "good" slideshow which works in IE, Chrome, FF with prototype. The only thing is that I would like the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: 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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.