Reputation: 135
I am using Apache Solr for one of my Drupal sites. I start my Apache Solr with Java -Jar -Xmx256M start.jar to fix the memory limit. I run my Apache in screen, but at times i see that my instance of Apache solr gets stopped/killed automatically. In my dev server i find it very hard to start it manually. Is there any fix to stop the instance getting killed automatically?
By the way the following are some of the warning i get in the console "solrconfig.xml: is deprecated and no longer recommended used." "WARNING: and configuration sections are deprecated (but still work). Please use instead."
Thanks.
Upvotes: 2
Views: 1947
Reputation: 8218
I had this problem initially as well. I solved it by starting a screen session as root and starting Solr within that session. Also try adding a nohup
before the java command and see if that works.
Upvotes: 2