[Tickets #12654] Infinite loop if logfile not writable
noreply at bugs.horde.org
noreply at bugs.horde.org
Tue Sep 3 18:51:56 UTC 2013
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/12654
------------------------------------------------------------------------------
Ticket | 12654
Created By | stefan at 404-net.de
Summary | Infinite loop if logfile not writable
Queue | Horde Base
Version | 5.1.4
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
stefan at 404-net.de (2013-09-03 18:51) wrote:
If the logfile (e.g. /var/log/horde/horde.log) is not writable due to
file permissions or open_basedir restrictions, the ErrorHandler seems
to create an infinite loop until memory is exhausted. This leads to
huge server load depending on apache config.
Error message in apache's error.log:
"PHP Fatal error: Allowed memory size of ... bytes exhausted (tried
to allocate 83107841 bytes) in /usr/share/php/Horde/ErrorHandler.php
on line 111"
I think it's not a new issue, I just discovered it in v5.1.3 when I
ported my installation to a different server and forgot about the
permissions.
More information about the bugs
mailing list