How to use Sysinternals tools to troubleshoot SharePoint/Office

Slides:



Advertisements
Similar presentations
Presentation Heading – font Arial
Advertisements

ESafe Reporter V3.0 eSafe Learning and Certification Program February 2007.
MCTS GUIDE TO MICROSOFT WINDOWS 7 Chapter 10 Performance Tuning.
A Quick Review of Unit 2 – Using Windows 7 Computing Fundamentals © CCI Learning Solutions.
Module 5: Creating and Configuring Group Policy
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 11: Monitoring Server Performance.
Chapter 14 Chapter 14: Server Monitoring and Optimization.
Chapter 11 - Monitoring Server Performance1 Ch. 11 – Monitoring Server Performance MIS 431 – created Spring 2006.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 10: Collect and Analyze Performance Data.
Microsoft SharePoint 2013 SharePoint 2013 as a Developer Platform
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 14 Server and Network Monitoring.
COMPREHENSIVE Windows Tutorial 10 Improving Your Computer’s Performance.
Maintaining and Updating Windows Server 2008
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 11 Managing and Monitoring a Windows Server 2008 Network.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 14: Troubleshooting Windows Server 2003 Networks.
Hands-On Microsoft Windows Server 2008 Chapter 11 Server and Network Monitoring.
CH 13 Server and Network Monitoring. Hands-On Microsoft Windows Server Objectives Understand the importance of server monitoring Monitor server.
Windows Server 2008 Chapter 11 Last Update
Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013.
11 SUPPORTING INTERNET EXPLORER IN WINDOWS XP Chapter 11.
Virtual Memory Tuning   You can improve a server’s performance by optimizing the way the paging file is used   You may want to size the paging file.
Chapter 17: Watching Your System BAI617. Chapter Topics Working With Event Viewer Performance Monitor Resource Monitor.
For SharePoint 2010 In This Presentation: Connect Overview Connect Requirements Connect Installation Connect Initial Launch Explore SharePoint Upload.
With Microsoft Windows 7© 2012 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Windows 7.
®® Microsoft Windows 7 for Power Users Tutorial 8 Troubleshooting Windows 7.
MCTS Guide to Microsoft Windows Vista Chapter 11 Performance Tuning.
MCTS Guide to Microsoft Windows 7
CN1260 Client Operating System Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
Module 7: Fundamentals of Administering Windows Server 2008.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
Microsoft FrontPage 2003 Illustrated Complete Finalizing a Web Site.
CMPF124 Personal Productivity with Information Technology Chapter 1 – Part 4 Introduction To Windows Operating Systems Basic Windows Admin Introduction.
Database-Driven Web Sites, Second Edition1 Chapter 5 WEB SERVERS.
ServerProtect 5.58 for NT Tech Support Dep.. Table of Contents Introduction and Installation Managing ServerProtect Configuring ServerProtect Maintaining.
Module 2 Part IV Introduction To Windows Operating Systems Basic Windows Admin Introduction To Windows Operating Systems Basic Windows Admin.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Windows Vista Inside Out Chapter 22 - Monitoring System Activities with Event Viewer Last modified am.
®® Microsoft Windows 7 for Power Users Tutorial 9 Evaluating System Performance.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
Module 4 : Installation Jong S. Bok
Learningcomputer.com SQL Server 2008 – Profiling and Monitoring Tools.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Virtual techdays INDIA │ august 2010 Windows Sysinternals Primer: Process Explorer, Process Monitor & More Tools Aviraj Ajgekar │ Regional Site Manager.
Troubleshooting Security Issues Lesson 6. Skills Matrix Technology SkillObjective Domain SkillDomain # Monitoring and Troubleshooting with Event Viewer.
Module 5: Creating and Configuring Group Policies.
CH 13 Server and Network Monitoring. Hands-On Microsoft Windows Server Objectives Understand the importance of server monitoring Monitor server.
DataFlow Diagram – Level 0
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
Module 13: Monitoring Resources and Performance. Overview Using Task Manager to Monitor System Performance Using Performance and Maintenance Tools to.
Msdevcon.ru#msdevcon. ИЗ ПЕРВЫХ РУК: ДИАГНОСТИКА ПРИЛОЖЕНИЙ С ПОМОЩЮ ИНСТРУМЕНТОВ VISUAL STUDIO 2012 MAXIM GOLDIN Senior Developer, Microsoft.
Optimizing Windows Vista Performance Lesson 10. Skills Matrix Technology SkillObjective DomainObjective # Introducing ReadyBoostTroubleshoot performance.
MICROSOFT ONENOTE ADVANCED MODULE 1 EXPLORE ONENOTE 2010  Navigate in the OneNote program window  Work in the OneNote program window  Explore.
Troubleshooting Workflow 8 Raymond Cruz, Software Support Engineer.
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
Environment Manager Troubleshooting and Debugging.
Maintaining and Updating Windows Server 2008 Lesson 8.
11 SUPPORTING INTERNET EXPLORER IN WINDOWS XP Chapter 11.
Windows Vista Configuration MCTS : Internet Explorer 7.0.
XP Creating Web Pages with Microsoft Office
| © 2007 LenovoLenovo Confidential Use WinDBG Tool to Analyze BSOD —— Lenovo Service Support Training.
SQL Database Management
Chapter Objectives In this chapter, you will learn:
Hands-On Microsoft Windows Server 2008
Environment Manager Troubleshooting and Debugging
Unit OS5: Memory Management
Presentation transcript:

