[Tickets #12124] Re: horde crashes with php memory exhaustion

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Apr 4 15:07:49 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         | ronald at rmacd.com
  Summary            | horde crashes with php memory exhaustion
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


ronald at rmacd.com (2013-04-04 15:07) wrote:

I think I am hitting the same issue and can reproduce.

> with horde_core-2.4.3 we got php exhaustion errors:
>
> [Sat Mar 16 18:37:38 2013] [error] [client 85.181.133.252] PHP Fatal  
> error:  Allowed memory size of 268435456 bytes exhausted (tried to  
> allocate 1048576 bytes) in /usr/share/pear/Horde/ErrorHandler.php on  
> line 168
...
> bumping php memory to 512 M did not help, so there is probably a  
> memory leak in horde_core-2.4.3

On my system:

Apr  4 16:02:51 mail php-cgi: PHP Fatal error:  Allowed memory size of  
134217728 bytes exhausted (tried to allocate 122880 bytes) in  
/srv/www/horde/config/conf.php on line 67
Apr  4 16:02:51 mail php-cgi: PHP Stack trace:
Apr  4 16:02:51 mail php-cgi: PHP   1. {main}() /srv/www/horde/index.php:0
Apr  4 16:02:51 mail php-cgi: PHP   2. Horde_Registry::appInit()  
/srv/www/horde/index.php:79
Apr  4 16:02:51 mail php-cgi: PHP   3. Horde_Registry->__construct()  
/usr/share/php/Horde/Registry.php:246
Apr  4 16:02:51 mail php-cgi: PHP   4. Horde_Registry->importConfig()  
/usr/share/php/Horde/Registry.php:426
Apr  4 16:02:51 mail php-cgi: PHP   5. Horde::loadConfiguration()  
/usr/share/php/Horde/Registry.php:1683

Like before, I checked conf.php and no errors around line 67.

Having bumped memory to 512M, same again:

Apr  4 16:05:50 mail php-cgi: PHP Fatal error:  Allowed memory size of  
536870912 bytes exhausted (tried to allocate 122880 bytes) in  
/srv/www/horde/config/conf.php on line 67
Apr  4 16:05:50 mail php-cgi: PHP Stack trace:
Apr  4 16:05:50 mail php-cgi: PHP   1. {main}() /srv/www/horde/index.php:0
Apr  4 16:05:50 mail php-cgi: PHP   2. Horde_Registry::appInit()  
/srv/www/horde/index.php:20
Apr  4 16:05:50 mail php-cgi: PHP   3. Horde_Registry->__construct()  
/usr/share/php/Horde/Registry.php:246
Apr  4 16:05:50 mail php-cgi: PHP   4. Horde_Registry->importConfig()  
/usr/share/php/Horde/Registry.php:426
Apr  4 16:05:50 mail php-cgi: PHP   5. Horde::loadConfiguration()  
/usr/share/php/Horde/Registry.php:1683

Anything else I could check?

R





More information about the bugs mailing list