4 Replies Latest reply on Sep 5, 2016 11:39 PM by shonkylogic

    Host Controller and Process Controller heap size

    bstn_c Newbie

      In our current setup, we have several JBoss hosts running on the same Virtual Machine. Every host runs 1 to n servers, depending on the application.

       

      Example:

      appxhost has two servers: appx-core-server and appx-ws-server

       

      Since there are multiple JBoss hosts, for each host I start on the VM, I get a Process Controller and a Host Controller process. By default, they are using a max heap of 512MB and a permgen of 256MB

      The VMs are configured to have 10GB of RAM, and I would like to maximize the number of hosts I can run on those VMs. I was thinking about lowering the max heap of the host and process controllers and also the permgen. This can be done in the domain.conf if I'm not mistaken. (PROCESS_CONTROLLER_JAVA_OPTS and HOST_CONTROLLER_JAVA_OPTS which are currently configured to use the JAVA_OPTS="-Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000") Right now, I have an overhead of 1536MB on top of the configured heap of the application server itself and its permgen space. (1 host controller and 1 process controller)

       

      Is this possible? I mean; how low can I go without running into problems? Are there criteria I can take into account to calculate the necessary heap requirements for these controller processes?