Diagnosing Problems DAD5 © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission.

Slides:



Advertisements
Similar presentations
Patrick J. Santry Microsoft ASP.NET MVP wwwCoder.com.
Advertisements

Mitchel Sellers, CEO IowaComputerGurus Inc.. Active in the DotNetNuke eco system for about 6 years Author of Professional DotNetNuke Module Programming.
Intro to SharePoint 2013 Architecture Liam Cleary.
Client side performance in Web based Banking applications Divakar Prabhu Infosys Limited (NASDAQ: INFY)
MCTS GUIDE TO MICROSOFT WINDOWS 7 Chapter 10 Performance Tuning.
Mitchel Sellers, CEO IowaComputerGurus Inc..  Active in the DotNetNuke eco system for about 3 years  Author of Professional DotNetNuke Module Programming.
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
ManageEngine TM Applications Manager 8 Monitoring Custom Applications.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 11: Monitoring Server Performance.
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
Capacity planning for web sites. Promoting a web site Thoughts on increasing web site traffic but… Two possible scenarios…
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 11 Managing and Monitoring a Windows Server 2008 Network.
Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
MSF Testing Introduction Functional Testing Performance Testing.
Capacity Planning in SharePoint Capacity Planning Process of evaluating a technology … Deciding … Hardware … Variety of Ways Different Services.
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
Enterprise Reporting with Reporting Services SQL Server 2005 Donald Farmer Group Program Manager Microsoft Corporation.
Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013.
Michael Atkins. Note:  This is a non-technical overview  Some light technical background is given, to put things in context  Some of the content is.
This presentation will guide you though the initial stages of installation, through to producing your first report Click your mouse to advance the presentation.
6/1/2001 Supplementing Aleph Reports Using The Crystal Reports Web Component Server Presented by Bob Gerrity Head.
TESTING STRATEGY Requires a focus because there are many possible test areas and different types of testing available for each one of those areas. Because.
Optimizing Your Website’s Performance A Session by Mitchel Sellers.
DNN Performance & Scalability Planning, Evaluating & Improving : Part 2.
Connect Learn Share Performance Optimization for Microsoft Dynamics CRM Presented by: Walter Grow Austin Jones.
Introduction Optimizing Application Performance with Pinpoint Accuracy What every IT Executive, Administrator & Developer Needs to Know.
MCTS Guide to Microsoft Windows 7
Build a Free Website1 Build A Website For Free 2 ND Edition By Mark Bell.
User Side Factors. Download Speed Download speed from a user’s side, is how long it takes a webpage to load, once requested. The measurement for time.
DNN Performance & Scalability Planning, Evaluating & Improving : Part 1.
Copyright ®xSpring Pte Ltd, All rights reserved Versions DateVersionDescriptionAuthor May First version. Modified from Enterprise edition.NBL.
Sustainable SharePoint 2010 Customizations By Bill Keys.
Module 7: Fundamentals of Administering Windows Server 2008.
Ideas to Improve SharePoint Usage 4. What are these 4 Ideas? 1. 7 Steps to check SharePoint Health 2. Avoid common Deployment Mistakes 3. Analyze SharePoint.
Google Analytics for Small Business Presented by: Keidra Chaney.
Microsoft FrontPage 2003 Illustrated Complete Finalizing a Web Site.
Time lag between discovering issue and resolving Difficult to find solutions and patches that can help resolve issue Service outages expensive and.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Forensic Drupal Debugging Dan Harris daneesia on drupal.org.
Module 14 Monitoring and Optimizing SharePoint Performance.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Using the Right Method to Collect Information IW233 Amanda Murphy.
“Load Testing Early and Often” By Donald Doane Presentation to the Rockville MDCFUG.
What is Web Site Administration Tool ? WAT Allow you to Configure Web Site With Simple Interface –Manage Users –Manage Roles –Manage Access Rules.
6/1/2001 Supplementing Aleph Reports Using The Crystal Reports Web Component Server Presented by Bob Gerrity Head.
Asia Pacific SharePoint Conference 2007 May 15th to 16th, 2007 Hilton Hotel Sydney.
Configuring and Troubleshooting Identity and Access Solutions with Windows Server® 2008 Active Directory®
1 © Xchanging 2010 no part of this document may be circulated, quoted or reproduced without prior written approval of Xchanging. MOSS Training – UI customization.
Server Browser Network Complex pages Too many web parts Large payload Too many files Large distance to server Complex pages Busy computer.
DotNetNuke Extension Development Best Practices Mitchel Sellers Microsoft C# MVP, MCITP.
Accelerating PHP Applications Ilia Alshanetsky O’Reilly Open Source Convention August 3rd, 2005.
Module 6: Administering Reporting Services. Overview Server Administration Performance and Reliability Monitoring Database Administration Security Administration.
Page 1 Monitoring, Optimization, and Troubleshooting Lecture 10 Hassan Shuja 11/30/2004.
DotNetNuke v4 Overview Stan Schultes Stan Schultes Enterprise architect / application developer Enterprise architect / application developer Conference.
Custom Authentication Providers For DotNetNuke v5.0 Stan Schultes – Sarasota, FL Florida Community Leader
 Cloud Computing technology basics Platform Evolution Advantages  Microsoft Windows Azure technology basics Windows Azure – A Lap around the platform.
