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

Send SIGSTOP to all processes before attaching to any

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • None
    • Testing Infrastructure
    • None
    • Fully Compatible
    • STM 2020-06-29
    • 2

    Description

      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
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: