Re: Horde slooooow
Sebastian Birnbach <[email protected]>
| Newsgroups | gmane.comp.horde.devel |
|---|---|
| Message-ID | <CACTNBFNp4j-U5Ep0vWyqvaA_6ciEnUy__NAkdaD_5Of=Xv_wHg@mail.gmail.com> |
2015-05-13 10:16 GMT+02:00 Vilius Sumskas/LNK <[email protected]>: > [...] > > Horde was way too slow. It feels faster now but still has a long way to > go. > Some > > observations about it: > > > > 1.) other horde installations appear to go slow, too: > > http://wiki.horde.org/Doc/Dev/Horde_View took me about 30 seconds to > load > > today > > This has nothing to do with your installation. > OK. > > > 2.) listing all user sessions in the console takes in the range of > minutes > > and shows only stale sessions. In my case, the session time is limited > to 1 > > day (86400 sec) and the 24 sessions I got in the listing were all 4-6 > days > > old. (Also I am missing a possibility to kill a session) > > What session backend are you using? > It's the default PHP session handler (file based by default). In the admin console I got a lot of warnings: *Strict Standards*: Declaration of Horde_Form_Type_pgp::init() should be compatible with Horde_Form_Type_longtext::init($rows = 8, $cols = 80, $helper = Array) in */usr/local/share/pear/Horde/Form/Type.php* on line *863* *Strict Standards*: Declaration of Horde_Form_Type_image::onSubmit() should be compatible with Horde_Form_Type::onSubmit() in */usr/local/share/pear/Horde/Form/Type.php* on line *1346* *Strict Standards*: Declaration of Horde_Form_Type_link::init() should be compatible with Horde_Form_Type::init() in */usr/local/share/pear/Horde/Form/Type.php* on line *1423* *Strict Standards*: Declaration of Horde_Form_Type_matrix::init() should be compatible with Horde_Form_Type::init() in */usr/local/share/pear/Horde/Form/Type.php* on line *2147* *Strict Standards*: Declaration of Horde_Form_Type_enum::init() should be compatible with Horde_Form_Type::init() in */usr/local/share/pear/Horde/Form/Type.php* on line *2317* *Strict Standards*: Declaration of Horde_Form_Type_mlenum::init() should be compatible with Horde_Form_Type::init() in */usr/local/share/pear/Horde/Form/Type.php* on line *2393* *Strict Standards*: Declaration of Horde_Form_Type_mlenum::onSubmit() should be compatible with Horde_Form_Type::onSubmit() in */usr/local/share/pear/Horde/Form/Type.php* on line *2393* *Strict Standards*: Declaration of Horde_Form_Type_set::init() should be compatible with Horde_Form_Type::init() in */usr/local/share/pear/Horde/Form/Type.php* on line *2551* *Strict Standards*: Declaration of Horde_Form_Type_sorter::init() should be compatible with Horde_Form_Type::init() in */usr/local/share/pear/Horde/Form/Type.php* on line *3366* *Strict Standards*: Declaration of Horde_Form_Type_selectfiles::init() should be compatible with Horde_Form_Type::init() in */usr/local/share/pear/Horde/Form/Type.php* on line *3436* *Strict Standards*: Declaration of Horde_Form_Type_assign::init() should be compatible with Horde_Form_Type::init() in */usr/local/share/pear/Horde/Form/Type.php* on line *3566* *Strict Standards*: Declaration of Horde_Form_Type_assign::getValues() should be compatible with Horde_Form_Type::getValues() in */usr/local/share/pear/Horde/Form/Type.php* on line *3566* *Strict Standards*: Declaration of Horde_Form_Type_dblookup::init() should be compatible with Horde_Form_Type_enum::init($values, $prompt = NULL) in */usr/local/share/pear/Horde/Form/Type.php* on line *3717* *Strict Standards*: Declaration of Horde_Form_Type_figlet::init() should be compatible with Horde_Form_Type::init() in */usr/local/share/pear/Horde/Form/Type.php* on line *3770* *Strict Standards*: Declaration of Horde_Form_Type_invalid::init() should be compatible with Horde_Form_Type::init() in */usr/local/share/pear/Horde/Form/Type.php* on line *3839* *Deprecated*: Assigning the return value of new by reference is deprecated in */usr/local/share/pear/Services/Weather.php* on line *167* I experimentally changed the session handler to SQL. That made the warnings go away but failed to speed up horde. I notice that no matter how complex the application I chose it always takes about 5 seconds until an answer is recieved from the server. A little extra delay for receiving the server's answer does vary from app to app. Kronolith does some more communication after the initial screen is displayed. Disabling all caching did not change anything either. > > 3.) switching between turba, nag and kronolith takes about 7 seconds > each. > > During this time, 'top -s1' shows that the machine is mostly idle and > the > > httpd never eats up more than 3% CPU time, the rest is idle time. > > You need to at least tell us your LAMP and Horde configuration, versions, > etc. All I can say that Horde works here so it's really hard to tell > what's wrong. > # uname -a FreeBSD luna 9.2-RELEASE-p4 FreeBSD 9.2-RELEASE-p4 #0 r264973M: Sun Apr 27 13:37:49 CEST 2014 [email protected]:/usr/obj/nas4free/usr/src/sys/NAS4FREE-amd64 amd64 # httpd -v Server version: Apache/2.4.12 (FreeBSD) Server built: May 7 2015 15:14:41 # php --version PHP 5.5.24 (cli) (built: May 8 2015 17:36:13) Copyright (c) 1997-2015 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies # mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 395 Server version: 5.6.24 Source distribution Horde is version 5.2.6. I am not quite sure how fast Horde was in the first place. I stumbled over a problem with horde-translation and ended up redoing the PHP and mySQL installation. Sebastian -- dev mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected]