You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ere Maijala (JIRA)" <ji...@apache.org> on 2015/09/17 08:47:46 UTC

[jira] [Updated] (SOLR-8065) Improve the start/stop script shutdown logic to avoid forcefully killing Solr

     [ https://issues.apache.org/jira/browse/SOLR-8065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ere Maijala updated SOLR-8065:
------------------------------
    Attachment: solr_stop_patch.diff

Proposed patch to improve the logic of solr_stop function.

> 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
>         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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org