lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Miller <markrmil...@gmail.com>
Subject Re: Recovering from Out of Mem
Date Tue, 14 Oct 2014 13:30:35 GMT
Best is to pass the Java cmd line option that kills the process on OOM and setup a supervisor
on the process to restart it.  You need a somewhat recent release for this to work properly
though. 

- Mark

> On Oct 14, 2014, at 9:06 AM, Salman Akram <salman.akram@northbaysolutions.net>
wrote:
> 
> I know there are some suggestions to avoid OOM issue e.g. setting
> appropriate Max Heap size etc. However, what's the best way to recover from
> it as it goes into non-responding state? We are using Tomcat on back end.
> 
> The scenario is that once we face OOM issue it keeps on taking queries
> (doesn't give any error) but they just time out. So even though we have a
> fail over system implemented but we don't have a way to distinguish if
> these are real time out queries OR due to OOM.
> 
> -- 
> Regards,
> 
> Salman Akram

Mime
View raw message