: For example, when running multiple instances of solr in the same Tomcat 
: instance, each has an associated searc...@1234567 mbean.  Alright, I 
: expect that.  However, some values that I'm looking for (such as 
: avgRequestsPerSecond, avgTimePerRequest) are all located under the 
: solr/standard mbean.  I'm not sure which actual instance of solr this 
: value actually represents.

Good question ... running multiple isntances of solr on the same server 
and then monitoring with JMX isn't something i think most people have 
looked into -- but there has definitley been a reported instance of a 
problem that seems to match what you are talking about...

https://issues.apache.org/jira/browse/SOLR-1843

...please try out that code (and comment on that issue) if you can

: Maybe it would be wise to have a separate JMX server for each instance 
: of Solr?  I don't know.

this is definitely possible.  please take a look at the comments on the 
<jmx /> declaration in the example solrconfig.xml file -- by default it 
registers itself with teh first JMX Server it finds, but you can also 
configure it to register itself with a particular existing server by 
agentId, or to spin up it's own distinct JMX server.


-Hoss

Reply via email to