Maxing out on memory? 500 Internal Server Errors
-
I’m going out of my mind a bit trying to troubleshoot this issue. I’ve been in constant communication with both my hosting support as well as theme developer trying to pinpoint what is causing these errors to continuously crop up:
[Thu Mar 31 20:36:05 2016] [error] [client ##.##.##.##] (12)Cannot allocate memory: couldn’t create child process: /opt/suphp/sbin/suphp for /home/dir/public_html/mysite.com/index.php, referer: https://mysite.com/wp-admin/admin.php
The result is that when accessing my site, I get intermittent 500 internal server errors (e.g., 1 every 5 page loads). As I track the resource usage in my cPanel, I see that the RAM and CPU both skyrocket (e.g. RAM past 1GB) on and off constantly. This includes when nobody else is accessing my site (e.g. according to Google Analytics).
I’ve replaced all my core files, experimented with turning off ALL plugins (though I only have 4), as well as switched to Twenty Sixteen theme. NOTHING seems to affect the RAM usage. I also tried optimizing my MySQL DB, but no change from that either.
Does anyone have any idea what is going on, or have any other ideas on how to troubleshoot? The hosting company insists it is a WordPress problem, while my theme developer insists it is a server-side issue. I don’t get enough visitors to warrant such intense resource usage…and as I mentioned, the overuse seems to be happening when nobody else is accessing the site.
- The topic ‘Maxing out on memory? 500 Internal Server Errors’ is closed to new replies.