Saturday, October 22, 2016

SharePoint Prod Issue Trouble shooting steps By MS By diff Engineers

Rough Steps are drafted here.
Hope i will get some time to fair it


Merge-SPLogFile -Path "C:\FarmMergedLog.log" -Overwrite -StartTime $start - EndTime $end

Merge-SPLogFile -Path "D:\FarmMergedLog1435.log" -Overwrite -StartTime "10/19/2016 14:35:00" - EndTime "10/19/2016 14:40:00"
$start=get-date
Browse the page , produce the error
$end=get-date
Merge-SPLogFile -Path "C:\FarmMergedLog.log" -Overwrite -StartTime $start - EndTime $end



Set-SPLogLevel -TraceSeverity VerboseEx
Clear-SPLogLevel



---
1. Inetmgr, go to the w3wp3.exe , generate memory dumps for by selecting the process.
it will generate memory dumps in c:\users\userid\app\temp\                                                                                       
Install debug diag tool and analyze the memory dumps
SQL Server:

frequen of reindexing and update statistics
blocking
long running queries
deadlocks
CPU
Memory


custom error s need to turn off
httperrors turned off

--
fiddler trace
Net Mon ( Network Monitor)
ipconfig /flushdns

----
load balancer traffic

----
ULS logs
----

http probe check turned on

Steps to collect netsh trace from both endpoints in the test.
1. Open command prompt as administrator on both endpoints in the test
2. Issue the following command to start the network trace on the client machine and server
a. netsh trace start scenario=netconnection fileMode=circular maxsize=2048 tracefile=c:\%computername%.etl capture=yes
3. recreate the issue (open the connection to the server)
4. Once the error occurs issue the following command to stop the network trace endpoints in the test
a. netsh trace stop
5. After the files get created please rename the .cab and .etl files to reflect the machine name where file was collected.
6. Then upload those files to the workspace created for this issue.(please let me know if you need that login information again)


https://support.microsoft.com/en-us/kb/977453

netsh int tcp set global chimney=disabled
netsh int tcp set global rss=disabled
netsh int ip set global taskoffload=disabled
netsh int tcp set global autotuninglevel=disabled

from Raghavendran to Everyone:
netsh int tcp set global congestionprovider=none

 remote visual debugger to debug from the stage / prod machine, if you have the approvals

process monitor, to monitor the changes of Registry values
weblog expert to analyze the sharepoint IIS logs

No comments:

Post a Comment