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

Add signal handler to generate stack traces

    XMLWordPrintable

    Details

      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

              • Votes:
                9 Vote for this issue
                Watchers:
                20 Start watching this issue

                Dates

                • Created:
                  Updated: