|
|
+
Stephen Meyer 2010-02-05, 19:20
+
Yonik Seeley 2010-04-09, 19:19
+
Sascha Szott 2010-04-16, 12:57
-
Re: StreamingUpdateSolrServer hangsYonik Seeley 2010-04-16, 13:36
Thanks for the report Sascha.
So after the hang, it never recovers? Some amount of hanging could be visible if there was a commit on the Solr server or something else to cause the solr requests to block for a while... but it should return to normal on it's own... Looking at the stack trace, it looks like threads are blocked waiting to get an http connection. I'm traveling all next week, but I'll open a JIRA issue for this now. Anything that would help us reproduce this is much appreciated. -Yonik Apache Lucene Eurocon 2010 18-21 May 2010 | Prague On Fri, Apr 16, 2010 at 8:57 AM, Sascha Szott <[EMAIL PROTECTED]> wrote: > Hi Yonik, > > Yonik Seeley wrote: >> >> Stephen, were you running stock Solr 1.4, or did you apply any of the >> SolrJ patches? >> I'm trying to figure out if anyone still has any problems, or if this >> was fixed with SOLR-1711: > > I'm using the latest trunk version (rev. 934846) and constantly running into > the same problem. I'm using StreamingUpdateSolrServer with 3 treads and a > queue size of 20 (not really knowing if this configuration is optimal). My > multi-threaded application indexes 200k data items (bibliographic metadata > in Dublin Core format) and constantly hangs after running for some time. > > Below you can find the thread dump of one of my index threads (after the app > hangs all dumps are the same) > > "thread 19" prio=10 tid=0x00007fe8c0415800 nid=0x277d waiting on condition > [0x0000000042d05000] > java.lang.Thread.State: WAITING (parking) > at sun.misc.Unsafe.park(Native Method) > - parking to wait for <0x00007fe8cdcb7598> (a > java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) > at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158) > at > java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925) > at > java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:254) > at > org.apache.solr.client.solrj.impl.StreamingUpdateSolrServer.request(StreamingUpdateSolrServer.java:216) > at > org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105) > at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:64) > at > de.kobv.ked.index.SolrIndexWriter.addIndexDocument(SolrIndexWriter.java:29) > at > de.kobv.ked.index.SolrIndexWriter.addIndexDocument(SolrIndexWriter.java:10) > at > de.kobv.ked.index.AbstractIndexThread.addIndexDocument(AbstractIndexThread.java:59) > at de.kobv.ked.rss.RssThread.indiziere(RssThread.java:30) > at de.kobv.ked.rss.RssThread.run(RssThread.java:58) > > > > and of the three SUSS threads: > > "pool-1-thread-3" prio=10 tid=0x00007fe8c7b7f000 nid=0x2780 in Object.wait() > [0x00000000409ac000] > java.lang.Thread.State: WAITING (on object monitor) > at java.lang.Object.wait(Native Method) > - waiting on <0x00007fe8cdcb6f10> (a > org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ConnectionPool) > at > org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:518) > - locked <0x00007fe8cdcb6f10> (a > org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ConnectionPool) > at > org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:416) > at > org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153) > at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) > at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) > at > org.apache.solr.client.solrj.impl.StreamingUpdateSolrServer$Runner.run(StreamingUpdateSolrServer.java:153) +
Sascha Szott 2010-04-16, 17:34
+
Rich Cariens 2010-04-16, 23:24
+
Yonik Seeley 2010-04-29, 21:12
+
Yonik Seeley 2010-04-29, 23:51
+
Yonik Seeley 2010-04-30, 18:03
+
Lance Norskog 2010-04-29, 22:04
+
Yonik Seeley 2010-04-29, 22:25
+
Lance Norskog 2010-04-29, 22:41
|