I have a 8GB machine , and I commit for each and every document that is added to Solr, not sure if I am missing anything here , but it seems I could use auto commit from your response , in that case do I not need to call the commit call , can you please point me to a resource that explains this ? Thanks.
On Sat, Dec 21, 2013 at 2:48 PM, Andrea Gazzarini <agazzar...@apache.org>wrote: > Not sure if we have the same scenario but I got the same error code when I > was tryjng to do a lot of requests (updates and queries) with 10 secs of > (hard) autocommit to a SOLR instance running in servlet engine (tomcat) > with few resources (if I remember no more than 1GB of ram) > > Andrea > Hi All, > > I am running a single Solr instance with version 4.4 with Apache > Tomcat 7.0.42 ,I am aslo running a Nutch instance with about 20 > threads and each thread is committing a document in the Solr index > using the Solrj API , the version of Solrj API I > > use is 4.3.1 , can anyone please let me know if this error is occuring > because I am committing documents too fast for a single instance of a > server or is it because of any other underlying issue , please let me > know. > > Thanks. > > > > org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: > Server at http://localhost:8081/solr returned non ok status:503, > message:Service Unavailable > at > > org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:372) > ~[DynaOCrawlerUtils.jar:?] > at > > org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180) > ~[DynaOCrawlerUtils.jar:?] > at > > org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105) > ~[solr-solrj-3.4.0.jar:3.4.0 1167142 - mike - 2011-09-09 09:06:50] > at > org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:86) > ~[solr-solrj-3.4.0.jar:3.4.0 1167142 - mike - 2011-09-09 09:06:50] > at > org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:75) > ~[solr-solrj-3.4.0.jar:3.4.0 1167142 - mike - 2011-09-09 09:06:50] > at > > com.xyz.DynaOCrawlerUtils.SolrDynaOUtils.createSolrInputDocumentAndPopulateSolrIndex(SolrDynaOUtils.java:101) > ~[DynaOCrawlerUtils.jar:?] > at > > com.xyz.DynaOCrawlerUtils.SolrCallbackForNXParser.populateModelToSolrIndex(SolrCallbackForNXParser.java:216) > [DynaOCrawlerUtils.jar:?] > at > > com.xyz.DynaOCrawlerUtils.SolrCallbackForNXParser.endDocument(SolrCallbackForNXParser.java:87) > [DynaOCrawlerUtils.jar:?] > at > > com.xyz.DynaOCrawlerUtils.SolrDynaOUtils.populateSolrIndexFromCurrentURL(SolrDynaOUtils.java:250) > [DynaOCrawlerUtils.jar:?] > at > org.apache.nutch.fetcher.Fetcher$FetcherThread.run(Fetcher.java:716) > [job.jar:?] >