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

dcam’s picture

Category: Bug report » Support request
Issue tags: -error, -update.php

I'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.

JKingsnorth’s picture

Status: Active » Postponed (maintainer needs more info)

Let us know how you got on with dcam's advice =]

zap-admin’s picture

dcam,
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.

dcam’s picture

Ok, 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.

zap-admin’s picture

Ran 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.

cilefen’s picture

@zap-admin That is a lot of modules. You will certainly need more RAM.

zap-admin’s picture

Just 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

zap-admin’s picture

Title: Error right after completely update.php » Error right after completing update.php

Version: 7.37 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

cilefen’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)