How to use Sysinternals tools to troubleshoot SharePoint/Office Chad Schultz Chad.a@microsoft.com Premier Field Engineer, Microsoft

Sysinternals History Started in 1996 Microsoft acquired Sysinternals in July, 2006 Mark Russinovich working at Microsoft as Technical Fellow on Windows Azure Sysinternals Forum http://forum.sysinternals.com/

Sysinternals Tools Info/Download Sysinternals on the “Net” http://technet.microsoft.com/en-us/sysinternals/default.aspx Download the tools http://live.sysinternals.com/tools Drag and Drop newest tools NET USE S: http://live.sysinternals.com/tools

Sysinternals Tools Continued… Not loaded on Windows operating systems by default Work in Windows 2000 SP4 and up No installer/uninstall for these tools Always right-click and ‘Run as administrator’ on Vista & up The first time the programs are run, the EULA will display, after accepting the EULA the first time, this screen should not reappear Tool command line switches ToolName /? ToolName /AcceptEULA

Sysinternals Tools Process Explorer Process Monitor AccessEnum VMMap

Process Explorer Task Manager on steroids! Monitors running process in real time No historical data Graph data per machine and process Show parent/child processes Can view process DLLs, threads and handles Change default columns

More Process Explorer Lists environment and privileges for each process Shows DEP, ASLR, 32/64 bit and virtualized processes Memory dumps Process Highlighting Load Dbghelp.dll from Debugging Tools for Windows Windows SDK Configure symbols for thread stack information SRV*c:\websymbols*http://msdl.microsoft.com/download/symbols Find window Real-time performance indicators per process

Process Explorer Excel Screenshot of Excel 2010 64-bit without ad-ins or macros Excel is only running native code. No .NET. Excel is running .Net code; Excel Automation, add-in, etc.

Lab 1 Use Process Explorer to troubleshoot blank page error

Process Monitor Collects system event data while running Monitors File, Registry, network and process activity Runs on Windows 2000 SP4, XP SP2, Vista, 2003, 2008 and Windows 7 32 bit and 64 bit Does not capture historical performance data Can save events for later research 3 formats; PML, CSV and XML Backed by page file; 199 million events max Performance impact minimal

More Process Monitor Filters; Menu & right-click Tools->Count Occurrences

Process Monitor Results Primer Error results aren’t necessarily bad: ACCESS DENIED Often the source of problems DELETE PENDING The file or folder is trying to delete, but an open handle may be stopping the delete NOT FOUND, PATH NOT FOUND, NAME NOT FOUND Common in DLL PATH searches, queries for optional functionality or settings BUFFER OVERFLOW, BUFFER TO SMALL Application is asking how much data there is FAST IO DISALLOWED Internal indicator that optimized I/O path is not available END OF FILE Application tried to access beyond the end of a file, normal operation REPARSE Symbolic link traversal For more information on these error codes see; http://msdn.microsoft.com/en-us/library/ms681381.aspx

Lab 2 Use Process Monitor to Troubleshoot “Server Error in ‘/’ Application

AccessEnum Check permissions of a folder structure Good to run after finding “Access Denied” events in Process Monitor Common problem areas ASP.Net temporary file location c:\windows\Microsoft.net\Framework(64)\v2.0.50727\Temorary ASPNET Files %temp% file location

Process Monitor Excel View Name Not Found event while loading Excel with .Net code Demo

VMMap Graphical representation of virtual memory allocations for a process Live output Task Manager and Process Explorer is just one side of checking memory in use

Lab 3 How much total memory does Excel use?

SharePoint Processes to Monitor Windows SharePoint Services Timer (OWSTIMER.EXE)  Internet Information Server application pools (w3wp.exe) Office SharePoint Server Search parent process (mssearch.exe) SharePoint Search crawl process (msdmn.exe)

SharePoint Issues to Monitor Badly performing application pools Security event login failures to local resources Timer job errors Crawling local file system content sources Installation errors

SharePoint Issues not to Monitor Crawling SharePoint Sites or external sources SQL login failures SQL connection issues Performance issues where detailed historical performance information is needed

Labs Lab 1: Application Pool Process Lab 2: Basic usage and SharePoint Installation Error Lab 3: Application Pool Performance Lab 4: SharePoint Server Error

Links/Questions? Most up to date tools: Sysinternals blog: http://live.sysinternals.com Sysinternals blog: http://blogs.technet.com/sysinternals http://forum.sysinternals.com/ Chad’s Blog: http://blogs.technet.com/Chad Mark’s Blog: http://blogs.technet.com/markrussinovich