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

ASP.NET Initial delay solution.

Hi friends,

I am having problem of initial delay of 15 second when I go to my
asp.net website every 30 minutes (not too much traffic to this site).
It is hosted in gate.com (asp.net provider).
I understand about JIT compiler. But this is something related to
resource unloading when no activity with in 20 minute. Because it is a
shared host, I cannot change any settings.

If I ping the websites main page every minute solve this problem? Or
any better solution?

Thank you,
Achu.

Oct 4 '06 #1
3 1429
"Achu" <as******@gmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
But this is something related to resource unloading when no activity
with in 20 minute.
Yup - that'll be Application_End firing because the final session has timed
out. This means that the next access to your site will cause the
Application_Start to fire - are you doing a lot of processing in there,
maybe caching of persistent data...?
Because it is a shared host, I cannot change any settings.
You can change the Session.Timeout value in web.config, but that's almost
certainly the wrong solution...
If I ping the websites main page every minute solve this problem?
Nope - ASP.NET / IIS will have no knowledge of the server that they're
running on being pinged...
Or any better solution?
The first thing you need to understand is why your app is taking 15 seconds
to start up - what sort of initial processing are you doing...?
Oct 4 '06 #2
The first thing you need to understand is why your app is taking 15 seconds
to start up - what sort of initial processing are you doing...?
It's just a simple asp.net page. no initial processing, still page take
10 to 15 seconds when loading first time every 20 minute. I don't know
it is provider problem or something else.

thanks,

achu

Mark Rae wrote:
"Achu" <as******@gmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
But this is something related to resource unloading when no activity
with in 20 minute.

Yup - that'll be Application_End firing because the final session has timed
out. This means that the next access to your site will cause the
Application_Start to fire - are you doing a lot of processing in there,
maybe caching of persistent data...?
Because it is a shared host, I cannot change any settings.

You can change the Session.Timeout value in web.config, but that's almost
certainly the wrong solution...
If I ping the websites main page every minute solve this problem?

Nope - ASP.NET / IIS will have no knowledge of the server that they're
running on being pinged...
Or any better solution?

The first thing you need to understand is why your app is taking 15 seconds
to start up - what sort of initial processing are you doing...?
Oct 4 '06 #3
"Achu" <as******@gmail.comwrote in message
news:11**********************@e3g2000cwe.googlegro ups.com...
>The first thing you need to understand is why your app is taking 15
seconds
to start up - what sort of initial processing are you doing...?

It's just a simple asp.net page. no initial processing, still page take
10 to 15 seconds when loading first time every 20 minute. I don't know
it is provider problem or something else.
In which case, you'll need to have a word with your hosting company...
Oct 5 '06 #4

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

Similar topics

12
by: Conrad | last post by:
Greetings, Q: Is there some way to gracefully suspend a python app for a second or so then resume? I could write the classic basic dumb loop-tenzillion-times delay, but that seems inelegant, and...
3
by: Harry | last post by:
Using Oracle 8i enterprise on win 2000 (sp3) Installed the standard configuration & whenever I make a connection it takes about 10 secs. It's running on a P1900 with 1gb Ram so no reason there...
14
by: Des L. Davis | last post by:
System: Dell PowerEdge Server with 3 GB RAM, 2.4 GHz Celeron Software: Microsoft SQL Server 2000 Enterprise running on Windows 2003 Server Software: Microsoft SQL Server 2000 Enterprise running on...
10
by: Chance Hopkins | last post by:
I'm trying to match a set of matches after some initial text: mytext: "something" "somethingelse" "another thing" "maybe another" (?:mytext: )(?<mymatch>{1,1}+{1,1}+)+ I only get the last one...
11
by: Maheshkumar.R | last post by:
Hi groups, How i can introduce some milliseconds delay in application. How i can do achieve this... let me clearly say... (1) I'm displaying slices of medical images. For framerate - for...
2
by: WhatHappend | last post by:
I have converted a .Net 1.0 application to .Net 2.0 and the web service invocations have delay of around 10seconds on each intial access. After the first access subsequent access are fast (After a...
1
by: David Jackson | last post by:
Hello, We are in the process of upgrading our internal web applications from v2.0 to v3.5. A colleague has built a machine with 4GB RAM, 64-bit Vista Business Edition and Visual Studio.NET...
1
by: Med | last post by:
Hi, Initial load of my ASP.NET app takes 50 seconds to load. Then it become fairly fast. Followings are my app/hardware configs: Server/IIS: ----------- IIS 6 running on Hosted VPS...
5
by: Med | last post by:
Hi, Initial load of my pre-compiled ASP.NET app takes more than 50 seconds to load after site has been idle for a while. Then it become fairly fast. Followings are my app/hardware configs: ...
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: 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
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: 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:
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.