.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Kaviya Balasubramanian
Imran Ghani
Post New Web Links

High CPU usage when the page loads

Posted By:      Posted Date: October 15, 2010    Points: 0   Category :ASP.Net
 

Hi,

 

I want to improve the performance of my web application. Whenever the page loads, it is taking 70-80% of CPU usage.

I'm using ajax timer controls to update the user controls on my page. Also I placed user controls in the update panels of my page.

How to avoid high CPU usage ?

 

Thanks,

Sailaja

 

 

 




View Complete Post


More Related Resource Links

Previous Day - High Level Reporting Usage Summary

  
Want to provide a subscription to send to management the High Level Reporting Usage Summary report. Want to always send previous day's data Monday thru Friday. How can I set that up?

Extremely Slow Page Loads

  
Thought I would reach out to the experts and see if anybody might be able to point me in a direction as I do not know where to turn next. Any and all help is greatly appreciated. All of a sudden page load times on the primary web app in my SP2007 farm are extremely slow. Making the site almost unusable. Network performance seems fine as does SQL -- no obvious errors in the logs. The problem happens intermittently. Environment: •  Win2k3 SP2 servers    •  1 WFE (VM)        •  SharePoint 2007 SP2 w/ JUN 2010 cumulative update installed.        •  Most recent WU patches applied about 10 days ago (suspected cause?)      •  1 SQL 2005 (metal)        •  The content database is 20.7 GB, so it fall withing BPs.         •  My DBA has said the DBs do not look overly fragnmented •  1 site collection •  4 web apps •  The VM environment is VMWare vSphere. Search indexing (full) is disabled; All app pools have been recycled; Warmup scripts have been run; and the server has been been rebooted. Have anyone run across anything like this before? Can you point me in a direction? Thanks in advance.

How to add some links in the right pane when page loads?

  
I need to add some links to the latest versions of something to the right side of my page dynamically, when the page loads.the links content come from a link query and stored in a list.so, the problem is adding <a href="somewhere"> </a> tag in my masterpage at onload event using the content of the list .I want to write some code in the page_load event of the master.cs file to solve this.pls help me get rid of it.

Page File % Usage

  
Hello, In SQL Server 2005, is there any other option(any DMV or DBCC or any other way) to see the page file usage apart from the perfmon counter Paging:%Usage? I know there is a new DMV introduced in SQL Server 2008 for this, but I need information for SQL Server 2005. Regards.

Page File % Usage

  
Hello, In SQL Server 2005, is there any other option(any DMV or DBCC or any other way) to see the page file usage apart from the perfmon counter Paging:%Usage? I know there is a new DMV introduced in SQL Server 2008 for this, but I need information for SQL Server 2005. Regards.

How do I display my animated image while the next page loads?

  
I have the following code so it'll show an animated progress GIF but if the site takes longer than this, it will quit. Is there a more effective way?System.Threading.Thread.Sleep(2000) Here's my update progress code:<asp:UpdateProgress ID="UpdateProgress1" runat="server"> <ProgressTemplate> <div class="PleaseWait"> Please wait ... </div> </ProgressTemplate> </asp:UpdateProgress>  

Getting connection error to a database when page loads...occasionally...

  

So occasionally after a run to the database I am getting the following error;


A connection was successfully established with the server, but then an error occurred during the login process. (provider: Named Pipes Provider, error: 0 - No process is on the other end of the pipe.)

It always happens after this query is executed during a page Load:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        myconnection = New SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True")
        myda = New SqlDataAdapter("Select * from diaryDates", myconnection)
        myda.Fill(ds, "diaryDates")
    End Sub


What does the error mean and how can I resolve it ?


sql server high memory usage

  

Hello Guys

just wondering how do you handle similar situation, we had a call from angry client saying they are unable to do anything and things take too long to complete. when i logged in i noticed that sql server taking all memory (6GB) for some reason. interestingly CPU usage is normal.

I know i can run profiler to see what queries are taking such huge memory before it happens but what if it already happened and you want to see whats currently eating all that memory ? thanks for the advise.

sql server is 2008 and our desktop app is C# 2008.


prk

SQL Server 2008 - High Memory Usage

  

Hi ,

  We are facing problem with the high memory usage with SQL Server 2008. 64 bit , standard edition sp2 . 8 GB RAM , 8 processors .

Memory usage keep on growing ..sometimes it will reach to 7.5 GB also .... and its not coming down ..untill we restart the service...

These are the details of DBCC MEMORYSTATUS :: Please suggest how to overcome this problem

Memory Manager                           KB
---------------------------------------- -----------
VM Reserved                              8484792
VM Committed                             4220368
Locked Pages Allocated                   0
Reserved Memory                          1024
Reserved Memory In Use      &n

High memory usage by the SSMS.exe and no Running Query

  

