Performance - Slow First Page Load On Site?

Jan 20, 2010

Every now and then (always after a long period of idle-time, e.g. overnight) when I access a site built using asp.net - it takes around 15 seconds to load the page (15 seconds before I see any progress whatsoever, then the page comes up fast).Further pages on that site, or refreshes, are quick as usual - they are also fast on other machines, only the first one seems to take the 'hit'.

Page tracing never through anything up (whole cycle was a fraction of a second) So my question is where else should I be looking? Perhaps IIS? Or could it still be my asp.net app and I'm just looking in the wrong place (the trace) for clues?As I don't have much control over the IIS server, anything I can check through asp.net would be more helpful, before I go ask that particular admin.

View 7 Replies


Similar Messages:

Web Forms :: Performance Slow / Being Load Most Speedy Then Pages Developed?

Jan 19, 2010

I often Observed that pages developed in simple asp is being load most speedy then pages developed in asp.net ,

View 5 Replies

Forms Data Controls :: Binding Gridview - The Performance Of The Page Is Very Slow

Jan 20, 2011

I am using gridview. In which i m entering some value in textbox in Gridview.According to that value, i m generating datatable and binding it to the Gridview(Child Gridview).But when i m doing this, the performance of the page is very slow. How do i improve the performance.

View 3 Replies

Slow Initial Page Load

Jan 22, 2010

I'm writing a simple web site using codebehind for each page, however using the "codefile" directive, not "codebehind" as such, because I'm not precompiling. I'm just using a text editor to edit the aspx and codebehind files. Problem is, every time I make a change to the code or the aspx file, and refresh the page in the browser, it takes a 2 or 3 seconds to come up the first time, like it's doing an on-demand initial compile. I assume that's what it's doing, as after the initial load, the page refreshes without any delay at all.

This behaviour is quite frustrating when making small changes to the html or code. I'm coming from classic ASP, where you could edit-refresh-edit-refresh etc. all day without your "stride" being broken by waiting for a "compile", you know? So I'd love to know if there's a setting which prevents this initial delay. When I want to deploy, I can do a compile or something, but while making lots of small edits, I just need the page to run without that initial delay.

View 6 Replies

Web Forms :: Page Load Very Slow?

Sep 21, 2010

I've developed a web page Client.aspx that is used for editing a client. This application has been deployed and I made sure that debug='false'.Upon selecting a client from the dropdownlist, his/her information is retrieved for editing. This retrieving process is very slow( about 9 seconds).Except this DropDownList, all the other controls on this page are within the Update Panel. There are 2-3 other Update Panels within the main Update Panel.

When a client is selected from the DropDownList, the Client_ID (DataValueField) is used to retrive the informationSELECT * FROM CLIENTS WHERE Client_ID=1576
This method returns a dataset.In the calling method I'm assigning these values to the respective fields.Some JavaScript is used for validating Phone#.I also have a RadioButtonList on this page. When one of the ListItem is selected I need to disable a TextBox. Even this process is taking much time than expected.

View 4 Replies

Configuration :: First Page Load Incredibly Slow?

Sep 3, 2010

The first time that my page loads (this is after it has been deployed), it is terribly slow.

My guess is that it is still compiling dynamically, and not precompiling.When I publish through VS2008 I have "Allow this precompiled site to be updatable" unchecked and "Use fixed naming and single page assemblies" checked.Could I be missing something in my web.config file?

I can post the URL of the site if you would like to view it, but it takes 10+ seconds to load upon first visiting, and then less than 1 second to navigate the site.

View 3 Replies

OutputCache Page Directive To Improve Performance Of The Site

May 14, 2010

I am having trouble with the performance of a web site... Some SQL queries are killing the server. But, as the title of this post mention, I looked at the OutputCache page directive to improve performance of the site. Although, I came across some questions regarding this directive:

1- If I have a web-user control that declares an OuputCache directive in a page that has one too, which one will "win"?

