[
https://issues.apache.org/jira/browse/SOLR-9177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16049643#comment-16049643
]
Shawn Heisey commented on SOLR-9177:
------------------------------------
Strong +1 from me. I found this issue after seeing this in the IRC channel
today:
{noformat}
14:37 < wryfi> elyograg: looking at bin/solr, i see that -XX:OnOutOfMemoryError
is only set when the process is backgrounded, whereas upstart
likes to run things in the foreground. so that explains why the
option was missing. i wonder what the reasoning was behind that
and/or if this should be a bug report.
{noformat}
> 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]