Solr 6.5.1 crashing when too many queries with error or high memory usage are queried
Hi, I'm currently facing the issue whereby the Solr crashed when I have issued too many queries with error or those with high memory usage, like JSON facet or Streaming expressions. What could be the issue here? I'm using Solr 6.5.1 Regards, Edwin
Re: Solr 6.5.1 crashing when too many queries with error or high memory usage are queried
Stack trace? Memory diagnostics from top(1)? What querys? On July 2, 2017 3:00:16 AM EDT, Zheng Lin Edwin Yeo wrote: >Hi, > >I'm currently facing the issue whereby the Solr crashed when I have >issued >too many queries with error or those with high memory usage, like JSON >facet or Streaming expressions. > >What could be the issue here? > >I'm using Solr 6.5.1 > >Regards, >Edwin -- Sorry for being brief. Alternate email is rickleir at yahoo dot com -- Sorry for being brief. Alternate email is rickleir at yahoo dot com
Re: Automatically Restart Solr
Hi, Anyone who successfully set this up? Thanks Best Regards, Jeck > On 20 Jun 2017, at 7:10 PM, rojerick luna wrote: > > Hi, > > I'm trying to automate Solr restart every week. > > I created a stop.bat and updated the start.bat which I found on an article > online. Using stop.bat and start.bat is working fine. However when I created > a Task Scheduler (Windows Scheduler) and setup the frequency to stop and > start (using the bat files), it's not working; the Solr app didn't restart. > > Please let me know if you have successfully tried it and send me steps how > you've setup the Task Scheduler. > > Best Regards, > Jeck Luna
Re: Automatically Restart Solr
Hi Jeck, Here is the documentation about how you can run Solr as service: https://lucene.apache.org/solr/guide/6_6/taking-solr-to-production.html However, as far as I see you use Windows as operating system. There is currently an open issue for creating scripts to run as a Windows Service: https://issues.apache.org/jira/browse/SOLR-7105 but not yet completed. Could you check this: http://coding-art.blogspot.com.tr/2016/07/running-solr-61-as-windows-service.html Kind Regards, Furkan KAMACI On Sun, Jul 2, 2017 at 6:12 PM, rojerick luna wrote: > Hi, > > Anyone who successfully set this up? Thanks > > Best Regards, > Jeck > > > On 20 Jun 2017, at 7:10 PM, rojerick luna > wrote: > > > > Hi, > > > > I'm trying to automate Solr restart every week. > > > > I created a stop.bat and updated the start.bat which I found on an > article online. Using stop.bat and start.bat is working fine. However when > I created a Task Scheduler (Windows Scheduler) and setup the frequency to > stop and start (using the bat files), it's not working; the Solr app didn't > restart. > > > > Please let me know if you have successfully tried it and send me steps > how you've setup the Task Scheduler. > > > > Best Regards, > > Jeck Luna > >
Re: Solr 6.5.1 crashing when too many queries with error or high memory usage are queried
On Sun, 2017-07-02 at 15:00 +0800, Zheng Lin Edwin Yeo wrote: > I'm currently facing the issue whereby the Solr crashed when I have > issued too many queries with error or those with high memory usage, > like JSON facet or Streaming expressions. > > What could be the issue here? Solr does not have any auto-limiting of the number of concurrent requests. You will have to build that yourself (quite hard) or impose a hard limit in your request layer that is low enough to guarantee that you don't run out of memory in Solr. You could raise the amount of memory allocated for Solr, but even then you might want to have a hard limit, just to avoid the occasional "cat steps on F5 and the browser issues a gazillion requests"-scenario. -- Toke Eskildsen, Royal Danish Library