This section describes some recommended performance tuning configurations to optimize Apache Stratos. It assumes that you have set up Stratos on Unix/Linux, which is recommended for a production deployment.
To alter the number of allowed open files for system users, configure the following settings in the
limits.conf Linux file, which is in the
/etc/security/ directory. For more information see, Setting maximum open file descriptor limits.
Optimal values for these parameters depend on the environment.
stratos.sh file, which is in the
<STRATOS_HOME>/bin/ directory. For more information see, Setting JVM memory allocation limits for Stratos.
-Xms256m -Xmx2048m -XX:MaxPermSize=256m
-Xms256m -Xmx4096m -XX:MaxPermSize=256m
<maxActive> property to 200 in the relevant datasources
master-datasources.xml file, which is in the