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

Shawn Heisey commented on SOLR-9177:
------------------------------------

bq. Are there benefits from running in foreground with systemd 

I'd like to know that too.  My guess: If you start a foreground process, you 
don't have to track it.  Taking action when the process ends is simply a matter 
of script or code after the call to start the process.


> Support oom hook when running Solr in foreground mode
> -----------------------------------------------------
>
>                 Key: SOLR-9177
>                 URL: https://issues.apache.org/jira/browse/SOLR-9177
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Anshum Gupta
>
> After reading through the comments on SOLR-8145 and from my own experience, 
> seems like a reasonable number of people run Solr in foreground mode in 
> production.
> To give some more context, I've seen Solr hit OOM, which leads to IW being 
> closed by Lucene. The Solr process hangs in there and without the oom killer, 
> while all queries continue to work, all update requests start failing.
> I think it makes sense to add support to the bin/solr script to add the oom 
> hook when running in fg mode.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to