Memory limit being reached after template change
-
I had an existing WordPress / Woocommerce site that was built using by a third party, but the quality was rubbish. In the end I gave up on the developer and just went with what they had produced, all was well for the last year but I really wanted to have a better site for my customers. So… I installed a new theme (gamestore pro), disabled the old one (street jock) and all seemed OK. Then after a few days I noticed that I started getting 503 errors and tracked it down to memory limits being reached on my hosting. See https://snipboard.io/5UH4o2.jpg for what is occuring.
As soon as I try to access the orders page in Woo or after a a while when trying to add products, memory begins to spike and then flatlines at mamximum usage and then the whole site locks up with 503 errors until an hour or so later when memory returns to normal.
I thought it must be the theme, so I changed to Maxstore Pro… same issue. I disabled all plugins and slowly enabled each one looking for a spike in memory, but nothing happened. All seemed OK, but after an hour or so of using the site… same fault!
I suspect that the original developer has messed with the core wordpress / woo PHP coding and stuffed something… as when I worked with the hosting company to troubleshoot they found that:
Upon further check, during 06:30 AM 29-May-2021 server time, we were able to see the following script and process were taking up the resources:
lsphp creating multiple child processes.
lsphp:/home/mbssorga/bitsandbytes.shop/index.php
lsphp:mbssorga/bitsandbytes.shop/wp-admin/admin.php
lsphp:/mbssorga/bitsandbytes.shop/wp-admin/edit.php
The admin.php, index.php, and edit.php were taking up 100% resource usage with every pooled process. It indicates either high traffic or bot attack or code optimization issue.
I am wondering if there is a way to simply wipe and put back all the default WordPress and Woo files to see if that is the issue… or if anyone has some suggestions what to do it would be much appreciated.
The page I need help with: [log in to see the link]
The topic ‘Memory limit being reached after template change’ is closed to new replies.