2- What's the best pratice regarding the duration ? I'd love to have a sliding window too.

View 2 Replies

MVC :: Asynchronous Ajax Partial Loading - The Page Load Slow

Feb 20, 2011

I have a MVC view using the following VM.

[Code]....

Currently the page load slow. I am thinking of using JQuery load and render List<A> and List<B> separately and asynchronously. Can I still use MVVM pattern? Or I had to create to controller methods returning List<A> and List<B> separately?]

View 2 Replies

Performance - Application Slow But CPU Is At 40% Max?

Nov 19, 2010

I have a strange situation on a production server. Connection for asp.net get queued but the CPU is only at 40%. Also the database runs fine at 30% CPU.

Some more history as requested in the comments:

In the peak hours the sites gets around 20,000 visitors an hour.
The site is an asp.net webforms application with a lot of AJAX/POSTs
The site uses a lot of User generated content
We measure the performance of the site with a testpage which does hit the database and the webservices used by the site. This page get served within a second on normal load. Whe define the application as slow when the request takes more than 4 seconds.
From the measurements we can see that the connectiontime is fast, but the processing time is large.
We can't pinpoint the slowresponse the a single request, the site runs fine during normal hours but gets slow during peak hours
We had a problem that the site was CPU bound (aka running at 100%), we fixed that
We also had problems with exceptions maken the appdomain restart, we fixed that do
During peak hours I take a look at the asp.net performance counters. We can see behaviour that we have 600 current connections with 500 queued connections.
At peak times the CPU is around 40% (which makes me the think that it is not CPU bound)
Physical memory is around 60% used
At peak times the DatabaseServer CPU is around 30% (which makes me think it is not Database bound)

My conclusion is that something else is stopping the server from handling the requests faster. Possible suspects:

Deadlocks (!syncblk only gives one lock)
Disk I/O (checked via sysinternals procesexplorer: 3.5 mB/s)
Garbage collection (10~15% during peaks)
Network I/O (connect time still low)

To find out what the proces is doing I created to minidumps.

I managed to create two MemoryDumps 20 seconds apart. This is the output of the first:

!threadpool
CPU utilization 6%
Worker Thread: Total: 95 Running: 72 Idle: 23 MaxLimit: 200 MinLimit: 100
Work Request in Queue: 1
Number of Timers: 64

and the output of the second:

!threadpool
CPU utilization 9%
Worker Thread: Total: 111 Running: 111 Idle: 0 MaxLimit: 200 MinLimit: 100
Work Request in Queue: 1589

View 3 Replies

Databases :: Very Slow Performance With Sql?

Nov 22, 2010

I'm using MySql with asp.net 2.0. Every page witch has a database operation take long time to complete. How can i increase the performance.

View 1 Replies

Can Large External JavaScript Files Slow Down The Page Load Time

Aug 4, 2010

When we include Javascript files in our aspx files. either we write all the Javascript code in the Head section of aspx or we link to an external Javascript file.

So when the clinet makes a call to that page. Does that mean that all the Javascript will be loaded on the client side?

If that is the case then does not that mean that it will slow down the loading of page as all the Javascript has to be loaded on the client machine?

View 3 Replies

Configuration :: Slow Initial Page Load Speed And Compile Settings

Dec 8, 2010

Over the last week I've been investigating an issue for one of our clients whereby the initial page load following a deployment of their website takes around 1 minute, resulting in unacceptable downtime for end users. This was happening not only for code deplyments (bin dll's and .config files) but also if there were large numbers of .aspx pages updated. For code deployments it's not an issue, but for aspx updates it is; in this particular scenario, we are making use of a 3rd party content management system (RedDot from OpenText) in which every page of the site is published out as a distinct .aspx page. This means that for this website there's somewhere in the region of 2,400 separate .aspx pages. I realise this isn't an ideal situation but we're working within the constraints of the CMS, and we managed to correlate the instances where the site was unresponsive with App pool restarts, which also corresponded to publications of of .aspx pages.

