You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Roland Müller (Jira)" <ji...@apache.org> on 2024/09/10 13:51:00 UTC

[jira] [Commented] (SOLR-17439) jattach does not work with Solr in Docker

    [ https://issues.apache.org/jira/browse/SOLR-17439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17880652#comment-17880652 ] 

Roland Müller commented on SOLR-17439:
--------------------------------------

Thanks for the response!

Maybe it is possible to improve the documentation here, since a lot of people are used to the default PID 1.

> jattach does not work with Solr in Docker
> -----------------------------------------
>
>                 Key: SOLR-17439
>                 URL: https://issues.apache.org/jira/browse/SOLR-17439
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Docker
>    Affects Versions: 9.6.1
>            Reporter: Roland Müller
>            Assignee: Jan Høydahl
>            Priority: Major
>
> 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:
> {noformat}
> $ jattach 10 threaddump
> Process 10 not found{noformat}
> using the default PID 1, there is a different error:
> {noformat}
> $ jattach 1 threaddump
> Could not start attach mechanism: No such file or directory {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org