1 Reply Latest reply on Jun 12, 2009 4:45 AM by allen_lei

    JVM Free Memory

      I am running the loadtest to my JBoss cluster server say APP1 & APP2.
      Althougt I have the same config to both servers, I found that the Memory usage for APP2 is much more in APP2 than APP1. Is this normal?

        • 1. Re: JVM Free Memory
          allen_lei

          The same configurations to both servers are not always mean the same usage of memory in clusting.It also infected by the client requests each web server serves.

          And in clusting,the requests each worker node serves are defined by the "lbfactor" directive,see below:

          workers.properties

          # Define Node1
          worker.node1.port=8009
          worker.node1.host=192.168.10.128
          worker.node1.type=ajp13
          worker.node1.lbfactor=1
          
          # Define Node2
          worker.node2.port=8009
          worker.node2.host= 192.168.10.129
          worker.node2.type=ajp13
          worker.node2.lbfactor=3


          As you can see as above,the node2(lbfactor=3) will serve three times requests more than the node1(lbfactor=1).In this situation,the memory usage of node2 maybe more than node1 depends your app.

          Hope this will help you.