slow pageload before authentication

Michael Menge <[email protected]>
Newsgroups gmane.comp.horde.devel
Message-ID <20150619153236.Horde.mkUNXNpnYzDePI6N_YvPmKX@webmail.uni-tuebingen.de>
Hi,

after changing our production system to horde 5.2.5 (from horde 3) we  
discovered a strange
delay in loading the initial page (/ which redirects to login.php)  
Most of the time the page
loads in less than a second, but occasional it takes between 30 and 60  
seconds.

We discovered that the delay is on the server side, because the delay  
is visible in
the apache access logs. Setting the horde loglevel to debug we found  
for an delayed load of the initial
page the corrosponding pid produced over 32000 lines of

HORDE [horde] Horde_HashTable_Predis: Retrieved keys  
(djmss6knc7qpr31c9batplpr31) [pid 31663 on line 233 of  
"/usr/share/pear/Horde/HashTable/Base.php"]

for different keys. Is this number of keys expected behavior?
Any ideas what could cause this delay?

We use apc and redis as bytecode cache,  HashTable, Cache and Session Storage.

$conf['sessionhandler']['type'] = 'HashTable';
$conf['sessionhandler']['hashtable'] = false;
$conf['session']['cache_limiter'] = 'nocache';
$conf['share']['cache'] = false;
$conf['cache']['default_lifetime'] = 86400;
$conf['cache']['driver'] = 'Hashtable';
$conf['cache']['use_memorycache'] = '';
$conf['cachecssparams']['driver'] = 'filesystem';
$conf['cachecssparams']['filemtime'] = false;
$conf['cachecssparams']['lifetime'] = 86400;
$conf['cachecss'] = true;
$conf['cachejsparams']['driver'] = 'filesystem';
$conf['cachejsparams']['compress'] = 'php';
$conf['cachejsparams']['lifetime'] = 604800;
$conf['cachejs'] = true;
$conf['cachethemesparams']['check'] = 'appversion';
$conf['cachethemesparams']['lifetime'] = 604800;
$conf['cachethemes'] = true;
$conf['hashtable']['params']['hostspec'] =  
array('wmredismaster.mail.localhost');
$conf['hashtable']['params']['port'] = array('6379');
$conf['hashtable']['params']['protocol'] = 'tcp';
$conf['hashtable']['params']['persistent'] = true;
$conf['hashtable']['driver'] = 'Predis';


Versions:

Horde                        5.2.5   stable
Horde_Autoloader             2.1.1   stable
Horde_Autoloader_Cache       2.1.1   stable
Horde_Cache                  2.5.0   stable
horde_lz4                    1.0.8   stable
Horde_HashTable              1.2.3   stable
imp                          6.2.8   stable
ingo                         3.2.5   stable
kronolith                    4.2.7   stable
mnemo                        4.2.6   stable
nag                          4.2.4   stable
turba                        4.2.6   stable

APC                          3.1.13  beta

php-5.4.16-23.el7_0.3.x86_64
php-nrk-Predis-1.0.1-1.el7.noarch
httpd-2.4.6-31.el7.x86_64 (Apache)

Regards

      Michael Menge


--------------------------------------------------------------------------------
M.Menge                                Tel.: (49) 7071/29-70316
Universität Tübingen                   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung          mail:  
[email protected]
Wächterstraße 76
72074 Tübingen

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.