You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ramsey Haddad (JIRA)" <ji...@apache.org> on 2017/08/17 07:43:00 UTC

[jira] [Comment Edited] (SOLR-11179) Ability to dump jstack

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

Ramsey Haddad edited comment on SOLR-11179 at 8/17/17 7:42 AM:
---------------------------------------------------------------

Here is a patch that incorporates some of your suggestions.
* We don't build/run Solr on Windows. I'd be happy to include changes for {{solr.cmd}} by someone in a position to test them.
* Yes, I have added a {{-o}} flag as suggested. .
* Yes, with the new design, if no output file is specified via {{-o}}, then the output will now go to {{stdout}}.
* Yes, the {{jstack}} needs to be run on the same box, as do many of the other commands, including the stars of this {{bin/solr}} script: {{start}} and {{stop}}. I'm pretty sure that if you have a suitable {{$\{JAVA_HOME\}}} for Solr, then {{jstack}} will be there in {{$\{JAVA_HOME\}/bin}},
* Yes, documentation added to Solr Ref Guide.



was (Author: rwhaddad):
Here is a patch that incorporates some of your suggestions.
* We don't build/run Solr on Windows. I'd be happy to include changes for solr.cmd by someone in a position to test them.
* Yes, I have added a {{-o}} flag as suggested. .
* Yes, with the new design, if no output file is specified via {{-o}}, then the output will now go to {{stdout}}.
* Yes, the {{jstack}} needs to be run on the same box, as do many of the other commands, including the stars of this {{bin/solr}} script: {{start}} and {{stop}}. I'm pretty sure that if you have a suitable {{$\{JAVA_HOME\}}} for Solr, then {{jstack}} will be there in {{$\{JAVA_HOME\}/bin}},
* Yes, documentation added to Solr Ref Guide.


> Ability to dump jstack
> ----------------------
>
>                 Key: SOLR-11179
>                 URL: https://issues.apache.org/jira/browse/SOLR-11179
>             Project: Solr
>          Issue Type: New Feature
>          Components: scripts and tools
>            Reporter: Ramsey Haddad
>            Priority: Minor
>         Attachments: SOLR-11179.patch, SOLR-11179.patch
>
>
> Add a "jstack" command to the "bin/solr" script to ease capture of jstacks.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org