Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-47880

Send SIGSTOP to all processes before attaching to any

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Fully Compatible
    • STM 2020-06-29
    • 2

      We can prevent processes from getting unstuck when the hang analyzer attaches to them by sending SIGSTOP to all of them first. Commands that run in process threads should still work if we use these commands:

      (gdb) handle SIGSTOP ignore
      
      (gdb) handle SIGSTOP noprint
      

            Assignee:
            mikhail.shchatko@mongodb.com Mikhail Shchatko
            Reporter:
            carl.worley@mongodb.com Raiden Worley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: