Schedule demo

Monitoring Apache Solr


Apache Solr - An Overview

Solr is a popular, open source enterprise search platform built on Apache Lucene. Providing distributed search and index replication, Solr is designed for scalability and Fault tolerance. With load-balanced querying, automated failover and recovery, Solr drives the search and navigation features of many of the world's largest internet sites.

Monitoring Apache Solr - What we do

Let’s take a look at what you need to see to monitor Solr, the performance metrics to gather and how you can ensure that your Solr search server is up and operating as expected with Applications Manager:

  • Resource utilization details - Applications manager automatically discovers Solr servers, monitors memory and CPU and notifies you of changes in resource consumption.
  • Thread and JVM usage - Track thread usage in Solr by monitoring the status of the threads such as blocked, waiting, etc. Ensure open threads don’t overload Solr server's memory.
  • Core and Replication Statistics - Monitor the cores and their replicase with details like health and overall index size. Know if a core is a master or a slave node and its replication enabled status.
  • Query and update stats, cache level details and search times - Make sure Solr's query handler is processing incoming requests properly with metrics like the number of search requests, search errors, search timeouts and Luke requests per minute. Know cache level details like lookups, hit ration, evictions, and cache size. Understand how the update handler is handling update by looking at the number of commits, rollbacks and documents added/deleted/pending. Find out how long it takes for searcher or caches to load.
  • Fix performance problems faster - Get instant notifications when there are performance issues with the components of Apache Solr. Become aware of performance bottlenecks and take quick remedial actions before your end users experience issues.

Creating a new Apache Solr monitor

Supported versions : Apache Solr 9.x and lower versions.

Using the REST API to add a new Apache Solr monitor:Click here

To create an Apache Solr Monitor, follow the steps given below:

  1. Click on New Monitor link. Choose Apache Solr.
  2. Enter Display Name of the monitor.
  3. Enter the IP Address or hostname of the host in which the Solr instance is running.
  4. Provide the port number in which the Solr instance is running.
  5. Enable SSL option, if SSL is enabled in Apache Solr Server.
  6. Enter the polling interval time in minutes.
  7. Click Test Credentials button, if you want to test the access to Apache Solr Server
  8. Choose the Monitor Group from the combo box with which you want to associate Apache Solr Monitor (optional). You can choose multiple groups to associate your monitor.
  9. Click Add Monitor(s). This discovers Apache Solr from the network and starts monitoring.
Note:
  • Security/Firewall Requirements : The Apache Solr host and port should be accessible from the Applications manager installed machine.
  • User Privilege : The required user credentials should be provided.

Monitored Parameters

Go to the Monitors Category View by clicking the Monitors tab. Click on Apache Solr under the Web Server/Services Table. Displayed is the Apache Solr bulk configuration view distributed into three tabs:

  • Availability tab  displays the Availability history for the past 24 hours or 30 days.
  • Performance tab displays the Health Status and events for the past 24 hours or 30 days.
  • List view enables you to perform bulk admin configurations.

Click on the monitor name to see all the server details listed under the following tabs:

Core Details

ParameterDescription
Core Details
Total number of coresThe total number of Solr cores on a single Solr instance. (A Solr core is an index and associated transaction log and configuration files. An installation can have multiple cores.)
Active coresThe total number of active Solr cores, i.e a core that is in active state for querying, on the Solr instance.
Lead CoresThe total number of active leader Solr cores.
Cores
Core NameThe name of the Solr core on the instance.
Host NameThe host name of the machine running Solr.
Number of Docs / MinThe number of documents added into a collection per minute.
Max Docs / MinThe maximum number of documents that can be added to a collection per minute.
Deleted Docs / MinThe number of documents deleted from the collection per minute.
StateThe state of corresponding core, whether it is active or inactive. This is referred in turn for querying.
Searcher Warmup TimeThe warmup time taken by searcher in between the query processing.
Average Search TimeThe average time taken for processing the query and searching.
Replication
Core NameThe name of the Solr core on the instance.
Master NodeSpecifies if a replication instance of Solr is a master.
Slave NodeSpecifies if a replication instance of Solr is a slave.
Index SizeSpecifies the index size of the individual cores.
Replications EnabledSpecifies if you have master/slave replication enabled.

JVM

