Hey guys,
I hope this is the right forum for posting this. I'm using Ajax 1.0 and the ASP.NET AJAX Control Toolkit.
The problem that I'm having is that the very first time I visit the page, or when the page has been sitting idle for 20 minutes, it takes about 25 seconds before it comes up. After it loads up once, I can refresh and it loads up within less then a second. I have enabled Trace output, and it tells me that the page is loading up in .5xxxx seconds, but from a users perspective when they hit the page, it takes 25 seconds. This happens with the ASP.NET AJAX Control Toolkit sample website as well.
I have set<compilationdebug="false">and it's had no effect. The server that it's on is a new Intel Woodcrest on a RAID 5, so it should be plenty fast enough. Compiling it in Visual Studio takes 1-2 seconds.
I'm not sure what's going on, but for about 23 of the 25 seconds there is no CPU utilization going on. Here is a picture of Task Manager to show what's going on. The stuff in the red box shows when I refreshed the page after I restarted IIS.
Anyone have any ideas on what's going on during the 20 seconds of the CPU not doing anything?
Thanks,
-Will
Hmmm, that's a new one. Some questions. Do you see this behavior with a standard ASP.NET application? Are you sure the pause is on the server side and not the client side (e.g. is your browser proxy configured right, etc.)? Is the server busy doing something else? Maybe check disk activity during that 20s.Thanks for the response.
I do not see it with a standard ASP.NET application, but I've only tried out a very basic application. I have tested this on 2 different web servers that we have. I get the same pause when I view it on a browser on the server, or on another computer targeting an Ajax Control Tooklit page. I have also looked at disk I/O as well during the pause. There is some but it's very minimal. I've disabled the Virus scanner to see if it's causing anything. The only things really installed on them, because I just built it, are Windows 2003 Enterprise Edition, Mcafee Virus Scan, IIS 6.0, Visual Studio 2005, Ajax v1.0, and the Ajax Control Toolkit.
I'm suprised, that other people aren't experiencing this. I've experienced it on 2 computers now. I thought it had something to do with having .NET 3.0 RC1 and the orcas stuff, but I just did a brand new clean install on another machine and I'm getting the exact same pause.
Any other advice or suggestions would be appreciated.
Thanks
Hi, i am having the same problem. It seems that the page is trying to download the whole toolkit dll every time the page loads. I am on a 56k connection and the page takes about 2 mins to open. The same happens when i try to open this site (asp.net site). Has any solution been found for this?? Thanks.
Could you maybe get a complete trace with Fiddler so we can get an idea what's going on?
I'm currently working on a client issue involving a ASP.NET Website. This site initially takes 25 seconds to load on a Windows Server 2003 OS.
The same ASP.NET Website loads 2 seconds initially on a Windows Server 2000 OS. The website uses the Reports Server control for report viewing.
Perhaps a previous post gives a hint in the direction I might take to figure this out! (i.e., DLL Load Time)!
Stay posted!
After my ASP.NET website sits idle for more than 20 mins the next request is very slow. The reason is that the application domain is flushed from IIS and the application needs to be recompiled. I found this utility to be handy.http://www.spikesolutions.net/ViewSolution.aspx?ID=c2b7edc0-5de1-4064-a432-05f6eded3b82
No comments:
Post a Comment