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

Mikhail Khludnev edited comment on SOLR-14442 at 5/20/20, 8:18 PM:
-------------------------------------------------------------------

Attached my fix for solr.cmd. 
1. it seems that current code doesn't stop process forcefully at least for this 
test script since (as I wrote above) soft killed process unbind from port, but 
keeps running. 
[~thelabdude], would you comment on this ^ observation? 

2. I can't combine IFs in batch properly, had to copypaste. I tried, better 
looking options doesn't work. 


was (Author: mkhludnev):
Attached my fix for solr.cmd. 
1. it seems that current code doesn't stop process forcefully at least for this 
test script since (as I wrote above) soft killed process unbind from port, but 
keeps running. 
[~timporter], would you comment on this ^ observation? 

2. I can't combine IFs in batch properly, had to copypaste. I tried, better 
looking options doesn't work. 

> bin/solr to attempt jstack before killing hung Solr instance
> ------------------------------------------------------------
>
>                 Key: SOLR-14442
>                 URL: https://issues.apache.org/jira/browse/SOLR-14442
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>            Priority: Minor
>         Attachments: SOLR-14442.patch, SOLR-14442.patch, SOLR-14442.patch, 
> screenshot-1.png
>
>
> If a Solr instance did not respond to the 'stop' command in a timely manner 
> then the {{bin/solr}} script will attempt to forcefully kill it: 
> [https://github.com/apache/lucene-solr/blob/releases/lucene-solr/8.5.1/solr/bin/solr#L859]
> Gathering of information (e.g. a jstack of the java process) before the kill 
> command may be helpful in determining why the instance did not stop as 
> expected.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to