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

ASF GitHub Bot commented on SOLR-8065:
--------------------------------------

GitHub user yriveiro opened a pull request:

    https://github.com/apache/lucene-solr/pull/209

    SOLR-8065: add configurable variable to define wait time before kill -9

    New patch for this JIRA.
    
    This new patch allow the user to configure the wait time before force the 
shutdown with `kill -9`

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/yriveiro/lucene-solr trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucene-solr/pull/209.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #209
    
----
commit baf21bb43fd57e471529a101e418293408a36f04
Author: Yago Riveiro <[email protected]>
Date:   2015-11-10T16:11:35Z

    SOLR-8065: add configurable variable to define wait time before kill -9

----


> Improve the start/stop script shutdown logic to avoid forcefully killing Solr
> -----------------------------------------------------------------------------
>
>                 Key: SOLR-8065
>                 URL: https://issues.apache.org/jira/browse/SOLR-8065
>             Project: Solr
>          Issue Type: Improvement
>          Components: scripts and tools
>    Affects Versions: 5.3
>         Environment: Unix/Linux
>            Reporter: Ere Maijala
>            Priority: Minor
>              Labels: patch
>         Attachments: solr_stop_patch.diff
>
>
> Currently the start/stop script only waits 5 seconds before forcefully 
> killing the Solr process. In our experience this is not enough for graceful 
> shutdown on an active SolrCloud node. I propose making the shutdown wait for 
> up to 30 seconds and check the process status every second to avoid 
> unnecessary delay.
> I will attach a patch to accomplish this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to