How many CPU's do you have in master/slave? The graphs shown by you are for 'a single CPU' or 'All the CPU'?
Deepak "The greatness of a nation can be judged by the way its animals are treated. Please stop cruelty to Animals, become a Vegan" +91 73500 12833 deic...@gmail.com Facebook: https://www.facebook.com/deicool LinkedIn: www.linkedin.com/in/deicool "Plant a Tree, Go Green" Make In India : http://www.makeinindia.com/home On Wed, May 16, 2018 at 6:41 PM, Александр Шестак < shestakalexa...@mail.ru.invalid> wrote: > Hi, I have a question about unpredictable CPU usage by solr. > > We have recently migrated our application from Solr 4.6.1 to Solr 7.1.0. > We use master/slave approach. And now we have noticed that CPU usage of > master/slave in passive state (no request to Solr are performed) is none > zero. When we use Solr 4.6.1 and use tomcat for Solr deploying then CPU > usage is almost 0. With Solr 7.1.0 cpu usage is varying from 0% to 40% (it > jumps every time). > > > Is it normal behavior for Solr and jetty? > > I have tried to analyze this situation by Java VisualVM. > > Solr Master CPU usage looks in next way > > > Master spend most of time in some jetty method > > > Solr Slave CPU usage looks in next way > > > > > > > All this screenshots were made when there is no any activity with solr > performed (solr just was started and no requests to it were performed) > >