Tomcat Running in High Utilization on SLES 11
This document (7010072) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise Server 11 SP1
SUSE Linux Enterprise Server 11
# Use JAVA_OPTS to set java.library.path for libtcnative.so
Restart tomcat by running rctomcat6 restart, then test the top command. If the utilization is still high, it may be useful to just run a small java process a couple of times as this may clean out the java stack, with this command:
time java -Xmx64m -version
Check top again and verify whether or not the memory utilization has dropped. (NOTE: If the java -version command has been run a couple of times and memory utilization is still high, keep working through this document)
echo "1"> /proc/sys/kernel/sched_compat_yield
Confirm the status of the java process....has the cpu utilization dropped? If it's still high, run the: time java -Xmx64m -version command once or twice and check top again. If the status is still high, contact SUSE Technical Services. Otherwise, at this point, reboot the server and verify that the CPU utilization of tomcat stays at a manageable level.
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7010072
- Creation Date: 27-Jan-2012
- Modified Date:16-Mar-2021
- SUSE Linux Enterprise Server
- SUSE Linux Enterprise Software Development Kit
For questions or concerns with the SUSE Knowledgebase please contact: firstname.lastname@example.org