[imp] IMP 4.3.3 can't handle large jpg attachments

Matus UHLAR - fantomas uhlar at fantomas.sk
Mon Feb 2 15:44:13 UTC 2009


On 02.02.09 07:36, Scott Toderash wrote:
> I recently moved my Horde/IMP installation to a new webserver with a 
> newer Apache/PHP (now httpd-2.2.11/php-5.2.8). Since then I've noticed 
> that JPG attachments cause problems unless they are quite small.  One 
> that is < 100k is fine, but a 300k JPG causes the web page to time out 
> when trying to view it.
> 
> afaik this problem did not exist on the old server but I can't say 
> because it's dead now.
> 
> There are a bunch of similar problem threads back in 2005, but that 
> issue was/should be long solved.  There was a patch posted that I tried, 
> but no avail.  Same thing.
> 
> I Originally had Horde 3.1.5/IMP h3-4.1.5.  I installed Horde 3.3.3 and 
> IMP 4.3.3 but same problem.  The problem also exists in DIMP h3-1.1.1.
> 
> The problem is specific to images, not larger attachments in general. 
> For example an XCF (Gimp) file does not have the same problem.
> 
> I've tried tuning PHP/PEAR/PECL to see if I am missing some optimal 
> libraries, but I have not been able to solve this problem.
> 
> Any suggestions will be appreciated.  I'm not sure what to try next.

This could be causes by IMP trying to resize images for creating thumbnails
/ previewing, and going out of memory. Check out setting of memory_limit.
-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
It's now safe to throw off your computer.


More information about the imp mailing list