Recently we upgraded Magento from 2.3.4 to 2.4.6, after that, we facing some performance fluctuation, some times site is fast and some site is slow, if we are performing any admin operations, that site is very slow, we could not able to edit/save the CMS pages, we are getting 504 error
You'll need an experienced team to take a look at your logs and codebase and figure out what is causing these issues. Nobody can know what the issue is based solely on the description of the issue you provided.
If you need professional help with that, feel free to contact us.
A 504 Gateway Timeout error typically occurs when a web server doesn't receive a timely response from another server, such as a database server or an API server. In the context of upgrading Magento from version 2.3.4 to 2.4.6, there are several potential reasons for encountering this issue during CMS page save operations in the admin panel.
Here are some steps you can take to troubleshoot and resolve the 504 Gateway Timeout error:
Check Server Resources
Facing a 504 Gateway Timeout error after upgrading Magento can be frustrating, but it's a common issue that can be resolved by optimizing your server and configuration. Here are some steps to help you troubleshoot and fix this issue:
Check Server Resources:
PHP Version and Configuration:
Web Server Configuration:
Varnish or Full-Page Cache:
Extensions and Custom Code:
Logging and Monitoring:
Content Delivery Network (CDN):
Upgrade Scripts and Patches:
Consult Magento Experts:
It's important to approach these troubleshooting steps methodically and consider seeking professional assistance if needed, as server and performance optimization can be complex tasks.
There are a few things I would recommend checking to address the performance fluctuations and 504 errors after upgrading Magento from 2.3.4 to 2.4.6:
With tuning at the server, network, database, and application level you should be able to smooth out performance after the sizable version jump.
I'd suggesting adding a code profiler to see what's going on. Try New Relic or Tideways (free the first 14 days or so). It will tell you what's slow.