You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Roupihs <jo...@gmail.com> on 2013/03/03 06:52:57 UTC
100% CPU usage in empty indexs
I have a puppet manifest that builds solr 4.1 inside of tomcat 7 & java
1.7.15. All goes well, all of the core initialize and so on, But the second
I go to the admin page (host:8080/solr) the cpu usage on one core spikes to
100% and never comes back down. Nothing at all in the logs except for the
warning that solr created a new index folder on startup. I'm not sure what
is causing this. The JVM has a max heap of 4G and it's not even using 1, so
I don't think it is GC related.
Thanks
-Joey
--
View this message in context: http://lucene.472066.n3.nabble.com/100-CPU-usage-in-empty-indexs-tp4044292.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: 100% CPU usage in empty indexs
Posted by Chris Hostetter <ho...@fucit.org>.
: I have some more info now that I have had time to dig into it.
:
: I can stop the loop and cause solr to behave by reloading two cores. It
: doesn't matter which two, any two will do.
As Otis already said: please verify which PID is causing the CPU
utilitization, and generate some thread dumps (using jstack) if it's the
JVM so we can try to help track down where/why the problem is occuring...
-Hoss
Re: 100% CPU usage in empty indexs
Posted by Roupihs <jo...@gmail.com>.
I have some more info now that I have had time to dig into it.
I can stop the loop and cause solr to behave by reloading two cores. It
doesn't matter which two, any two will do.
If I restart tomcat I can repeat this cycle. If I remove all but one core, I
have to reload it twice.
This is seeming less like a configuration issue and more like a solr bug.
-Joey
--
View this message in context: http://lucene.472066.n3.nabble.com/100-CPU-usage-in-empty-indexs-tp4044292p4044354.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: 100% CPU usage in empty indexs
Posted by Otis Gospodnetic <ot...@gmail.com>.
Hi,
The CPU spikes.... but which process is eating the CPU? Assuming JVM -
thread dump it a few times and look at the dumps.
Otis
--
SOLR Performance Monitoring - http://sematext.com/spm/index.html
On Sun, Mar 3, 2013 at 12:52 AM, Roupihs <jo...@gmail.com> wrote:
> I have a puppet manifest that builds solr 4.1 inside of tomcat 7 & java
> 1.7.15. All goes well, all of the core initialize and so on, But the second
> I go to the admin page (host:8080/solr) the cpu usage on one core spikes to
> 100% and never comes back down. Nothing at all in the logs except for the
> warning that solr created a new index folder on startup. I'm not sure what
> is causing this. The JVM has a max heap of 4G and it's not even using 1, so
> I don't think it is GC related.
>
> Thanks
> -Joey
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/100-CPU-usage-in-empty-indexs-tp4044292.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>