lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jason li <liangjie....@gmail.com>
Subject Re: too many threads block
Date Tue, 20 Jul 2010 14:43:10 GMT
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 <uwe@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
>

Mime
View raw message