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 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 <yypvsxf19870...@gmail.com
> >wrote:
>
> > 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
> > Tasks: 418 total,   1 running, 412 sleeping,   0 stopped,   5 zombie
> > Cpu(s): 19.1%us,  0.1%sy,  0.0%ni, 80.8%id,  0.0%wa,  0.0%hi,  0.0%si,
> > 0.0%st
> > Mem:  32955380k total, 28288212k used,  4667168k free,   503148k buffers
> > Swap: 37257200k total,    87064k used, 37170136k free, 10861500k cached
> >
> >   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+
> > COMMAND
> >
> > 13359 solr      21   0 11.4g 6.7g  12m S 400.5 21.4 491:30.85 java
> >
> >  3678 solr      15   0 13020 1380  828 R  0.0  0.0   0:19.16
> > top
> >
> >  3694 solr      15   0 66092 1556 1228 S  0.0  0.0   0:00.01
> > bash
> >
>
>
>
> --
> Sincerely yours
> Mikhail Khludnev
> Principal Engineer,
> Grid Dynamics
>
> <http://www.griddynamics.com>
>  <mkhlud...@griddynamics.com>
>

Reply via email to