Hello Experts,
We have just upgraded our system with PHP V5.6.20 from PHP5.4.5. After this the node which got saved in PHP 5.4.5 is not getting saved in PHP 5.6.20 and the node is still in "Edit" Mode.
Sometimes, we get the following error:
Fatal error: Class entry requested for an object without PHP class in /home/xxxxx/public_html/includes/errors.inc on line 59
We are unable to understand what causing this error, but sure something with the latest PHP version and Drupal.
Any pointers, help in resolving the issue is greatly appreciated.
We wanted to take the benfit f PHP 5.620 for performance, but due to this issue, we wanted to remain in PHP5.4.5
Thanks for your attention , suggestion and advice,
SK2013
Comments
Comment #2
cilefen commentedPut a breakpoint on that line and get a stack trace.
Comment #3
cilefen commentedComment #4
sk2013 commentedThanks Cilefen.
We have put the break point and we just got blank screen and many times got the following error:
PHP Fatal error: Allowed memory size of 3183476736 bytes exhausted (tried to allocate 2970091520 bytes) in /home/xxxxx/public_html/includes/errors.inc on line 62
So increased to 6GB Memory again it exhausted memory. So we increased again exhausted. Finally we gave 15GB Memory we get to see the fields displayed on the browser. but no error message.
So we decided to downgrade to PHP5.4.45.
May be some one can refer if they got similar issue.
Comment #5
chrisc commentedI have come across this issue, after upgrading to PHP 5.6.20 there is a massive increase in CPU usage, see this thread for some more detail.
The server has 8GB of RAM and 10 CPUs and is running Nginx, PHP5-FPM and Memcache, MySQL is running on another server.
Since the upgrade there have been lots of memory exhausted errors, for example:
Since then the max memory per process has been increased to 512M and the max number of processes set to match the number of CPUs, 10, and this has prevented the server running out of memory and oomkiller taking services down (this happened yesterday), each process is using all the resources of one CPU.
The server is now staying up but is very slow, I'm probably going to have to downgrade PHP if a fix can't be found very soon.
Are there any more details I can provide which would help track this problem down?
Comment #6
cilefen commented@sk2013 Are you on Nginx also?
Comment #7
sk2013 commentedInitially we were in just Apache then we have used both, but with Nginx we have got the Background Batch process not running. So we have removed Ngnix and also downgraded to PHP 5.4.45 and the Node Save is working fine now. Background batch process also working fine.Memory usage also fine.
Y'day we had the issue of memory and the server crashed (600GBSSDfor 15GB of data) with 100% disk .
Hope this helps,
Comment #8
chrisc commentedI have downgraded to the last version of PHP for Debian Jessie and this has solved the very high CPU usage problem, however it would be good to find the cause of the problem...
Comment #9
cilefen commentedComment #10
sk2013 commentedAny one found solution to this peculiar issue with background process and node save when upgrading to higher versions of PHP?
Thanks,
Sk2013