You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2015/12/04 00:15:11 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15038805#comment-15038805 ]
Mark Miller commented on SOLR-8065:
-----------------------------------
We should probably be willing to wait a lot longer than 30 seconds even, unless you pass an option to be more forceful.
Every SolrCore you have has to properly shutdown - this can involve a commit for each of them on shutdown which can take a long time.
Bailing early is really not what you want unless the user is explicit.
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org