You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Tom <so...@zvents.com> on 2006/11/30 02:58:34 UTC

Cache stats

Hi -

I'm starting to try to tune my installation a bit, and I'm looking 
for cache statistics. Is there a way to peek into a running 
installation, and see what my cache stats are?

I'm looking for the usual cache hits/cache misses sort of things.

Also, on a related note, I was looking for solr info via mbeans. I 
fired up jconsole, and I can see all sort of tomcat mbeans, but 
nothing for solr. Is there something extra I have to do to turn this 
on? I see things implementing SolrInfoMBean, so I'm assuming there is 
something there.

(Off topic, but suggestions for anything better than JConsole also welcome).

Thanks,

Tom


Re: Cache stats

Posted by Chris Hostetter <ho...@fucit.org>.
: In the admin interface, if you click statistics, there's a cache section.

yep.

: > Also, on a related note, I was looking for solr info via mbeans. I
: > fired up jconsole, and I can see all sort of tomcat mbeans, but
: > nothing for solr. Is there something extra I have to do to turn this
: > on? I see things implementing SolrInfoMBean, so I'm assuming there is
: > something there.

I honestly don't know *anything* about how JMX and MBeans work ... i
believe the orriginal intent behind the SolrMBean Interface was that we
needed a standardized interface for reporting information about various
objects, and we might want to use JMX eventually, so we might as well call
them MBeans ... but i don't think anything in particular was done to
"expose" them to JMX Clients.

I also seem to recall someone mentioning at some point that true MBeans
must be simple POJOs using only primitive Objects, so SolrMBeans can't
work because they refer to NamedLists .. but again, this is all hearsay.


-Hoss


Re: Cache stats

Posted by Kevin Lewandowski <ke...@gmail.com>.
In the admin interface, if you click statistics, there's a cache section.

On 11/29/06, Tom <so...@zvents.com> wrote:
> Hi -
>
> I'm starting to try to tune my installation a bit, and I'm looking
> for cache statistics. Is there a way to peek into a running
> installation, and see what my cache stats are?
>
> I'm looking for the usual cache hits/cache misses sort of things.
>
> Also, on a related note, I was looking for solr info via mbeans. I
> fired up jconsole, and I can see all sort of tomcat mbeans, but
> nothing for solr. Is there something extra I have to do to turn this
> on? I see things implementing SolrInfoMBean, so I'm assuming there is
> something there.
>
> (Off topic, but suggestions for anything better than JConsole also welcome).
>
> Thanks,
>
> Tom
>
>