I found an article by Tess Ferandez [URL] which describes all the reasons why the app pool may restart, and it does seem that if more than 15 .aspx pages are changed then the app pool will recycle and the pages will be re-compiled. Another msdn article [URL] then gave me a few pointers on how to start addressing this problem, and for the moment I've set a flag on the compilation options to prevent batch compilation:

<compilation batch="false">

This means that the initial page load now takes around 6 seconds instead of 1 minute, which is a great improvement. However, I also used the "Compilations Total" performance counter to investigate the number of pages that have been compiled by ASP.NET for my site and was quite surprised that the total number of pages that get compiled peaks at 44, which is odd given that there are 2,400 aspx pages in the site. If the batch flag is set to false, the counter slowly increments by 1 page at a time as you click around on the site; if batch mode is true, the initial compilation takes the number straight to 44 over the course of ~60 seconds. What I'm really struggling to understand is why all 2,400 pages aren't compiled. Does anyone have any inside info on what might be going on as all the documentation I've read seems to indicate that all of the pages should be compiled and this counter should be much higher.

View 1 Replies

Performance - Application Running Slow?

Feb 22, 2011

There's a web app I've been assigned to, which is running very slow. It is a site that sells products so it is database driven, however even pages that do not query the database are loading very slow. The pages use master pages, and the code is in VB.NETI checked with fiddler and the time it takes to load basic (non database driven) pages are about 5.5 seconds on average.

What are some tools that can help me determine the cause of the slow speeds, and any recommendations as to how to speed it up, or potential issues that could cause it?UpdateSo I messed around with the code piece by piece as I wasn't getting anywhere with these tools. As soon as I remove master pages, and I include the same code that's on the master pages in the .aspx page itself, the speed improves drastically (approximately 5 times faster load times).What might cause the master pages to cause load times to slow down so much?

View 4 Replies

Performance - Webforms W/ AJAX Slow Rendering?

Mar 1, 2010

