Apache Tomcat memory verification |
Apache Tomcat memory verification
1.Access the bin folder, located in the directory where Tomcat is installed.
2.Open the setenv.sh file for editing:
3.In the file, look for the "set JAVA_OPTS" line. If it exists, check whether the minimum values assigned to the "-XX:MaxPermSize" and "-Xmx" variables are 1024m. If the line does not exist or the variables are not configured correctly, add this line, leaving it as shown below:
4.Save and close the file
Increase the number of concurrent PHP processesIf necessary to increase the limit of concurrent PHP processes due to a more intense use, follow the steps below:
1.Access the following file:
2.Update the 'pm.max_children' parameter with the desired value, for example:
|