Action becomes slow for some time
If an action becomes slow for a time period, thread dumps should be taken. Ideally, you need to take ~10 thread dumps over a fixed short period of time, such as every 20 seconds. For details, read Thread dump analysis.
Resolution
- Analyze thread dumps: http://fastthread.io/.
- Provide the following logs related to performance:
/tomcat/logs/gc.log/tomcat/logs/performance-metrics.log
- Get other useful Tomcat logs:
/tomcat/logs/webharvest.log: machine config log/tomcat/logs/catalina.out: common log/tomcat/logs/wf-rest.log: REST log with timing for REST API