I have a Webforms, AJAX-enabled web page which, when rendering large amounts of data, is extremely slow to load in IE (we're married to IE - no other browser options). In an attempt to determine the source of the slowness, I viewed the HTML source (about 2.5 MB) and copied all of it (except for the Ajax JavaScript calls) to a blank .html file. IE renders this file MUCH faster than when the rendering happens through .Net. This seems to indicate that the AJAX JavaScript is slowing down the display of the page. Does this sound plausible? Any recommendations on improving performance here?

I've already eliminated as many UpdatePanel controls as I can from the page, but it doesn't seem to help with render time.Update... In the HTML source, I noticed that at the bottom of the screen, a call to WebForm_InitCallback() appears. When I executed this call directly through javascript:alert(WebForm_InitCallback());, the CPU spikes for 12 seconds before it completes! This call is here because I implemented ICallbackEventHandler to try to accomplish some traditional-style AJAX handling. Looking at WebResource.axd, that WebForm_InitCallback() method iterates through the entire form and attaches some kind of events to EVERY SINGLE textbox, checkbox, radiobutton, etc. So I guess I really need to abandon ScriptManager and UpdatePanel altogether here.

View 1 Replies

Improving Performance / User Is Complaining That It Is Too Slow?

Feb 16, 2011

I have developed a gridview which has 7,000 records with some filtering. However, theuser is compaining that it is too slow. It seems to me that if the records were stored in memory it would be much faster. This is caching, I think. Is that the case? Can you updaterecords this way? Can you cache with an Access database or do you have to use SQL Server? Can you think of any other ways to improve

View 11 Replies

AJAX :: Calling Resource Files Many Times - Slow Performance

Mar 2, 2010

Whenever I use ASP.NET AJAX it's calling Resource.asx files many times and it's affecting site performance. How can we avoid that?

View 3 Replies

Configuration :: Slow Performance With Offshore Hosting - Does Distance Between Servers And DBs Matter

Sep 7, 2010

I just had to moved a site of mine from a hosting service here in the states to an offshore host located in Malaysia. My database is still located on the east coast of north america and I am wondering if the distance between the database and the file system might be to blame for slow load times or if moving my database as well would be a waste of time.

View 2 Replies

Configuration :: 2.0 Site On IIS 6 - Loads Super Slow And Sometimes Throws "Page Not Found" On Post Back?

Jan 24, 2011

Looking for advice on how to troubleshoot an application (not something I wrote) that is on the old 2.0 Framework. It acts "crazy" sometimes when selecting an item from a drop down list. Sometimes the page will reload like it should on the post back with the new data, while othertimes, it just throws a Page Not Found error. What's the best way to troubleshoot and eliminate the various variables of IIS6, 2.0 Framework, SQL Server, the VirtualMachine, etc.

View 3 Replies

WCF / ASMX :: Wcf Performance Vs Page Events Performance?

Mar 20, 2011

I am creating a service oriented application where trying to have everything using services....however there is something I am not sure of , I am having a page that calls the database at the page load...so what would be better and faster?? to call database in pageload , or to call wcf service from javascript during javascript load ??btw , I am using a repeater in the page , but I have created somekind of an engine to create the suitable html so...I'll be creating the repeaters html using the wcf and resend it back to the page If I am using a wcf service at the start.

View 1 Replies

AJAX :: Data Driven Site - Clean Page Load?

Jul 2, 2010

I have a data driven site that displays a lot of information, particularly images, using listviews contained within UpdatePanels, since this data can change with each post back you often see 'submit query' before the Item image appears. So, is there a way of making the page display only after it has finished loading data? The delay as the page loads is only brief but looks quite ugly when 'Submit query' appears all over the site.

View 2 Replies

Site Is Too Slow In Local Machine?

Jan 17, 2011

im Developing a site since a very long time,Using a remote database Connection.Previously site in local machine runs fast.But now a days even login takes morethan a min (in Local) but on hosting it runs as fast as it was

View 1 Replies

Improving The Web Site Performance?

Jun 29, 2010

I have a pretty big web site (asp.net web) and I have used JavaScript intensively (jquery,custom javascipt, etc) and also The theme and CSS. Right now I have a huge amount of js and css files in my system and I am thinking about minifying and smashing the js and css to improve the performance. So, please advice me the suitable tools and technologies to be used and please suggest me the best practices to be applied in these scenario.

View 4 Replies

Optimizing Performance Of Site?

Oct 17, 2010

I have a site running on.NET 4 and it seems sluggish compared to its .NET 3 counterpart even though it is running on a faster box. Is there some type of guide for recommended optimizations on the server to increase performance?

View 2 Replies

Web Forms :: Improve Performance Of Site?

Aug 7, 2010

I see bugs? give me your opinion really improve my site es [URL] this is metasearch fly meta search flights

View 2 Replies

AJAX :: Using Pages Extremely Slow Load?

Feb 18, 2010

So i'm new to AJAX and just installed the AJAX toolkit.

When i have tried to used any of the object there my page are really slow, it like the server is forever to compile the site and when that is done the browser shows it in a flash.

You can see here :

[URL]

This is not a problem when using only ASP.NET.

When i debug in VS2008 i can see that is looking for some random files when compiling like C:AjaxBuildAjaxServerAjaxControlToolkitToolkitScriptManagerToolkitScriptManager.cs and alot of other stuff, it goes through alot of setting there and i think that is the hold up, why it's so slow.

I have Sp1 installed, running Windows 7 64bit.

These pages are very small and standard. I basicly drag a toolkitscriptmanager, htmleditor, textbox and two buttons to the form. There isnt more.

This is the code for the first page :

[Code]....

The host has AJAX support and has installed SP1 for .NET.

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved