[horde] PHP weirdness...
Michael Rubinsky
mrubinsk at horde.org
Tue Aug 26 17:03:44 UTC 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: PGP Digital Signature
URL: <http://lists.horde.org/archives/horde/attachments/20080826/1d32c338/attachment.bin>
More information about the horde
mailing list