Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Scaling Big Data with Hadoop and Solr, Second Edition

You're reading from   Scaling Big Data with Hadoop and Solr, Second Edition Understand, design, build, and optimize your big data search engine with Hadoop and Apache Solr

Arrow left icon
Product type Paperback
Published in Apr 2015
Publisher
ISBN-13 9781783553396
Length 166 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
 Vijay Karambelkar Vijay Karambelkar
Author Profile Icon Vijay Karambelkar
Vijay Karambelkar
Arrow right icon
View More author details
Toc

Monitoring Solr instance


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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images