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
SUSE Linux Enterprise Server 11 Service Pack 1
SUSE Linux Enterprise Server 11 Service Pack 2
# 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 Novell 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 NetIQ/Novell/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-12
- Modified Date:30-APR-12
- SUSESUSE Linux Enterprise ServerSUSE Linux Enterprise Software Development Kit
Did this document solve your problem? Provide Feedback