Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-24154

add thread dump command to ./bin/nexus

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.23.0
    • Fix Version/s: None
    • Component/s: Bootstrap, Support Tools
    • Labels:
    • Notability:
      n/a

      Description

      One way to trigger a thread dump for NXRM 3 is by issuing kill -3 <pid> which puts the thread dump into the jvm.log file.

      Because the command has the word "kill" in it, some users find this command intimidating in that they think it will stop the entire NXRM process.

      Expected

      Make capturing a thread dump easier by adding a command to ./bin/nexus that will trigger a thread dump by calling kill -3 <pid>.

      Proposed command name thread-dump.

      The command would be added to the list of already available commands:

      Usage: ./nexus {start|stop|run|run-redirect|status|restart|force-reload}
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            plynch Peter Lynch
            Last Updated By:
            Wes Wannemacher
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title