[imp] IMP4 very slow opening certain messages

Michael Keightley Michael.Keightley at quadstone.com
Thu Jan 13 06:46:15 PST 2005


I'm having problems with IMP4 opening UTF-8 encoded messages very slowly.

I have 2 systems setup with horde-3.0.2, imp-h3-4.0.1, ingo-h3-1.0,
turba-h3-2.0 and kronolith-h3-2.0.1.  They are both running apache_1.3.33, 
php-4.3.10, mysql-4.1.8 and WU-IMAP-2004a.
One is Solaris 8, the other test machine is SUSE Linux 9.1.
Opening most messages takes 4 or 5 seconds, when I open a UTF-8 encoded 
message it takes 1 min 15 secs on Solaris and 23 seconds on Linux.  

Presumably this is not meant to happen?   Am I compiling PHP or WU-IMAP
incorrectly?

Below is how I compiled apache/php on Linux (similar to Solaris but with 
LDFLAGS="-L/usr/local/lib -R/usr/local/lib").
Have also attached a message from the imp mailing list that displays slowly.

APACHE=apache_1.3.33
MOD_SSL=mod_ssl-2.8.22-1.3.33
PHP=php-4.3.10
MYSQL=/home/mysql_webmail
LAYOUT=webmail
IMAP=../imap-2004a
PHP_HOME=/home/php_webmail

cd $APACHE
make clean
./configure --with-layout=$LAYOUT

cd ../$MOD_SSL
./configure --with-apache=../$APACHE --with-ssl=/usr/local/ssl

cd ../$PHP
make clean
./configure --enable-track-vars --enable-force-cgi-redirect --with-gettext \
  --with-apache=../$APACHE --with-mysql=$MYSQL --with-imap=$IMAP \
  --enable-ftp --enable-yp --prefix=$PHP_HOME --with-imap-ssl=/usr/local/ssl \
  --with-zlib --with-ssl=/usr/local/ssl --with-xml --with-dom --with-mcrypt \
  --with-iconv --enable-mbstring --with-mbstring=all \
  --enable-inline-optimization
make
make install

pear install Log
pear install Mail_Mime
pear install File
peal install Date
pear -d preferred_state=beta install fileinfo


cd ../$APACHE
./config.status --activate-module=src/modules/php4/libphp4.a \
  --enable-module=ssl --enable-module=info --enable-module=rewrite \
  --enable-module=speling --enable-module=so
make 
make install
-- 
Michael Keightley <Michael.Keightley at quadstone.com>    Tel: +44 131 240 3137
Systems Manager, Quadstone Limited,                    Fax: +44 131 220 4492
16 Chester Street, Edinburgh EH3 7RA, Scotland         http://www.quadstone.com
-------------- next part --------------
An embedded message was scrubbed...
From: Jan Schneider <jan at horde.org>
Subject: Re: [imp] Re: folder sidebar
Date: Wed, 12 Jan 2005 01:05:49 +0100
Size: 4694
Url: http://lists.horde.org/archives/imp/attachments/20050113/2c91a65b/attachment-0001.mht


More information about the imp mailing list