Hello
I have updated some of the products on our magento 1.9.3.7
After a while when cleaning the cache i got "Error 503 - Service Temporarily Unavailable"
I asked sire ground why do i getting this and they told me that that there was
index.php executions: 18944 times during my updates and this causes a strain on both CPU and RAM and is causing the service to go down.
So how can i fix it now? any ideas?
Thanks
Assaf
Hello @arabinstruments
Try seeing if the file maintenance.flag exist in your Magento root directory.
If you see this file, remove it and the error will go away.
If found my answer useful. Please give Kudos and Accept it as Solution!
Hello @arabinstruments
There could be the multiple reasons behind this.
Please check the following steps to find out your issue and solve it.
Step1: Remove the maintenance.flag file from the root folder of your Magento.
Step 2: Rename/Remove the .htaccess file temporary which is placed on the root folder of your Magento and then check if 503 error is gone or not. If 503 error is not coming after renaming/removing the file, that means there is something missing in the server configuration. (e.g. Wrong PHP version).
Step 3: If 503 error is still appearing after renaming/removing the .htaccess file, then it could be the issue of file permission.
Run the following command from the root folder your Magento to give 644 permission to your index.php file.
chmod 644 -R index.php
if it doesn't work then try to run the command with sudo
sudo chmod 644 -R index.php
Note: Don't forget to put the .htaccess file again to the root folder.