Having Speed Issues


#1

Discuss Magento related issues here.

My development team is creating an e-commerce website on the Magento Platform, and they’re having speed issues with the server.

It was working well last week when they started on building the website. However, today it keeps giving them the loading the site message with the 502 Gateway error.

Does anybody know if this is a common issue with Cloudways? Any recommendation on how to resolve this?
Is it a host issue?

My current server:
RAM 4GB
Processor 2 Core
Storage 80GB
Bandwidth 4TB

Website is not Live yet, still in development.

Any useful information would be highly appreciated, thanks!

-Dev


#2

Hi @devraj1025

Which Magento version are you using? M1 or M2?

Also, please check with your development team. If the site was working well before, what changes have they made or installed any Magento extension that causes 502 Error.

A 502 error is caused due to timeout of PHP request. To prevent this error, you need to adjust some server settings, i.e. you can increase Execution Limit for the server.

Check out this KB, I hope this can help you:

https://support.cloudways.com/fix-502-bad-gateway-error/

Also, do not forget to check your application side as well. Some broken scripts can also be the cause of this issue!