diff options
author | Eddie Louie <eddie.louie@mongodb.com> | 2017-03-31 18:36:15 -0400 |
---|---|---|
committer | Eddie Louie <eddie.louie@mongodb.com> | 2017-04-03 10:22:08 -0400 |
commit | b95082ab3ffa4517b79e09c71a27b846c386fc04 (patch) | |
tree | 351b1cc8d995f962ed602c4e904c6eac44a5e1a4 /buildscripts/hang_analyzer.py | |
parent | 576e157c2753b9bc61c36002e323421c09bc62dc (diff) | |
download | mongo-b95082ab3ffa4517b79e09c71a27b846c386fc04.tar.gz |
SERVER-28466 hang_analyzer should not attach to resmoke.py and dump
stacks via debugger
Diffstat (limited to 'buildscripts/hang_analyzer.py')
-rwxr-xr-x | buildscripts/hang_analyzer.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/buildscripts/hang_analyzer.py b/buildscripts/hang_analyzer.py index ffc5d6a79fa..44154df4154 100755 --- a/buildscripts/hang_analyzer.py +++ b/buildscripts/hang_analyzer.py @@ -693,7 +693,7 @@ def main(): (process_name, pid)) signal_process(root_logger, pid, signal.SIGABRT) - # Dump python processes after signalling them. + # Dump python processes by signalling them. for (pid, process_name) in [(p, pn) for (p, pn) in processes if pn.startswith("python")]: # On Windows, we set up an event object to wait on a signal. For Cygwin, we register # a signal handler to wait for the signal since it supports POSIX signals. @@ -706,14 +706,6 @@ def main(): (process_name, pid)) signal_process(root_logger, pid, signal.SIGUSR1) - process_logger = get_process_logger(options.debugger_output, pid, process_name) - dbg.dump_info( - root_logger, - process_logger, - pid, - process_name, - take_dump=False) - root_logger.info("Done analyzing all processes for hangs") if __name__ == "__main__": |