You can monitor the Solr instance for the purpose of memory and CPU usage. There are various ways of doing this; a simple administration of Solr provides you with some statistics for the usage. Using standard tools like JConsole and JVisualVM, you can connect to the Solr process for monitoring the memory usage, threads, and CPU usage:
With JConsole, you can also look at different JMX-based MBeans supported by Solr. On an example jetty setup, you can simply connect Solr by using the following procedure:
Open JDK folder, which is being used by Solr
Go to the bin folder and run JConsole
In JConsole, connect to the Solr process; in case of the default jetty implementation, connect to
start.jar
Once connected, switch to the MBean tab
You will find the MBean browser as shown in the following screenshot:
For a clustered search instance, you can connect remotely through JConsole. However, while starting JVM, you need to pass the following parameters to JVM (to bypass authentication...