I'm not sure if this is anything serious or exclusive to the VPS I'm running but after I finished running the update.php script, and I was told that all was well I clicked on "front page" then got the white screen of death with this message:
Fatal error: Allowed memory size of 120586240 bytes exhausted (tried to allocate 256 bytes) in /home/domainname/public_html/includes/menu.inc on line 3783
I seem to remember something similar happening when I did an update to 7.36 but the same thing happens not 2 minutes after, the site starts loading again and all is well.
If I have somehow missed a setting on my VPS that is causing this please let me know.
Thank you.
Comments
Comment #1
dcam CreditAttribution: dcam commentedI'm glad this problem isn't completely preventing your site from working. It could be that this is happening after cache clears, which would happen during an update. The server has to work harder on the next page load. Go to /admin/config/development/performance and clear the cache to try and reproduce the issue.
Whatever happens with the cache clearing, the first step to trying to fix the problem is probably to increase the memory_limit in your php.ini file and restart the server.
Comment #2
JKingsnorth CreditAttribution: JKingsnorth commentedLet us know how you got on with dcam's advice =]
Comment #3
zap-admin CreditAttribution: zap-admin commenteddcam,
I've got no issues clearing cache, flushed it and no issues. But I'll go in and increase the php memory limit, I've got the PHP memory limit set to 115MB but I'll bump that up a bit and make sure. I bumped up to 225MB and I'll make sure to come back in and post an update next time I update the core files. Thank you very much for taking the time to respond to my post.
Comment #4
dcam CreditAttribution: dcam commentedOk, 115Mb does sound kind of low to me, but I'm no sysadmin so I don't know for certain. If you have a lot of modules enabled, then that increases the likelihood that it's a memory issue. When you come back you might let us know how many there are.
Comment #5
zap-admin CreditAttribution: zap-admin commentedRan update again after installing update to advanced help module. Error came from same file but different line this time. But it did the same thing, got this error message with the white screen of death, only to have it clear up a couple minutes later:
Fatal Error: Allowed memory size of 235929600 bytes exhausted (tried to allocate 72 bytes) in /home/domainname/public_html/includes/menu.inc on line 333
I've now upped the PHP Memory limit to 350MB, will report what happens on the next update I make to another site on my VPS.
DCAM I've got 142 modules installed on this site right now. Not using all of them, maybe 80 or so. I need to finish tweaking the interface and create some more views since it's getting closer to having enough content to do more with those. Once I get that straightened out I'll try to remove what I can that's not being used.
Comment #6
cilefen CreditAttribution: cilefen commented@zap-admin That is a lot of modules. You will certainly need more RAM.
Comment #7
zap-admin CreditAttribution: zap-admin commentedJust did the same update on another site with significantly more content and modules, 158 modules with what looks like 102 active. But this time when I when I hit "front page" after the update was finished I got no white screen of death. So it looks like 350MB might have done the trick. I'll also try to clear out a few of the installed modules that I'm not using soon. Thanks
Comment #8
zap-admin CreditAttribution: zap-admin commentedComment #10
cilefen CreditAttribution: cilefen commented