4 Replies Latest reply on Apr 9, 2007 6:11 PM by edavis

    performance degradation

    edavis

      Hello,
      im running a web application on jboss4.0.5.GA using ejb3, hibernate, tomcat, mysql, treecache, prototype for ajax, servlet with pojo based html rendering, etc if more datails are needed ill be happy to provide them.

      Im still working in tunning the application to get better performance but the main problem im facing atm is that in time the server performance degrades, day one it works like a charm, and the following days it starts to go slower and slower. Im not leaking db connections, eviction on caches are in the range of one hour so that should not be the problem.

      Im using sun jvm 1.5.0_09 and starting jboss with

      java -Dprogram.name=run.sh -server -Xms128m -Xmx1024m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true


      The server is an AMD Athlon(tm) 64 Processor 3200+ with 2G ram that is also running mysql and apache under Red Hat 2.6.9-42.0.2.EL

      When the server gets slower I look the ServerInfo MBean and none of my classes are blocking any thread.

      What should I look for? JVM tunning? another JVM? is this a known issue? is my code faulty?

      If this is not the right forum to ask, please point me to the right one.

      Also, im very sorry about my raw english, is not my main lang.