ParameterDescription
Thread Details
WAITING ThreadsThread State - A thread that is waiting indefinitely for another thread to perform a particular action.
TIMED_WAITING ThreadsThread State - A thread that is waiting for another thread to perform an action for up to a specified waiting time.
RUNNABLE ThreadsThread State - A thread executing in the Java virtual machine.
BLOCKED ThreadsThread State - A thread that is blocked waiting for a monitor lock.
TERMINATED ThreadsThread State - A thread that has exited.
Memory Usage
Core NameThe name of the Solr core on the instance.
Used Memory (MB)The space that is currently occupied.
Free Memory (MB)The total free memory available to the JVM.
Committed Virtual Memory Size (MB)The total size of virtual memory that is currently occupied by the corresponding Solr cores.
Free Physical Memory Size (MB)The total size of physical memory that is free and available for the Solr cores.
Free Swap Space Size (MB)The total size of the swap space that is free and available for swapping when the virtual memory reaches the limit.
ProcessCPUTime (sec)The total CPU time taken by the corresponding Solr cores, for executing the instructions.
Used Memory (%)The percentage of space that is currently occupied.
Free Memory (%)The percentage of free memory available to the JVM.
Memory Utilization
Total Physical Memory SizeThe total size of physical memory that is available for the Solr for its operations and storage.
Total Swap Space SizeThe total size of the swap space that is available for swapping when the virtual memory reaches the limit.
Total Heap MemoryThe total heap memory available for the Solr instance.
Max Heap MemoryThe maximum heap memory that the Solr instance can use.

Core Statistics

ParameterDescription
Query Handler
Core NameThe name of the Solr core on the instance.
Search Requests / MinThe total search requests handled by the corresponding Solr cores per minute.
Search Errors / MinThe total errors that occur during the search requests handled by the corresponding Solr cores per minute.
Search Timeouts / MinThe total timeouts that occur during the search requests handled by the corresponding Solr cores per minute.
Average Search TimeThe average time (in milliseconds) taken to handle the search requests processed by the corresponding Solr cores per minute.
Replication Requests / MinThe total replication requests handled by the corresponding Solr cores per minute.
Update Requests / MinThe total update requests handled by the corresponding Solr cores per minute.
Luke Requests / MinThe total Luke requests handled by the corresponding Solr cores per minute.
Cache
Core NameThe name of the Solr core on the instance.
Cache NameThe name of your application cache.
Lookups / MinNumber of Solr query cache lookups per minute.
Hits / MinNumber of query hits per minute.
Hit Ratio / MinThe percentage of requests that are satisfied by entries already in the cache per minute.
Evictions / MinThe number of entries removed from the cache per minute.
Cache Size (Bytes)The size of the field value cache.
Update Handler
Core NameThe name of the Solr core on the instance.
Commits / MinThe number of commits per minute. (A commit writes all loaded documents to one or more segment files on the disk.)
Rollbacks / MinThe number of rollbacks per minute. (The rollback reverts all add and deletes made to the index since the last commit.)
Docs Add / MinThe number of documents added per minute.
Docs Deleted by Query / MinThe number of documents deleted by Query per minute.
Docs Deleted by ID / MinThe number of documents deleted by ID per minute.
Docs PendingThe number of documents pending commit.
Errors / MinThe number of errors occurred per minute.
Optimizations / MinThe number of optimizations done per minute.
Number of Transaction LogsThe total number of the transaction logs.
Transaction Logs size (Bytes)The total size of the transaction logs.

Configuration

ParameterDescription
OS NameThe name of the operating system used in the running machine.
ArchitectureThe architecture of the machine where the instance is running.
Available ProcessorsThe total available processors of the machine where the instance is running.
Java Installation DirectoryThe home directory where the java instance used by Apache Solr is installed on the machine.
Java VersionThe version of the java instance used by Apache Solr installed in the machine.
Java VendorThe vendor of the Java instance used by Apache Solr installed in the machine.
Jetty HomeThe home directory where the jetty server is installed in the machine.
Controller PortThe port where the jetty server is currently running in the machine.
Client NameThe current machine name.
User DirectoryThe home directory where the Solr is installed.
Solr VersionThe version of the Solr installed.
Lucene VersionThe version of the Lucene installed.
Deployment ModeThe current deployment mode of the Solr (Cloud or Standalone).
Cluster Client TimeOutThe maximum timeout set for the connection establishment with zookeeper.

Loved by customers all over the world

"Standout Tool With Extensive Monitoring Capabilities"

It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.

Reviewer Role: Research and Development

carlos-rivero
"I like Applications Manager because it helps us to detect issues present in our servers and SQL databases."
Carlos Rivero

Tech Support Manager, Lexmark

Trusted by over 6000+ businesses globally