Just an update on this issue, the Solr did come back after 80 min - so not sure where was it stuck. I do use RAMBuffer of 64MB and have heap size of 6G.
There is no error is Solr log and I'd it running under WARNING level so missed the INFO if there was any during that period. I'm also not running any "optimize" command. What could cause Solr to hang for 80 min? Thanks, -vivek On Fri, Apr 3, 2009 at 1:55 PM, vivek sar <vivex...@gmail.com> wrote: > Hi, > > I'm using Solr 1.4 (nightly build - 03/29/09). I'm stress testing my > application with Solr. My app uses Solrj to write to remote Solr (on > same box, but different JVM). The stress test sends over 2 million > records (1 record = 500 bytes, with each record having 10 fields) > within 5 minutes. All was working fine (with 2 million records > processed - 2G index size) and all the sudden Solr stopped responding > - I call server.addBeans(...) passing 15K object and don't get any > response for over an hour (usually it returns in 5 sec). > > I've 3 threads writing to the same index at the same time - not sure > if that could cause any problem. I was told by Otis that it should be > ok to have multiple threads write to same index - so I'm assuming it's > ok, though from thread dump I do see couple of "update" threads > waiting on ReadWriteLock and another thread (pool-6-thread-1) have a > lock on SolrWriter. > > Attached is the thread dump of the Tomcat process where Solr is > running. Any ideas? > > Thanks, > -vivek >