[horde] Horde groupware very slow access

wodel youchi wodel.youchi at gmail.com
Thu Feb 25 12:23:32 UTC 2016


Hi,

I recently renewed our web and mail platforms, and moved from horde 4 to
horde 5.

the underground services didn't change (apache, mysql, openldap, dovecot
and potfix) except for updates.

The hardware :
- two servers with High Availability : 32GB each
- and a disk array as shared storage : iSCSI with bound.

Software :
- Centos 6.7x64 (latest updates)
- Redhat Cluster Suite for HA.
- Horde 5 latest updates
[root at node1 ~]# pear list -c horde
Installed packages, channel pear.horde.org:
===========================================
Package                Version State
Horde_Alarm            2.2.6   stable
Horde_Argv             2.0.12  stable
Horde_Auth             2.1.11  stable
Horde_Autoloader       2.1.2   stable
Horde_Autoloader_Cache 2.1.2   stable
Horde_Browser          2.0.11  stable
Horde_Cache            2.5.3   stable
Horde_Cli              2.0.6   stable
Horde_Compress         2.1.4   stable
Horde_Compress_Fast    1.1.1   stable
Horde_Constraint       2.0.3   stable
Horde_Controller       2.0.4   stable
Horde_Core             2.22.7  stable
Horde_Crypt            2.7.0   stable
Horde_Crypt_Blowfish   1.1.1   stable
Horde_CssMinify        1.0.2   stable
Horde_Css_Parser       1.0.8   stable
Horde_Data             2.1.4   stable
Horde_Date             2.2.0   stable
Horde_Date_Parser      2.0.5   stable
Horde_Dav              1.1.2   stable
Horde_Db               2.3.1   stable
Horde_Editor           2.0.4   stable
Horde_Exception        2.0.7   stable
Horde_Form             2.0.12  stable
Horde_Group            2.1.0   stable
Horde_HashTable        1.2.4   stable
Horde_History          2.3.6   stable
Horde_Http             2.1.6   stable
Horde_Icalendar        2.1.3   stable
Horde_Idna             1.0.4   stable
Horde_Image            2.3.4   stable
Horde_Imap_Client      2.29.5  stable
Horde_Injector         2.0.5   stable
Horde_Itip             2.1.1   stable
Horde_JavascriptMinify 1.1.2   stable
Horde_Ldap             2.3.2   stable
Horde_ListHeaders      1.2.3   stable
Horde_Lock             2.1.2   stable
Horde_Log              2.1.3   stable
Horde_LoginTasks       2.0.6   stable
Horde_Mail             2.6.3   stable
Horde_Mail_Autoconfig  1.0.2   stable
Horde_ManageSieve      1.0.1   stable
Horde_Memcache         2.0.7   stable
Horde_Mime             2.9.3   stable
Horde_Mime_Viewer      2.1.2   stable
Horde_Nls              2.1.1   stable
Horde_Notification     2.0.4   stable
Horde_Pack             1.0.6   stable
Horde_Perms            2.1.6   stable
Horde_Prefs            2.7.5   stable
Horde_Queue            1.1.3   stable
Horde_Rdo              2.0.5   stable
Horde_Role             1.0.1   stable
Horde_Routes           2.0.5   stable
Horde_Rpc              2.1.6   stable
Horde_Secret           2.0.6   stable
Horde_Serialize        2.0.5   stable
Horde_SessionHandler   2.2.7   stable
Horde_Share            2.0.9   stable
Horde_Smtp             1.9.2   stable
Horde_Socket_Client    2.1.1   stable
Horde_SpellChecker     2.1.3   stable
Horde_Stream           1.6.3   stable
Horde_Stream_Filter    2.0.4   stable
Horde_Stream_Wrapper   2.1.3   stable
Horde_Support          2.1.5   stable
Horde_Template         2.0.3   stable
Horde_Text_Diff        2.1.2   stable
Horde_Text_Filter      2.3.3   stable
Horde_Text_Flowed      2.0.3   stable
Horde_Timezone         1.0.10  stable
Horde_Token            2.0.8   stable
Horde_Translation      2.2.1   stable
Horde_Tree             2.0.4   stable
Horde_Url              2.2.5   stable
Horde_Util             2.5.7   stable
Horde_Vfs              2.3.1   stable
Horde_View             2.0.6   stable
Horde_Xml_Element      2.0.4   stable
content                2.0.5   stable
gollem                 3.0.7   stable
groupware              5.2.12  stable
horde                  5.2.9   stable
horde_lz4              1.0.9   stable
imp                    6.2.12  stable
ingo                   3.2.8   stable
kronolith              4.2.15  stable
mnemo                  4.2.9   stable
nag                    4.2.7   stable
passwd                 5.0.4   stable
timeobjects            2.1.1   stable
trean                  1.1.4   stable
turba                  4.2.12  stable



