[horde] attachment problem

Paras pradhan pradhanparas at gmail.com
Wed Jan 26 18:54:09 UTC 2011


Rick ,

You are right. I see the following in log

--
PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted
(tried to allocate 11581821 bytes) in
/var/www/html/h/lib/Horde/Serialize.php on line 278
--

But I don't understand why it is failing since allowed memory is
greater than tried to allocate bytes.

And I have 128M memory limit. Trying to keep it down since my server
has really high number of web server child processes :)

Thanks,
Paras.


On Wed, Jan 26, 2011 at 12:37 PM, Rick Romero <rick at havokmon.com> wrote:
> Quoting Paras pradhan <pradhanparas at gmail.com>:
>>>
>>> Hi,
>>
>>  >
>>  > I am using horde 2.13 in Redhat Linux 5.5 . It uses postfix to deliver
>>  > the messages to the relay host.
>>  >
>>  > The IMP has
>>  >
>>  > $conf['compose']['attach_size_limit'] = 26214400;
>>  >
>>  > and postfix has 20M (message_size_limit = 20480000)
>>  >
>>  > When I send mails of around 7 MB attachment, it goes through. But I
>>  > get a blank compose page after I attach and send mail with around 12MB
>>  > of attachment.
>>  >
>>  > php.ini has all entires which handles upload size upto 20M
>>  >
>>  > Any help is appreciated !
>
> I believe PHP is running out of memory - for a 15Mb attachment, I've had
> to set:
> memory_limit = 220M
>
> Rick
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>


More information about the horde mailing list