[ https://issues.apache.org/jira/browse/SOLR-14442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17109245#comment-17109245 ]
Mikhail Khludnev commented on SOLR-14442: ----------------------------------------- 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. 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