Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-17439

jattach does not work with Solr in Docker

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 9.6.1
    • 9.7
    • Docker

    Description

      I am running the solr:9.6.1 Docker image and want to create a heap dump.

      According to the documentation this should be possible using jattach: https://solr.apache.org/guide/solr/latest/deployment-guide/solr-in-docker.html#debugging-with-jattach

      If I open a shell in the container and enter the sample command from the documentation, this is what I get:

      $ jattach 10 threaddump
      Process 10 not found

      using the default PID 1, there is a different error:

      $ jattach 1 threaddump
      Could not start attach mechanism: No such file or directory 

      Attachments

        Issue Links

          Activity

            People

              janhoy Jan Høydahl
              rmueller83 Roland Müller
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m