Hi i am editing a stored procedure using the SSMS (I have SQL Server 2008 SP1 - Windows 2003 Server Standard). At the begining everything is ok, but around of 3 or 4 minutes of work the ssms is becoming to slow, I open the Task Manager and I see that the process SSMS.exe is using 1.2GB of RAM Memory. I have open just one script (The stored procedure that I'm editing) but the script isnt running only editing. I dont understand that high memory because i'm not retreiving data of any query and im not running any thing on my ssms. Take a look of my task manager http://i875.photobucket.com/albums/ab319/jacarmonaro/highMemory.jpg

Other thing: When I minimize the ssms window the smss.exe process come back to a normal RAM memory usage.

Please any help??

 


JAC

High CPU usage for ReportingServicesService.exe

  
Hi,

We are using Reporting Services 2008 and we upgraded our Report Server databases from MSRS 2005 in October 2009. We had seven incidents in January where the CPU jumped to 100% and remained there until the server was rebooted or the Report Server was restarted.  In February, we have had seven more incidents where the CPU escalated to >80% but we proactively restarted the Report Server in order to avoid a 100% CPU condition.

Although the CPU spikes start at a time when reports are running, the CPU will remain at 80-100% even after the reports have finished and there is nothing in the "queue" (ReportServer..Event table). The first time (before we had a monitor in place), the 100% CPU condition lasted for 72 hours. Task manager shows that the ReportingServicesService.exe process is the culprit, consuming 99-100% of the CPU.

I have examined the ExecutionLogStorage for the periods when the CPU spikes occur and I have also examined the ReportServerService log files.  However, at this time I have been unable to find a consistent pattern or a single report that would be causing the CPU spike.

We have some good graphs of the incidents and I have examined them looking for patterns.  The spikes don't appear to always happen in the same way.  For instance, sometimes the CPU goes straight to 80% while other tim

High memory usage by the SSMS.exe and no Running Query

  

Hi i am editing a stored procedure using the SSMS (I have SQL Server 2008 SP1 - Windows 2003 Server Standard). At the begining everything is ok, but around of 3 or 4 minutes of work the ssms is becoming to slow, I open the Task Manager and I see that the process SSMS.exe is using 1.2GB of RAM Memory. I have open just one script (The stored procedure that I'm editing) but the script isnt running only editing. I dont understand that high memory because i'm not retreiving data of any query and im not running any thing on my ssms. Take a look of my task manager http://i875.photobucket.com/albums/ab319/jacarmonaro/highMemory.jpg

Other thing: When I minimize the ssms window the smss.exe process come back to a normal RAM memory usage.

Please any help??

 


JAC

SQL Server 2000 is getting very slow, memory usage also very high but restarted db service it comes

  

Hi,

I am facing slow down problem in SQL Server 2000. SQL Server is very very slow during that time memory also very high usage but when I restart SQL Service it comes to normal. Please advice, if anyone who has experienced in this type of situation. Appreciate if you help to resolve this problem. Thanks

 

S.Jay

 


Mikha

Hovermenu loads on page load in chrome not in other browsers.

  

Hi foruminas


I have a page in which u can search result for ex: restaurant search.

when u type a name in the search box u will get a result.

i will display search result using th data list.

inside that datalist i vl show the details, for showing some full details i use hover menu.

Problem i face: the hover menu is working well in IE, Firefox .

But in Chrome while i displaying the result itself hover menu is shown without an mouse over.

How to rectify this browser issue ?


Windows Service .NET running on CLR 4.0 High CPU Usage

  

We have a windows service which hosts different appdomains. This processes uses remoting over IPC and TCP to communicate across the different app domains and with other processes.

 

This process is compiled using .NET framework 2.0 (vs2005) but we forced it to run on CLR 4.0 using the following entry in the config file.

  <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0"/>
  </startup>

 

The problem is that after some hours of running, the process starts eating up the CPU cycles. When debugging with WINDBG we notice that the thread consuming much of the CPU is in fact the Garbage Collector (<gcServer> is set to true).

 

On inspection of the Heap we notice that there is a very huge array on the LOH of the type System.LocalDataStoreElement with around 18million entries all set to null. This array is copied and increased each time, which is what is causing the cpu issue.

Now in our services we are passing Identities to impersonate user in the other appdomains / processes in the Named dataslots for the different threads (we have an object which implements the ILogicalThreadAffinative).

 

This issue is not present if the process runs on the CLR 2.0. Anybody can shed to us som

Changing the graphics on the home page of a SharePoint site

  
When you create a site in Microsoft Windows SharePoint Services by using the default Team Site template, the home page includes two default graphics. A Windows SharePoint Services graphic appears in the body of the page, and a picture of a house in a circle appears near the site title. You can change these graphics to customize your site. Changing the smaller graphic requires a Windows SharePoint Services compatible Web page editor
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend