> Hi,
>
>
> I'm trying to tune my php5 instance to increase poor performance of
> squirrel under solaris10. I've used the php.ini-recommended as skeleteon,
> but unfortunately the settings in php.ini does not affect squirrel
> installation.
>
> For example even if I increase my execution time in php.ini, I still
> getting the following error when I open a quite big (4000+ messages) folder
>
>
> Fatal error: Maximum execution time of 30 seconds exceeded in
> /usr/local/apache2/htdocs/sites/vlad.hu/webmail/functions/date.php on line
>  421
>
>
> I've tried to put php.ini in the following directiories
>
>
> - squirrel
> - my webroot
> - /usr/local/lib/php
>
> I suppose I have to put it somewhere else
>
> Do you have any idea?

location of php.ini depends on your php compilation. Check your php
settings. http://www.squirrelmail.org/wiki/TestPHPSettings. phpinfo()
shows location of php.ini file and any extra directories used for php.ini.

http://www.squirrelmail.org/docs/admin/admin-6.html

Lack of gettext extension slow things down in SquirrelMail translations. I
think ratio is around 1 to 10 or 1 to 3.

Lack of mhash extension might slow cram-md5 and digest-md5 authentication
and connection encryption, but it is not used very often due to plain text
password storage requirement. I haven't benchmarked internal hmac_md5
implementation.

Recode and iconv extensions are only used in extra decoding library and
library installation documentation states you should not enable
aggressive_decoding features on bigger system. If you want to use extra
decoding functions with Big5, EUC-JP or iso-2022-jp, you must install
recode or iconv. Using Eastern character set decoding without php recode
or iconv extensions will break things.

Lack of mbstring extension breaks Japanese translation. Other code that
uses mbstring functions will switch to standard string functions without
slowing system down.

Any other PHP slowdown issues should be addressed to PHP developers.

Your error message looks like IMAP server and SquirrelMail configuration
issue. Internal SquirrelMail 1.4.x sorting breaks near 3K messages. Enable
server side sorting, if your server supports it. If server side threading
is already enabled - disable it and see if it fixes your issue. if your
server does not support server side sorting, check if 1.5.1cvs snapshots
are faster. Use of server side sorting is strongly recommended. If server
side sorting is not available or broken, work on fixing IMAP server or
switch to other IMAP server. Server side sorting is supported in Cyrus
(with some limits), Courier (with some limits), UW and Dovecot.

-- 
Tomas


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: [email protected]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to