Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Not a Bug
-
10.1
-
None
Description
Hello,
I've found that MySQL client @ MariaDB leaves one file descriptor open.
OS is Debian Stretch.
Perl is v5.24.1
A quick one-liner for proof:
perl -MDBI -e 'my ($host, $port, $user, $pass, $db) = ("some.remote.host", 3306, "user", "pass", "dbname"); $dbh = DBI->connect("DBI:mysql:database=$db;host=$host;port=$port;mysql_ssl=1", $user, $pass); $dbh->disconnect(); print `ls -l /proc/$$/fd | fgrep urandom`;' |
This results to:
lr-x------ 1 root root 64 Nov 2 14:31 5 -> /dev/urandom
|
With mysql_ssl=0 everything is fine.
I suspect that we hit some YaSSL clean-up bug. But cannot claim this for sure.
Thanks.