- php 5.6 from webtatic
[root at node1 ~]# rpm -qa | grep php
php56w-imap-5.6.18-1.w6.x86_64
php56w-fpm-5.6.18-1.w6.x86_64
php56w-cli-5.6.18-1.w6.x86_64
php56w-ldap-5.6.18-1.w6.x86_64
php56w-mysql-5.6.18-1.w6.x86_64
php56w-pecl-memcache-3.0.8-2.w6.x86_64
php56w-mbstring-5.6.18-1.w6.x86_64
php56w-gd-5.6.18-1.w6.x86_64
php56w-xml-5.6.18-1.w6.x86_64
phpldapadmin-1.2.3-1.el6.noarch
php56w-devel-5.6.18-1.w6.x86_64
php56w-process-5.6.18-1.w6.x86_64
php56w-pear-1.10.1-1.w6.noarch
php56w-tidy-5.6.18-1.w6.x86_64

php56w-5.6.18-1.w6.x86_64

php56w-pecl-imagick-3.4.0-0.1.RC4.w6.x86_64

php56w-common-5.6.18-1.w6.x86_64

php56w-opcache-5.6.18-1.w6.x86_64

php56w-pdo-5.6.18-1.w6.x86_64

php56w-intl-5.6.18-1.w6.x86_64

High availability
we have configured two failover domains :
1 - Apache with vhost to server
   - Horde portal
   - our web portal, which is Liferay (tomcat7)

2 - Mail services and DB
   - dovecot
   - postfix
   - openldap
   - Mysql

We installed memcached and configured horde to use it

We tried to follow the horde performance guide, but without luck so far:
- Zend opcache is installed and activated, we tried to increase some
variables.
- We installed pecl ACP, but in horde admin configuration it is not
recommended to use it, neither xcache so what to do? for now we use
filesystem as cache.
- apache does not do DNS lookups
- We took each service apart and tune it
   - openldap
   - mysql
   - dovecot
it didn't change anything

lastly we tried squirrelmail to test the access to emails, it was very fast.
by the way, our web portal (liferay) which uses the same openldap and the
same mysql services works perfectly.

the TOP command does not show anything strange, the two servers are


Here is the* opcache.ini *file


*zend_extension=opcache.soopcache.enable=1opcache.enable_cli=1*

;opcache.memory_consumption=128
*opcache.memory_consumption=1024*

;opcache.interned_strings_buffer=8
*opcache.interned_strings_buffer=64*

;opcache.max_accelerated_files=4000
*opcache.max_accelerated_files=8000*

;opcache.max_wasted_percentage=5
;opcache.use_cwd=1
;opcache.validate_timestamps=1

;opcache.revalidate_freq=2
*opcache.revalidate_freq=120*

;opcache.revalidate_path=0
;opcache.save_comments=1
;opcache.load_comments=1


opcache.fast_shutdown=1

;opcache.enable_file_override=0
;opcache.optimization_level=0xffffffff
;opcache.inherited_hack=1
;opcache.dups_fix=0
opcache.blacklist_filename=/etc/php.d/opcache*.blacklist
;opcache.max_file_size=0
;opcache.consistency_checks=0
;opcache.force_restart_timeout=180
;opcache.log_verbosity_level=1
;opcache.preferred_memory_model=
;opcache.protect_memory=0


if you need more information let me know.

Regards.


More information about the horde mailing list