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

Add signal handler to generate stack traces

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Platforms 2018-06-18, Platforms 2018-07-02, Platforms 2018-07-16, Dev Tools 2019-09-09, Dev Tools 2019-10-21, Dev Tools 2019-11-18, Dev Tools 2019-12-02, Dev Tools 2019-12-16, Dev Tools 2019-12-30, Dev Tools 2020-01-13, Dev Tools 2020-01-27
    • Case:

      Description

      Occasionally we need to capture the state of all threads for performance analysis.
      Currently this requires installing `gdb` and running an external script.

      I propose implementing a signal handler calling printStackTrace().

      This would ease diagnostics as we can achieve the same result by issuing a kill signal.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              billy.donahue Billy Donahue
              Reporter:
              kevin.arhelger Kevin Arhelger
              Participants:
              Votes:
              9 Vote for this issue
              Watchers:
              23 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: