Wednesday, November 4, 2020

Performance tuning wildfly

 from here :

performance tuning performance tuning for jboss or wildfly

here summary :

The fine-tuned configurations that we recommend for optimizing the performance of the JBoss or Wildfly application server are:
 

  1.     Recommended JVM Settings
  2.     Open Files
  3.     Maximum User Processes
  4.     Connection Backlog
  5.     Set TCP_KEEPALIVE_INTERVAL
  6.     Set TCP_KEEPALIVE_PROBES
  7.     Allocate Huge Pages for Java Virtual Machine (JVM) Heap
  8.     Increase Linux kernel Entropy
  9.     Test Entropy

wildfly memory jvm setting

 from here :

wildfly-increase-heap

In the WildFly installation home directory, we can find the standalone.conf (for Unix based systems) or standalone.conf.bat (for Windows systems) file in the bin folder.

We can simply open it and update the -Xmx option in the following line (change the number as per the requirement):

    JAVA_OPTS="-Xms64m -Xmx512m ..."

This will set the heap memory while starting up the server.