Re: High cpu ratio when solr sleep

2014-01-17 Thread YouPeng Yang
Hi Mikhail Khludnev I do confirm that there are no requests at all.And I have checked that nothing abnormal with jstat .About the autowarming,I have set it up,but there are no commits or optimize on these cores. On the instance ,there are about 22 cores whose datadirs are on the HDFS.

Re: High cpu ratio when solr sleep

2014-01-16 Thread Mikhail Khludnev
Hello, I can't say anything from this thread dump, but it's really suspicious stacks: java.lang.Thread.State: RUNNABLE at java.util.WeakHashMap.get( WeakHashMap.java:355) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:347) java.lang.Thread.State: RUN

Re: High cpu ratio when solr sleep

2014-01-16 Thread Erick Erickson
At a glance, this looks like you're seeing autowarming, is there any process that could be indexing documents when you see this? Here's a quick test... set all your autowarm counts in solrconfig to 0 and if the problem goes away that's a smoking gun. Or look through your Solr logs around the time

Re: High cpu ratio when solr sleep

2014-01-15 Thread YouPeng Yang
Hi By the ways,after I restart the web container ,the ratio returns normal. So when does the sutuation come out? Regards 2014/1/16 YouPeng Yang > Hi > Thanks for the reply. > I get the information as following: > > [solr@fkapp1 ~]$

Re: High cpu ratio when solr sleep

2014-01-15 Thread YouPeng Yang
Hi Thanks for the reply. I get the information as following: [solr@fkapp1 ~]$ ps mp 13359 -o THREAD,tid USER %CPU PRI SCNT WCHAN USER SYSTEM TID solr 217 -- - - - - solr 0.0 21- 184466-

Re: High cpu ratio when solr sleep

2014-01-15 Thread Otis Gospodnetic
I wonder if this would be a good addition to Solr Admin functionality? Otis -- Performance Monitoring * Log Analytics * Search Analytics Solr & Elasticsearch Support * http://sematext.com/ On Wed, Jan 15, 2014 at 6:29 AM, Mikhail Khludnev < mkhlud...@griddynamics.com> wrote: > Hello, > > Invoke

Re: High cpu ratio when solr sleep

2014-01-15 Thread Mikhail Khludnev
Hello, Invoke top for particular process displaying threads enabled. Find the hottest thread PID. invoke jstack for this process, find the suspicious thread by ".. nid=0x[PID in hex]" ... PROFIT! On Wed, Jan 15, 2014 at 1:38 PM, YouPeng Yang wrote: > Hi > I find that the cpu ratio is very hig

High cpu ratio when solr sleep

2014-01-15 Thread YouPeng Yang
Hi I find that the cpu ratio is very high when the tomcat contained solr 4.6 sleep. The pid 13359 shows that my sleeping solr web container take high cpu ratio Any insights? [solr@fkapp1 ~]$ top -d -1 -u solr top - 17:30:15 up 302 days, 7:10, 5 users, load average: 4.54, 4.52, 4.47 Tas