[horde] PHP weirdness...

Kevin Konowalec webadmin at ualberta.ca
Tue Aug 26 17:08:42 UTC 2008


Thanks Mike!  64 MB seems to have done the trick!!  Makes me wonder  
how we ran for so long with memory_limit set to 8MB.....

K



On Aug 26, 2008, at 11:03 AM, Michael Rubinsky wrote:

> Quoting Kevin Konowalec <webadmin at ualberta.ca>:
>
>> horde 3.2.1
>> php 5.2.3
>>
>>
>> We're having users calling to complain that they're having problems  
>> sending attachments.  I turned on debugging and see the following:
>>
>>
>> Aug 26 10:38:03 src at dwc1 HORDE[4094]: [imp] testuser attempting to  
>> send message with 1 attachments [pid 4094 on line 502 of "/var/www/ 
>> horde/imp/lib/Compose.php"]
>> Aug 26 10:38:03 src at dwc1 HORDE[4094]: PHP Fatal error:  Allowed  
>> memory size of 25165824 bytes exhausted (tried to allocate 8734082  
>> bytes) in /var/www/horde/lib/Horde/MIME/Part.php on line 1043
>> Aug 26 10:38:03 src at dwc1 HORDE[4094]: [imp] Max memory usage:  
>> 17825792 bytes [pid 4094 on line 339 of "/var/www/horde/lib/Horde/ 
>> Registry.php"]
>>
>>
>> We had bumped up "memory_limit" in php.ini up to 24MB from the 8MB  
>> default value when we had seen these types of errors in the past...  
>> doesn't seem to have been enough.  The weird thing is that the  
>> attachment I was trying to upload was only 8.3MB and there was no  
>> text in the message I was sending so there's no reason it should  
>> take up that much memory.
>>
>> Can anyone help?
>
> I could be wrong here, but 24MB seems like a fairly low limit to  
> me.  The limit applies to the entire PHP process, not just to the  
> size of the email/attachement. Try upping the limit to something  
> like 32MB, or evern better, 64MB and see if that helps.
>
>
> Thanks,
> mike
>
> --
> The Horde Project (www.horde.org)
> mrubinsk at horde.org
>
> "Time just hates me. That's why it made me an adult." - Josh Joplin--
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org



More information about the horde mailing list