1 Reply Latest reply on Nov 29, 2004 9:09 AM by luc.texier

    Performance tuning suggestion for JMS+ Session Beans oriente

    ivylimps

      Hi,

      I'm in the midst of migrating a J2EE + Hibernate application from Weblogic to JBoss3.2.1

      It's a MDB + Session Bean opriented app. It only has 2-3 web users and there's a periodic batch process. During the batch process, we discourage users from logging in. The batch process consumes about 100MB of delimited text file and consume each line and placed in a JMS queues, etc.

      Once migrated to production, it will run on a good CPU + 2 GB RAM. I'll set memory to -Xms512m -Xmx1024m. However, I was wondering can any one suggest some changes to my default settings of JBoss which are the following: -

      org.jboss.mq.server.MessageCache

      HighMemoryMark 500
      MaxMemoryMark 600

      org.jboss.mq.pm.jdbc2.PersistenceManager
      ConnectionRetryAttempts 5

      org.jboss.tm.TransactionManagerService
      TransactionTimeout 1800

      org.jboss.resource.connectionmanager.JBossManagedConnectionPool
      MinSize 5
      MaxSize 20
      BlockingTimeoutMillis 5000

      Note: I use the default ConnectionFactory and defaulted to persist via Hypersonic. I intended to keep this setting.

      ...The above config works on my limited PC (1 GB RAM), but for production, if any of you could suggest some changes Or other than the above, would be great.

      Thank you.

        • 1. Re: Performance tuning suggestion for JMS+ Session Beans ori
          luc.texier

          First of all, you should be using the latest production distribution ie 3.2.6

          2) Don't use HSQL on production. It is by no mean a robust database. Use mainstream database servers such as MSSQL, Oracle or MySQL.

          Otherwise your configuration looks good. At first glance, pretty overkill for the load expected but I don't know your app enough to have a definitive opinion.