[Performance Tuning] - Peak of CPU
by picje
Hello,
We use the jboss 4.0.3SP1 version and sometimes we observe a high peak of CPU (more than 150%), and if I look to the number of activethread I see 217 threads. However the maximum number of thread in the pool is configured to 25.
JBoss System Threads
System Threads
<!-- How long a thread will live without any tasks in MS -->
60000
<!-- The max number of threads in the pool -->
25
<!-- The max number of tasks before the queue is full -->
1000
<!-- The behavior of the pool when a task is added and the queue is full.
abort - a RuntimeException is thrown
run - the calling thread executes the task
wait - the calling thread blocks until the queue has room
discard - the task is silently discarded without being run
discardOldest - check to see if a task is about to complete and enque
the new task if possible, else run the task in the calling thread
-->
run
As the maximum number of thread is lower than the number of Active thread, can it explain the peak of CPU consumption? Because we create and destroy a lot of thread which are not pooled?
And of course do we have to increase the maximum number of thread in the pool and what is the limit?
by advance thanks a lot for your help.
Best Regards,
Jerome.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221859#4221859
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221859
17 years
[JBoss OSGi] - JBossOSGi-1.0.0.Alpha3 Released (27-Mar-2009)
by thomas.diesler@jboss.com
I am happy to announce the release of JBossOSGi-1.0.0.Alpha3.
JBossOSGi-1.0.0.Alpha3 is our first functional release that comes with:
* Apache Felix integration
* A specialized JBossOSGi Runtime
* Integrated Hudson QA
* IzPack based Installer
* Bundle hot deployment
* Management Console
* Docbook Guides
* HttpService
* LogService
Task
* [JBOSGI-29] - Provide Initial Framework SPI
* [JBOSGI-30] - Integration layer for Apache Felix
* [JBOSGI-35] - Setup JBoss OSGi download area
* [JBOSGI-38] - Investigate bundle install/start behaviour with random deployment order
* [JBOSGI-41] - Verify persistent file storage
* [JBOSGI-42] - Provide IzPack based Installer
* [JBOSGI-43] - Hudson QA as integral part of each project release
* [JBOSGI-44] - Provide bundle hot-deployment on jboss
* [JBOSGI-45] - Provide minimal JBossOSGi Runtime
* [JBOSGI-46] - Integrate 3rd party HttpService
* [JBOSGI-47] - Delegate 3rd party framework logging to jboss logging
* [JBOSGI-48] - Integrate 3rd party LoggingService
* [JBOSGI-49] - Integrate 3rd party Management Console
* [JBOSGI-50] - Provide a docbook guides
* [JBOSGI-51] - Provide a management view (JMX) on framework and bundles
Enjoy
The JBossOSGi Team
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221846#4221846
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221846
17 years