[horde] SQL cache in Horde_Core-2.5.0-beta1 and -beta2 broken?

Arjen de Korte arjen+horde at de-korte.org
Mon May 13 19:11:52 UTC 2013


After upgrading from the latest PEAR -stable to -beta, it wasn't  
possible to login to Horde anymore. The following message was  
displayed (lines 12 to 15 are repeated many, so I omitted them):

A fatal error has occurred
Could not instantiate PDO with DSN  
"mysql:persistent=1;protocol=unix;unix_socket=/var/run/mysql/mysql.sock;dbname=horde5". PDOException: SQLSTATE[08004] [1040] Too many  
connections

   1. Horde_Registry::appInit() /srv/www/htdocs/horde/admin/config/index.php:19
   2. Horde_Registry->__construct() /usr/share/php5/PEAR/Horde/Registry.php:246
   3. Horde_Registry->_loadApplications()  
/usr/share/php5/PEAR/Horde/Registry.php:493
   4. Horde_Registry->_loadCache() /usr/share/php5/PEAR/Horde/Registry.php:617
   5. Horde_Injector->getInstance()  
/usr/share/php5/PEAR/Horde/Registry.php:1984
   6. Horde_Injector->createInstance()  
/usr/share/php5/PEAR/Horde/Injector.php:247
   7. Horde_Injector_Binder_Factory->create()  
/usr/share/php5/PEAR/Horde/Injector.php:213
   8. Horde_Core_Factory_Cache->create()  
/usr/share/php5/PEAR/Horde/Injector/Binder/Factory.php:111
   9. Horde_Core_Factory_Db->create()  
/usr/share/php5/PEAR/Horde/Core/Factory/Cache.php:82
  10. Horde_Core_Factory_Db->create()  
/usr/share/php5/PEAR/Horde/Core/Factory/Db.php:68
  11. Horde_Core_Factory_Db->createDb()  
/usr/share/php5/PEAR/Horde/Core/Factory/Db.php:99
  12. Horde_Core_Factory_Cache->create()  
/usr/share/php5/PEAR/Horde/Core/Factory/Db.php:162
  13. Horde_Core_Factory_Db->create()  
/usr/share/php5/PEAR/Horde/Core/Factory/Cache.php:82
  14. Horde_Core_Factory_Db->create()  
/usr/share/php5/PEAR/Horde/Core/Factory/Db.php:68
  15. Horde_Core_Factory_Db->createDb()  
/usr/share/php5/PEAR/Horde/Core/Factory/Db.php:99

[...]

596. Horde_Core_Factory_Cache->create()  
/usr/share/php5/PEAR/Horde/Core/Factory/Db.php:162
597. Horde_Core_Factory_Db->create()  
/usr/share/php5/PEAR/Horde/Core/Factory/Cache.php:82
598. Horde_Core_Factory_Db->create()  
/usr/share/php5/PEAR/Horde/Core/Factory/Db.php:68
599. Horde_Core_Factory_Db->createDb()  
/usr/share/php5/PEAR/Horde/Core/Factory/Db.php:99
600. Horde_Db_Adapter_Base->__construct()  
/usr/share/php5/PEAR/Horde/Core/Factory/Db.php:156
601. Horde_Db_Adapter_Pdo_Mysql->connect()  
/usr/share/php5/PEAR/Horde/Db/Adapter/Base.php:143
602. Horde_Db_Adapter_Pdo_Base->connect()  
/usr/share/php5/PEAR/Horde/Db/Adapter/Pdo/Mysql.php:63

After starting from scratch on a test system (which worked out of the  
box), I started changing the configuration to the old one, one  
parameter at a time. As soon as I changed the $conf[cache][driver] to  
SQL, the problem occurred again. Although a MySQL cache probably sucks  
in terms of performance, this used to work on -stable version, so this  
might be a bug.
-- 
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 308 bytes
Desc: PGP digitale ondertekening
URL: <http://lists.horde.org/archives/horde/attachments/20130513/cf6ce9d9/attachment.bin>


More information about the horde mailing list