Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Slow load times and High CPU Usage on server.

Status
Not open for further replies.

briandic

Programmer
Jan 3, 2008
6
US
I am very new to ASP.NET and it's quite possible there is some "not so optimized" code in my website. We are experiencing extremely slow load times and sometimes no load at all. There are 2 processes on the server that run the cpu at high volumes. I do not know where to begin troubeshooting this issue. I do not have .net studio, only dreamweaver and visual web developer. I have tried dotTrace, but I don't know what to look for or how to use this tool. Please help. thanks.
 
I'm not sure how to use that. Do I just put that at the top of my page and that's it? How will I know where my problem is? Where can I find the trace log?
 
Ok, the big thing I noticed was:

Begin Load 0.00107373830440683 0.000019
End Load 100.018537963717 100.017464

I know that doesn't help, but I'm not sure what other part could be the problem.

Is there a limit on how many characters should be in a Session variable? Is there a thing as "too many"? I store a <ul> for our site navigation in a Session variable. Could that be a problem?
 
Oh, I remember now. I added trace warn statements throughout my code, but still waiting on a result...
 
ok, seems like the longest item now is our navigation, but it's not THAT long, and it doesn't tell me what's causing all these problems.

Begin Load 0.000206745232483394 0.000018
First thing 0.000226743804013999 0.000020
Header built 0.000318422255553175 0.000092
Footer built 0.000380007856581673 0.000062
page query 0.0022338604385401 0.001854
before content 0.00229100635668881 0.000057
after content 0.00235524676808799 0.000064
session strings built 0.049388602242697 0.047033
maint. message built 0.0509859631454896 0.001597
nav bar built 0.468638735804585 0.417653
 
i think the problem may have been too large of a string stored in a session variable. I am doing this a different way and it seems to have helped my situation. Thanks for the advice on the trace, that really got me started on the path to resolution of this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top