I haven't yet analyzed the thread dump. But could you make a try
increasing the pool size.
Try something like this :
servicemix.corePoolSize = 32
servicemix.maximumPoolSize = 64
servicemix.queueSize = 512
(in conf/servicemix.properties).
You can overwrite configuration on the component itself but first of
all, try like this.
Keep us posted about the result, I'm going to analyze the thread dump.
Regards
JB
timm01 wrote:
servicemix.properties
rmi.port = 1099
rmi.host = localhost
jmx.url =
service:jmx:rmi:///jndi/rmi://${rmi.host}:${rmi.port}/jmxrmi
activemq.port = 61616
activemq.host = localhost
activemq.url = tcp://${activemq.host}:${activemq.port}
servicemix.corePoolSize = 16
servicemix.maximumPoolSize = 32
servicemix.queueSize = 256
Memory using from dump during hanging on:
"C:\java\jdk\jdk1.6.0\bin\java" -Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -server
-Xms256M -Xmx512M
-Dderby.system.home="C:\Java\appServer\fuse33\bin\..\var"
-Dderby.storage.fileSyncTransactionLog=true
-Dorg.apache.cxf.Logger=org.apache.cxf.common.logging.Log4jLogger
-Dcom.sun.management.jmxremote -XX:MaxPermSize=256m -classpath
"C:\Java\appServer\fuse33\bin\..\conf;C:\Java\appServer\fuse33\bin\..\lib\classworlds-1.1.jar"
-Dclassworlds.conf="C:\Java\appServer\fuse33\bin\..\conf\servicemix.conf"
-Dservicemix.home="C:\Java\appServer\fuse33\bin\.."
-Djava.endorsed.dirs="C:\Java\appServer\fuse33\bin\..\lib\endorsed"
org.codehaus.classworlds.Launcher
======
Memory
======
Used: 51520704 (~49MB)
Free: 229497664 (~219MB)
Total: 281018368 (~268MB)
Max: 517013504 (~493MB)
Jean-Baptiste Onofré wrote:
Hi,
could you provide your :
- HEAP memory configuration (in servicemix launcher, it's JAVA_OPTS)
- the thread/pool size configuration in conf/servicemix.properties
Regards
JB
timm01 wrote:
Hi,
I have a question regarding to ServiceMix performance issue.
When JMeter test case starts 100 threads simultaneously for querying
PersonService (wsdl-first-cxf) , then ServiceMix hanging on after about
33
users and breaks connection after timeout with "sendSync timeout"
exception.
But our system should support at least 100 users.
How can we fix this bug (or tweak the configuration)?
Threads dump: http://www.nabble.com/file/p23195483/thread_dump.txt
thread_dump.txt
We used:
wsdl-first-cxf-sa-3.3.1.12-fuse.zip from iona fuse examples.
ServiceMix 3.3.1.12
WinServer2003
Thanks in advance,
servicemix.properties