we had this situation a few times, the servicemix java process consumes nearly 100% cpu.
this happend a few times on productive systems, but also on internal test and my workstation.
it happend again this night on my local system, i started servicemix yesterday, installed one of our feature for debugging and let it run over night. there was no load in this time.
i tried to solve this problem like i did once before (with version 4.3.0-fuse-03-00), i uninstalled features one by one to find out what could cause the problem. uninstalling the war feature fixed in once on my workstation, the process stopped to consume cpu power. but
it didn't work today, the process just hangs, no more logs, no connection via jmx. i attached a screenshot of jconsole before it lost the connection.
here is what i did in the karaf console
karaf@esb01> features:list -i
State Version Name Repository Description
karaf@esb01> features:uninstall war
the output after the command i saw for the first time
and than nothing , i had to kill the process.
there was no trace of a problem in the log file.
i'm currently using apache-servicemix-4.4.0-fuse-20110405.154730-4
i run 1 cxf soap webservice in an embedded jetty, and a vaadin webapp in the osgi http service.
Karaf home E:\srv\apache-servicemix-4.4.0-fuse-SNAPSHOT
Karaf base E:\srv\apache-servicemix-4.4.0-fuse-SNAPSHOT
OSGi Framework org.eclipse.osgi - 3.6.0.v20100517
Java Virtual Machine Java HotSpot(TM) 64-Bit Server VM version 19.0-b09
Vendor Sun Microsystems Inc.
Uptime 5.611 seconds
Total compile time 9.397 seconds
Live threads 37
Daemon threads 32
Total started 40
Current heap size 145,938 kbytes
Maximum heap size 734,016 kbytes
Committed heap size 734,016 kbytes
Pending objects 0
Garbage collector Name = 'ParNew', Collections = 0, Time = 0.000 seconds
Garbage collector Name = 'ConcurrentMarkSweep', Collections = 2, Time = 0.000 seconds
Current classes loaded 3,424
Total classes loaded 3,426
Total classes unloaded 0
Name Windows 7 version 6.1
-server -Xmx768m -Xms768m -Xmn512m -Xss128k -XX:MaxPermSize=192M -XX:ParallelGCThreads=20 -XX:UseLargePages -XX:UseConcMarkSweepGC -XX:UseParNewGC -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=31 -XX:AggressiveOpts
i think this will not be easy to reproduce, i just wanted to let you know that there is a problem.
something offtopic, i don't think this could solve the problem, but when will fuse esb 4.4 be released? (hopefully bundled with camel 2.7.1).
the wiki page is outdated
jconsole.gif 56.6 K