Recently aem author instances was not accessible and was throwing 404 .But after restart it worked fine for next few days and issue happened agin today.Also please note that stoping the aem service took long time more than 10 min.
Now can anyone please suggest what could be the issue.Or suggest us what should we check if the issue arise again.
Not Found (404) The requested URL /libs/granite/core/content/login.html resulted in an error in org.apache.sling.servlets.get.DefaultGetServlet.
With the latest version of AEM 6.5.* , when ever a deployment is happening in OSGI. I am observing that when ever i am deploying a bundle , i can see that at-least for 20 mins AEM instance is non responsive.
Do check the error.log with tail command when it is not responsive. If you observe that bundles are restarting then there is no need to restart AEM instance.
To add to this, also capture a series of 10 thread dumps (1 every 10 seconds) when you see slowness along with the top -H output such that you can map thread id at your end in thread dump. See here .