Many custom applications call web services from AEM. These applications use Apache Commons HTTP Client or other libraries. When the back-end systems experience performance issues then AEM would experience slow response times. In addition, if too many threads hang, this can lead to slow JVM garbage collections, out of memory errors, OS thread exhaustion, etc.
When capturing thread dumps or heap dumps from AEM, you observe many threads waiting on the web service calls.
Example Scenario:
Below [1], is an example stack trace from a JVM thread dump. It was captured from an AEM instance with an application experiencing a badly performing back-end service.
The thread dump showed a few issues:
Note the highlighted stack lines:
[1]
Below are some common causes:
Solutions to these problems are the following:
Hesabınıza giriş yapın