Hi Adobe Team,
I'm working for Nissan-USA. We have Premium Membership for AEM .We are facing High CPU Usage 98% frequently with our Publish Instances.
Tried to analyze using logs and Thread Dumps, but we are not seeing any of our service related. All related to AEM application logs and Threads are waiting state.
Below is the Issue Description:
1.We have Production Environment where we configured 4 Publish Instances and 2 Author Instances.
2.We configured AEM on App nodes.
3.Frequently ,we are Experiencing High CPU usage Load i.e CPU usage is Hitting 98% on one of the Publish instances and remaining for 10 hours nearly.
Also, at the same time we are not seeing any load on other Publish Instances.
4.We verified the Dispatcher level configurations and logs also, we are seeing normal request processing and there are no errors in Error logs.
CPU might be due to alot of replication happening from Author to publish while many of the request hitting your publish instance as well.
In some cases i saw 404 (on a highly traffic page) may also end up hitting publisher.
A good starter to debug this issue will be request log and thread dumps...Try to find the slow requests from request log.
Check for slow queries and see if you create oak index for those queries taking more time.