Re: Box occasionally pegs one cpu at 100%

2011-01-10 Thread Simon Wistow
On Mon, Jan 10, 2011 at 05:58:42PM -0500, François Schiettecatte said: > http://www.oracle.com/technetwork/java/gc-tuning-5-138395.html(you > need to read this one) > > http://java.sun.com/performance/reference/whitepapers/tuning.html (and > this one). Yeah, I have these two pages b

Re: Box occasionally pegs one cpu at 100%

2011-01-10 Thread François Schiettecatte
This reminded me of a situation I ran into in the past where the JVM was being rendered useless because it was calling FGC repeatedly. Effectively what was going on is that a very large array was allocated which swamped the JVM memory and caused it to trash, much like an OS. Here are some links

Re: Box occasionally pegs one cpu at 100%

2011-01-10 Thread Simon Wistow
On Mon, Jan 10, 2011 at 01:56:27PM -0500, Brian Burke said: > This sounds like it could be garbage collection related, especially > with a heap that large. Depending on your jvm tuning, a FGC could > take quite a while, effectively 'pausing' the JVM. > > Have you looked at something like jstat

Re: Box occasionally pegs one cpu at 100%

2011-01-10 Thread Dennis Gearon
fixes. - Original Message From: Brian Burke To: "solr-user@lucene.apache.org" Sent: Mon, January 10, 2011 10:56:27 AM Subject: Re: Box occasionally pegs one cpu at 100% This sounds like it could be garbage collection related, especially with a heap that large. Depending on your jv

Re: Box occasionally pegs one cpu at 100%

2011-01-10 Thread Brian Burke
This sounds like it could be garbage collection related, especially with a heap that large. Depending on your jvm tuning, a FGC could take quite a while, effectively 'pausing' the JVM. Have you looked at something like jstat -gcutil or similar to monitor the garbage collection? On Jan 10,