I have Magento 2.3.5-P1 installed on a dedicated server (4 core, 4GM memory) and it is crashing from out of memory constantly. As soon as it recovers, if I click on any link on the site, the server crashes again. My server host has said "We advise consulting with your developer/content manager to review this further as the application may require some updates to its core functions or modules, if they are out-to-date, as that may be the reason for this resource spike."
I am a small business, so I don't have a developer, so I don't know what to do next. Can anyone advise what might be going wrong? It was all working perfectly for three weeks, then suddenly it won't run at all and I haven't changed anything.
Hello @bigbob2
Please us to share error logs the exact error to know the issue.
Or you can follow below to check if that can fix your issue:
Increase the value of memory limit in your php.ini
follow this for limit:
chmod -R 0777 var/ pub/ generated/ var/ rm -rf var/cache/* var/view_preprocessed/* generated/* pub/static/* php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento cache:flush php bin/magento indexer:reindex chmod -R 0777 var/ pub/ generated/ var/