I have a PHP script that connects to MySQL does some operations and ends.
At the end there is a mysqli_close($link);
statement.
Still I have sleeping processes for that user in MySQL process-list and can't figure out where from?
As far as I know as soon as the PHP script ends it should close the connection even without a mysqli_close
at the end (but there is one).
So where are those sleeping processes from on that user?
If I restart httpd
they all die.