You Inherited a Database Now What? What you should immediately check and start monitoring for. Tim Radney, Senior DBA for a top 40 US Bank President of.
Enhance Your Page Load Speed And Improve Traffic.
SQL Database Management
Start-SPPowerShell – Introduction to PowerShell for SharePoint Admins and Developers Paul BAker.
Progress Apama Fundamentals
SharePoint 2010 Performance and Capacity Planning Best Practices
You Inherited a Database Now What?
Developing GIS WebParts in SharePoint
DotNetNuke® Web Application Framework
What is SharePoint and why you should care
Microsoft FrontPage 2003 Illustrated Complete
SharePoint Saturday Omaha April 2016
Microsoft Dynamics.
SharePoint 2013 Best Practices
Presentation transcript:

Diagnosing Problems DAD5 © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission

 DotNetNuke Core Team Member  Microsoft C# MVP  User of DNN for about 4 years  Author of Professional DotNetNuke Module Programming  CEO of IowaComputerGurus Inc.  Blah, blah, blah © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission

 Before You Start  Configuration/System Validation  Data Collection  Tools/Tricks  The Diagnostic/Validation Process  High Server Resources / Tools  Excessive Traffic  General and User Specific Performance Issues  Common Performance Issue Root Causes © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission

 Ensure using a configured installation and not a baseline DNN install  Proper caching for your configuration  Proper caching location for your configuration  Many resources available to help identify best configuration  Ensure no recurring errors via Event Log  Gather any information you can from users/hosting providers © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission

 Take note of all performance settings, and any IIS customizations  Identify the problem to solve:  Pages loading too slow  Memory usage excessive  File Usage Excessive © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission

 If diagnosing a “speed” issue record relevant time data  Using same internet connection  Using same cache configuration  Using same browser and timing tool  If diagnosing a server resources issue identify other running processes, and run time of application BEFORE diagnosing  Avoids issues with “leak” type issues being misguided as systematic issues © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission

 FasterFox – FireFox Plugin  Supports consistent page load timings  Only works with non-Ajax requests  Web Developer Toolbar  Allows you to see/disable css files  Allows for disabling of cache, to see true load times  Yslow – FireFox Plugin  FireBug – FireFox Plugin  Fiddler © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission

 Not everything that YSlow mentions is bad  Items to Focus on  Fewer HTTP Requests  Expires Date in Future  Don’t Scale Image in HTML  CSS Size/Minification  Items of Less Importance  Use CDN for Static © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission

 Start at the high level  Server resources?  Excessive traffic?  General Site Performance ▪ Recent changes? (Modules/Extensions) ▪ Specific users?  Not an “instant fix”  Try-Adjust-Retry  Identification is key  Be careful to only change 1 aspect at a time for proper testing © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission

 Typically the hardest scenario to diagnose  High CPU Usage – ASP.NET  Check for newly installed modules  Validate Scheduled Jobs  Validate cache configuration  Validate traffic to the site  High Memory Usage – ASP.NET  Check for newly installed modules  Switch caching to “File” rather than memory to see if benefit © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission

 High CPU Usage – SQL Server  SQL Profiler: Trace on SP Execution time  Ensure scheduled jobs not running too often ▪ Web Farm Users – Be sure to run on specific servers  High Memory Usage – SQL Server  Ensure that proper configuration is completed © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission

 ANTS Profiler/ Dot Trace .NET Profiling tools  Require source code to be truly effective  Requires development knowledge  SQL Server Profiler  Easy to use  Can easily spot high traffic, or long running items  Requires SQL Server knowledge typically to “fix” identified issues © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission

 Validate that traffic is excessive  Google Analytics  IIS Logs and Third Party solutions  Identify specific pages/functions  Validate modules  Typically sporadic issues that will resolve quickly  Usage of DotNetNuke Site Log with abrupt traffic surges can be problematic © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission

 Take Baseline Timings  Homepage  Interior Pages  Module heavy pages  Ensure that timings are all taken at the same time  Typically average of 3 requests averaged is best  Once with Cache enabled  Once with Cache disabled  Ensure that testing is happening with standard usage patterns/hardware © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission

 Look for systematic issues or trends  Homepage slower than all  All pages with ___ module are slower  Only when I do _____ is the site slow  Ensure that testing scenarios cover the areas of concern  Take action based upon the above identification © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission

 Identify modules in use on page?  Are they used elsewhere?  If so, do those pages also have issues  Are you using any modules in a “less than ideal” manner  Form modules with hundreds of fields  XML Module with massive transformations  Aggregator modules with large numbers of sub aggregated bits of content © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission

 Create a test page/environment  Start re-creating the functionality of the page in question  Baseline performance and continue to monitor  Before adding to page  After adding to page  After initial configuration  Incrementally throughout the configuration process with final performance  Use this information to determine if it is the module itself, or something else © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission

 A bit harder than other tests  Revert to the base DNN Skin  Navigate around the site to fill the cache  Take performance benchmarks and validate against previous numbers  If performance is better, check the skin for specific skin objects or.NET code components © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission

 Ensure that users are validating performance in “View” mode rather than edit mode  Check users membership in roles  See if other users, with same roles encounter similar performance issues © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission

 Remove unused modules from the installation  Ensure regular database backups are being completed  Ensure scheduler jobs are running at desired frequencies  Validate event log for exceptions on regular basis  Watch usage of “Swiss Army Knife” modules © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission

 Ensure that you know and trust the developers of modules you are using  When using “utility” style modules that provide robust configuration, flexibility, and extensibility remember that they may come with a cost at times © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission

 Contact Info   Blog:  © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission

 FasterFox -  Web Developer -  Yslow –  FireBug –  ANTS Profiler -  Dot Trace - © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission