[mythtv-users] mythweb memory problem

John Drescher drescherjm at gmail.com
Mon Aug 4 03:11:24 UTC 2008


On Sun, Aug 3, 2008 at 1:39 PM, Udo van den Heuvel <udovdh at xs4all.nl> wrote:
> Udo van den Heuvel wrote:
>> the httpd's error_log:
>>
>> [Sun Aug 03 19:28:05 2008] [error] [client 192.168.11.71] PHP Fatal
>> error:  Allowed memory size of 33554432 bytes exhausted (tried to
>> allocate 48 bytes) in /var/www/html/mythweb/modules/tv/recorded.php on
>> line 158, referer: http://recorder/mythweb/
>>
>> I already increased the memory_limit in php.ini without effect.
>
> There's also php.conf in /etc/httpd/conf.d/ with a memory setting which
> appears to have a positive effect. No more error.
> Question is: for how long?
> This is only a list of max 900 GB worth of (lowish bitrate) video.
> What if my disk is bigger?
>
> Any ideas?
>
There should be a memory limit param in your php.ini file.

I have mine set to 128M

# pwd
/etc/php/apache2-php5
jmd1 apache2-php5 # grep mem *
php.ini:memory_limit = 128M      ; Maximum amount of memory a script
may consume (128MB)

This is a gentoo system so it may be in a different place on your system.

John


More information about the mythtv-users mailing list