6.0.0-beta1
7/4/25

[#8589] reminders.php mysqli too many connections
Summary reminders.php mysqli too many connections
Queue Kronolith
Queue Version 2.3.2
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester markus (at) petzsch (dot) eu
Created 09/21/2009 (5765 days ago)
Due
Updated 09/21/2009 (5765 days ago)
Assigned
Resolved 09/21/2009 (5765 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
09/21/2009 09:38:10 AM markus (at) petzsch (dot) eu Comment #3 Reply to this comment
Can anybody confirm/reproduce this behavoir?



Some System Details:



Debian Lenny

PHP PHP 5.2.6-1+lenny3

MySQL  5.0.51a

Pear up2date (pear upgrade)

All Horde Tests are OK
09/21/2009 09:04:24 AM Jan Schneider Comment #2
State ⇒ Not A Bug
Reply to this comment
This is not a problem in Horde. We use the same code to connect to any 
database system. So this is a bug either in the PEAR DB library that 
we use for database abstraction, or in the mysqli extension.
09/21/2009 08:13:43 AM markus (at) petzsch (dot) eu Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Kronolith
Summary ⇒ reminders.php mysqli too many connections
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
When running horde on mysqli DB driver my daily reminders.php cronjob 
fails with the following error:



HORDE [error] [kronolith] DB Error: connect failed:  [nativecode=Too 
many connections] ** 
mysqli(mysqli)://horde:PASSWORD@unix/horde?charset=latin1&splitread=&ssl=&driverconfig=horde&umask=63&table=horde_prefs [pid 6069 on line 138 of 
"/var/www/virtual/webmail.kunden-server.org/htdocs/lib/Horde/Prefs/sql.php"]

(repeated many times)



When looking at the mysql proccess list it is full with horde 
connections in sleep state. I've tried disabling persistent 
connections in php config, with no change to the problem.



For now I've worked around the problem by switching from mysqli to 
mysql DB driver in horde's main config.

Saved Queries