[horde] Login tasks memory exhausted

Jan Schneider jan at horde.org
Mon Sep 4 15:14:32 UTC 2017


Zitat von Luis Felipe Marzagao <lfbm.andamentos at gmail.com>:

> Hi, List:
>
> horde 5.2.16
> imp 6.2.19
>
> When running the login tasks I get stuck with an HTTP ERROR 500 at  
> the address services/logintasks.php?app=imp
>
> Looking at the logs I get:
>
> Sep  4 07:52:31 sistema HORDE: [imp] Allowed memory size of  
> 134217728 bytes exhausted (tried to allocate 20480 bytes) [pid 25  
> 397 on line 402 of "/usr/share/php/Horde/Stream.php"]
>
> Line 402 is "$read = fread..." below:
>
>         while (!feof($this->stream) && ($to_end || $length)) {
>             $read = fread($this->stream, $to_end ? 16384 : $length);
>             $out .= $read;
>             if (!$to_end) {
>                 $length -= strlen($read);
>             }
>         }
>
>         return $out;
>     }
>
>
> In php.ini I have:
>
> memory_limit = 128M
>
>
> Any pointers on how to further debug this?
>
> Thanks.

If you enable DEBUG logging in Horde, you might get an actual  
backtrace. Enabling xdebug would do the same, if the error is sent to  
the browser.

-- 
Jan Schneider
The Horde Project
https://www.horde.org/



More information about the horde mailing list