Commit Graph

33 Commits

Author SHA1 Message Date
Jonathan Abrahams
d65a41a35d SERVER-28415 Run thread backtrace before loading Python modules in hang_analyzer.py on ARM platform 2017-03-23 13:14:33 -04:00
Jonathan Abrahams
19abe0c2da SERVER-27874 - Hang analysis thread backtrace and mongo locks
- Run unique thread on Solaris
  - Add a legend to graph file
  - Do not generate digraph file, if graph is empty
2017-03-21 15:45:39 -04:00
Jonathan Abrahams
5fe822f53e SERVER-27874 Display locks and generate digraph for threads using LockManager locks and/or pthread_mutexes 2017-03-16 14:39:09 -04:00
Jonathan Abrahams
eaf3190fd5 SERVER-27873 Dump a JavaScript backtrace of any code running in SpiderMonkey in hang_analyzer.py 2017-03-16 09:49:43 -04:00
Eddie Louie
dbf7adc73d SERVER-27877 Write function to deduplicate stacks from different threads in GDB 2017-03-09 19:35:11 -05:00
Mark Benvenuto
7ca96b371e SERVER-27462 Remove Python 2.6 compatibility code from scripts in buildscripts/ directory 2017-03-09 13:47:54 -05:00
Jonathan Abrahams
b2ccf54b27 SERVER-27817 Remove extraneous messages from hang_analyzer.py 2017-02-27 19:35:41 -05:00
Jonathan Abrahams
d124f6c14f SERVER-27871 Add hang_analyzer.py option to produce core dump, default to off 2017-02-27 19:17:42 -05:00
Jonathan Abrahams
0700bcb7da SERVER-27870 Add option to invoke hang_analyzer.py with an explicit list of PIDs 2017-02-27 17:50:15 -05:00
Jonathan Abrahams
4bd3616208 SERVER-27869 Create a build artifact of hang_analyzer.py output and upload it to S3 2017-02-23 13:12:39 -05:00
Eddie Louie
89cc7047e7 SERVER-27876 Exclude stacks that are duplicates when dumping stacks on
Windows in hang_analyzer.py
2017-02-21 17:21:57 -05:00
Eddie Louie
baedb6631e SERVER-27875 Dump locked critical sections on Windows in hang_analyzer.py 2017-02-21 16:04:55 -05:00
Jonathan Abrahams
afd3c348e1 SERVER-27684 Remove hang_analyzer timeout 2017-01-17 19:05:04 -05:00
Mark Benvenuto
e713fab06d SERVER-27191 hang analyzer should dump lock manager state 2016-12-08 15:15:01 -05:00
Mark Benvenuto
aad88dd01b SERVER-26634 GDB Pretty-Printers and Commands 2016-12-08 15:15:01 -05:00
Mark Benvenuto
cd675c9e3d SERVER-15407 Set Thread Name in Windows, Mac OS X, and Linux 2016-12-02 11:45:16 -05:00
Mark Benvenuto
1ff7169ec6 SERVER-26931 Add file:line info to windows hang analyzers 2016-11-11 10:51:01 -05:00
Mark Benvenuto
cc32f2cf59 SERVER-26842 dump the go stack traces on hung tools in the hang analyzer 2016-11-04 12:18:02 -04:00
Mark Benvenuto
2ea868d3c1 SERVER-25761 hang_analyzer should use GDB in the mongodb tool chain 2016-08-24 13:12:21 -04:00
Mark Benvenuto
48594ea613 SERVER-25288 Configure hang_analyzer.py to generate coredumps on Linux 2016-08-17 11:22:42 -04:00
Jonathan Abrahams
46e47e5aac SERVER-24420 Add Jepsen processes to hang_analyzer 2016-06-15 14:55:58 -04:00
Jonathan Abrahams
40e9159548 SERVER-23007 hang_analyzer support on Solaris 2016-03-10 12:58:53 -05:00
Jonathan Abrahams
4019e38d10 SERVER-23006 hang_analyzer should use GDB in the mongodb tool chain 2016-03-09 09:06:18 -05:00
Jonathan Abrahams
a89f968134 SERVER-22101 Generate minidumps when the hang analyzer is triggered on Windows 2016-02-09 16:22:40 -05:00
Mike Grundy
df9b5b55f2 SERVER-22314 Fix the detection of Python processes in the hang analyzer script 2016-01-29 14:05:48 -05:00
Valentin Kuznetsov
5492a19aaf SERVER-22135 Take python from environment rather system default path
Signed-off-by: Ramon Fernandez <ramon@mongodb.com>

Closes #1056
2016-01-15 17:03:22 -05:00
Mark Benvenuto
95edfa1136 SERVER-22028 hang_analyzer should fail when run against unsupported lldb 2016-01-11 15:11:25 -05:00
Max Hirschhorn
d5510db2d5 SERVER-21875 Support self-termination of hang analyzer on Windows. 2015-12-28 16:50:40 -05:00
Mathias Stearn
a43cd78c0c Revert "Changes to hang_analyzer to find right gdb version on Linux 64."
This reverts commit 7c1faf54e6.
2015-07-02 14:06:00 -04:00
Andy Schwerin
7c1faf54e6 Changes to hang_analyzer to find right gdb version on Linux 64. 2015-06-30 18:18:14 -04:00
Mark Benvenuto
35f827aef4 SERVER-14714: Add stack trace signal handler
SERVER-14181: Dump dbtest & python processes, add timeout
2014-08-05 13:58:33 -04:00
Mark Benvenuto
00b5c825eb SERVER-14181: Test Hang Analyzer
A prototype hang analyzer for MCI integration to help investigate test
timeouts.

1. Script supports taking dumps, and/or dumping a summary of useful
information about a process
2. Script will iterate through a list of interesting processes (mongo,
mongod, and mongos), and run the tools from step 1.

Supports Linux, MacOS X, and Windows.
2014-07-25 20:15:23 -04:00
Mark Benvenuto
4adee3fa86 SERVER-14181: Test Hang Analyzer
Add a stub hang_analyzer.py for MCI to integrate with.
2014-07-02 14:54:28 -04:00