[Tickets #12124] Re: horde crashes with php memory exhaustion
noreply at bugs.horde.org
noreply at bugs.horde.org
Wed Mar 20 22:54:58 UTC 2013
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/12124
------------------------------------------------------------------------------
Ticket | 12124
Updated By | Michael Slusarz <slusarz at horde.org>
Summary | horde crashes with php memory exhaustion
Queue | Horde Framework Packages
Version | Git master
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
Michael Slusarz <slusarz at horde.org> (2013-03-20 16:54) wrote:
You really need to go through and find the exact spot where the memory
is exhausting. It *looks* like it may have something to do with the
logging rewrite. Except that none of the devs can reproduce. We've
already had one issue relating to this, and it turned out to be broken
PHP behavior.
The best thing to do is to go to the script that is causing the
problem, pick a random place in the script, and insert an 'print
"HERE"; exit;' command. If no memory exhaustion is found (i.e. you
see HERE output and no PHP error), delete that command, move down the
file, insert another 'print "HERE"; exit;' command, and check for
memory exhaustion. Once you hit a spot where the PHP script exits
with an exhaustion error (you should not see HERE on the browser
screen), move the command up in the file until you find the spot that
"HERE" is shown again. This will help to determine where the
exhaustion (most likely an infinite loop) is occuring.
More information about the bugs
mailing list