Solved

How to isolate performance issue?

Posted on 2009-07-15
4
233 Views
Last Modified: 2012-05-07
I have an asp.net 3.5 web application running on Windows Server 2003.  There is one section that makes use of DHTML (for tabs and other dynamic features) plus .NET Charting.  On two Windows Server 2003 boxes, this particular section is very slow.  However, locally for devs, and on other 2003 boxes, it works fine.  

On one day, someone will see a specific performance issue in that section.  On the next day, another person won't.  However, there are consistent performance issues across all people.  Everyone is accessing through intranet.  These Server 2003 boxes are Terminal Servers.  There must be a configuration issue causing this, rather than anything actually in the code base right?

What is a good place to start in narrowing down potential issues and figuring out the problem?
0
Comment
Question by:brettr
  • 2
  • 2
4 Comments
 
LVL 11

Expert Comment

by:b_levitt
ID: 24863350
Because so far I've heard dhtml and charting I would start with an http proxy like fiddler to see which browser request is the culprit (asp.net file vs a resource file the html is requesting like the chart)

http://www.fiddler2.com/fiddler2/

Identify that and write back.
0
 

Author Comment

by:brettr
ID: 24864828
Using Fiddler, on one particular tab that takes the longest to load, I see only an aspx page in Fiddler for the request.  Whereas, all the other tabs also load PNGs and sometimes JS.  From this, I'd think this one tab should be the fastest, yet it is the slowest.

What else should I look at?
0
 
LVL 11

Accepted Solution

by:
b_levitt earned 500 total points
ID: 24865829
I mostly wanted to make sure the chart component wasn't the bottle neck.

What does this aspx page do for this tab?  Does it access the database?  Does it have any for/while loops?  Is it sending a large amount of data?

If it's an option to cut external traffic to one of these servers than you could remote debug and step each line of code, looking for long delays.  if that's not an option you could add trace lines (Trace.Write i think) and enable tracing on the page to try to isolate where the slow part is.
0
 

Author Comment

by:brettr
ID: 24886724
Thanks for the suggestions.  They point me in the right direction.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question