You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Shawn Heisey (Jira)" <ji...@apache.org> on 2022/01/03 22:38:00 UTC

[jira] [Commented] (SOLR-14410) Switch from SysV init script to systemd service definition

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

Shawn Heisey commented on SOLR-14410:
-------------------------------------

Do we think that systemd is prevalent enough in supported systems?  Is it prevalent enough that we could _require_ it, and not provide a fallback to sysvinit?

I can say that all of the Linux distributions that I have come across recently are using systemd, but there are a lot of systems out there other than Linux that I think Solr can successfully run on.

I'm not going for a -1 here.  Native support for systemd would be REALLY nice, and maybe systemd IS prevalent enough that we can switch completely.

I have identified a bikeshed:  Some users are going to want the service to automatically restart itself if Solr crashes.  I personally think that's a bad idea, because a Solr that actually crashes or gets killed by one of the OOM mechanisms almost always indicates that there is a severe problem with the installation that needs to be addressed.

> Switch from SysV init script to systemd service definition
> ----------------------------------------------------------
>
>                 Key: SOLR-14410
>                 URL: https://issues.apache.org/jira/browse/SOLR-14410
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Marius Ghita
>            Assignee: Jan Høydahl
>            Priority: Major
>         Attachments: solr.service
>
>          Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> The proposed change will incorporate the attached service definition file in the solr installation script.
>  
> More information on the mailinglist [http://mail-archives.apache.org/mod_mbox/lucene-dev/202004.mbox/%3cCAFSzZzXS+zh1MrSCsjFtyXN0kOD_+6FJoBxd9Zhxt66fHaz6xg@mail.gmail.com%3e]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org