You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by jason li <li...@gmail.com> on 2010/07/20 12:35:37 UTC

too many threads block

i use solr1.4.1 and have a problem.

Too many threads block at
org.apache.lucene.search.FieldCache$CreationPlaceholder

Re: too many threads block

Posted by jason li <li...@gmail.com>.
Hi Uwe:

First, thanks very much!

I have two questions !

1> When the field cache will create?
2> I find the theads always block!

In our system,  solr only process 6.4788313 req/second!

And in my solr stats.jsp :

*name: *fieldCache  *class: *org.apache.solr.search.SolrFieldCacheMBean  *
version: *1.0  *description: *Provides introspection of the Lucene
FieldCache, this is **NOT** a cache that is managed by Solr.  *stats:
*entries_count
: 4
entry#0 : 'org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput@ca0045'=>'releasetime',class
org.apache.lucene.search.FieldCache$StringIndex,null=>org.apache.lucene.search.FieldCache$StringIndex#6161693
entry#1 : 'org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput@ca0045'=>'modifytime',class
org.apache.lucene.search.FieldCache$StringIndex,null=>org.apache.lucene.search.FieldCache$StringIndex#10601874
entry#2 : 'org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput@ca0045'=>'id',class
org.apache.lucene.search.FieldCache$StringIndex,null=>org.apache.lucene.search.FieldCache$StringIndex#11665632
entry#3 : 'org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput@ca0045'=>'source',class
org.apache.lucene.search.FieldCache$StringIndex,null=>org.apache.lucene.search.FieldCache$StringIndex#5735666
insanity_count : 0



2010/7/20 Uwe Schindler <uw...@thetaphi.de>

> Hi Jason,
>
>
>
> Where is exactly the problem? If the field cache is not yet created but
> thousands of threads try to get an field cache instance they have to wait
> until the field cache is populated. And this can take some time initially.
>
>
>
> Uwe
>
> -----
>
> Uwe Schindler
>
> H.-H.-Meier-Allee 63, D-28213 Bremen
>
> http://www.thetaphi.de
>
> eMail: uwe@thetaphi.de
>
>
>
> *From:* jason li [mailto:liangjie.lee@gmail.com]
> *Sent:* Tuesday, July 20, 2010 12:36 PM
> *To:* dev@lucene.apache.org
> *Subject:* too many threads block
>
>
>
> i use solr1.4.1 and have a problem.
>
>
>
> Too many threads block at
> org.apache.lucene.search.FieldCache$CreationPlaceholder
>

RE: too many threads block

Posted by Uwe Schindler <uw...@thetaphi.de>.
Hi Jason,

 

Where is exactly the problem? If the field cache is not yet created but
thousands of threads try to get an field cache instance they have to wait
until the field cache is populated. And this can take some time initially.

 

Uwe

-----

Uwe Schindler

H.-H.-Meier-Allee 63, D-28213 Bremen

 <http://www.thetaphi.de/> http://www.thetaphi.de

eMail: uwe@thetaphi.de

 

From: jason li [mailto:liangjie.lee@gmail.com] 
Sent: Tuesday, July 20, 2010 12:36 PM
To: dev@lucene.apache.org
Subject: too many threads block

 

i use solr1.4.1 and have a problem. 

 

Too many threads block at
org.apache.lucene.search.FieldCache$CreationPlaceholder