-
1. Re: Performance issues on JBoss 5
mwohlf Jan 16, 2009 10:05 AM (in response to croy)I am also having performance issues, my machine is
Ubuntu 8.10 2.6.27-9-server #1 SMP
AMD Athlon(tm) 64 Processor 3700+
1 GByte memory
Running JBoss AS5, jboss-seam-2.1.1.GA, richfaces-ui-3.3.0.GA and a simple hello world program with some JTA stuff.
Performance is OK right after restart, but the performance degrades after running for several hours, what I tried so far to speedy things up:
* removed most of the additional stuff form /deploy
* removed the hypersonic default DB & quartz service
* in jboss-service.xml disabled RMI and the AJP connector
* in web.xml set the org.ajax4jsf.xmlparser.ORDER parameter to NONE
* in components.xml set <core:init debug="false">
I did some debug logging which seems to indicate the problem could be the VFSScanner and/or the HotDeployment feature since I loose 2-3 sec there for each request:11:58:23,891 DEBUG [org.ajax4jsf.webapp.BaseFilter] (http-xxx-80-4) Finished request processing total time 75ms for uri: /charms/a4j/g/3_3_0.GAjquery.js 11:58:24,136 DEBUG [org.jboss.seam.init.Initialization] (http-xxx-80-5) Using Java hot deploy 11:58:25,484 DEBUG [org.jboss.seam.deployment.DeploymentStrategy] (http-xxx-80-5) Using org.jboss.seam.integration.jbossas.vfs.VFSScanner@6616b3 11:58:26,081 DEBUG [org.jboss.seam.deployment.DeploymentStrategy] (http-xxx-80-5) Adding org.jboss.seam.bpm.PageflowDeploymentHandler as a deployment handler 11:58:26,497 DEBUG [org.jboss.seam.deployment.DeploymentStrategy] (http-xxx-80-5) Using org.jboss.seam.integration.jbossas.vfs.VFSScanner@f1f2f3 11:58:26,788 DEBUG [org.jboss.seam.util.Resources] (http-xxx-80-5) Loaded resource from servlet context: jndi:/localhost/charms/pages/admin/charmsRoleList.page.xml
One thing that might be related is that I also found hundreds of files in my tmp/vfs-nested.tmp directory like described here:
http://ourcraft.wordpress.com/2009/01/05/plague-of-jar-files/
now I wonder:
* how to turn off the hot deployment feature?
* is there a way to run without the VFSScanner?
since one of them seems to really mess up the performance on my system.
Any help or comments on this are very much appreciated. -
2. Re: Performance issues on JBoss 5
alesj Jan 16, 2009 10:32 AM (in response to croy)"mwohlf" wrote:
One thing that might be related is that I also found hundreds of files in my tmp/vfs-nested.tmp directory like described here:
http://ourcraft.wordpress.com/2009/01/05/plague-of-jar-files/
I have a much better working solution here:
- http://www.jboss.com/index.html?module=bb&op=viewtopic&t=148563
but as you can see, it requires the usage of snapshots - vfs and deployers (which I already put into our mvn repo)."mwohlf" wrote:
* how to turn off the hot deployment feature?
This is really for Seam guys to answer."mwohlf" wrote:
* is there a way to run without the VFSScanner?
I doubt it, since vfs protocol is used all over JBoss5. -
3. Re: Performance issues on JBoss 5
pmuir Jan 16, 2009 10:34 AM (in response to croy)"alesj" wrote:
"mwohlf" wrote:
* how to turn off the hot deployment feature?
This is really for Seam guys to answer.
Set debug to false in components.xml