Currently struggeling with a strange problem:
while using adodb as connection layer for php, it leaves many sleeping and unneeded connections behind. wait_timeout is set to 20 but there are still plenty (~100) of sleeping connections due to high load on the system. MySQL Version: 5.5.24-0ubuntu0.12.04.1
Is there a known bug regarding adodb5 and sleeping connections? I’m not using persistent connections! Connection establishment:
$conn = &ADONewConnection($DBTYPE);
$conn->Connect($DBHOST, $DBUSER, $DBPASSWORD, $DBNAME)
Would really appreciate any hints/suggestions how to reduce sleeping connection count.
Okay finally found the problem:
vhost document root was on an nfs mount (remote). this mount had some IO issues which provoked apache to “idle” connections until the nfs mount is ready again.