Test: /ext/mysql/tests/bug55473.phpt - Version 5.5.20        

Bug #55473 mysql_pconnect leaks file descriptors on reconnect
Submitted: 2011-08-21 10:52:44 Modified: 2011-08-22 10:57:44
From: littlesavage Assigned: andrey
Status: Closed Package: MySQL related
PHP Version: 5.3.7 OS:

There are 8 different diffs reported by users for this test.

Count Diff
58 (83%)
002-
003- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
006+ [003] reconnect 1
008+ Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in %s/bug55473.php on line 13
009+ [007] Opened files as expected
010+ [003] reconnect 2
011+
012+ Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in %s/bug55473.php on line 13
013+ [007] Opened files as expected
014+ [003] reconnect 3
009- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
010- [003] reconnect 1
014-
018+ done!
015- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
016- [003] reconnect 2
017-
018- Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in %s on line %d
019- [007] Opened files as expected
020-
021- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
022- [003] reconnect 3
023-
024- Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in %s on line %d
025- [007] Opened files as expected
026- done!
4 (6%)
002-
003- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
005+ lsof: WARNING: can't stat() iso9660 file system /media/RHEL_6.4 x86_64 Disc 1
006+ Output information may be incomplete.
008-
009- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
011+ lsof: WARNING: can't stat() iso9660 file system /media/RHEL_6.4 x86_64 Disc 1
012+ Output information may be incomplete.
014-
015- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
017+ lsof: WARNING: can't stat() iso9660 file system /media/RHEL_6.4 x86_64 Disc 1
018+ Output information may be incomplete.
020-
021- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
023+ lsof: WARNING: can't stat() iso9660 file system /media/RHEL_6.4 x86_64 Disc 1
024+ Output information may be incomplete.
3 (4%)
002-
003- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
005+ lsof: WARNING: can't stat() iso9660 file system /media/CentOS_6.4_Final
006+ Output information may be incomplete.
008-
009- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
011+ lsof: WARNING: can't stat() iso9660 file system /media/CentOS_6.4_Final
012+ Output information may be incomplete.
014-
015- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
017+ lsof: WARNING: can't stat() iso9660 file system /media/CentOS_6.4_Final
018+ Output information may be incomplete.
020-
021- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
023+ lsof: WARNING: can't stat() iso9660 file system /media/CentOS_6.4_Final
024+ Output information may be incomplete.
1 (1%)
002-
003- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
005+ lsof: WARNING: can't stat() iso9660 file system /media/RHEL_6.4 i386 Disc 1
006+ Output information may be incomplete.
008-
009- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
011+ lsof: WARNING: can't stat() iso9660 file system /media/RHEL_6.4 i386 Disc 1
012+ Output information may be incomplete.
014-
015- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
017+ lsof: WARNING: can't stat() iso9660 file system /media/RHEL_6.4 i386 Disc 1
018+ Output information may be incomplete.
020-
021- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
023+ lsof: WARNING: can't stat() iso9660 file system /media/RHEL_6.4 i386 Disc 1
024+ Output information may be incomplete.
1 (1%)
002-
003- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
005+ lsof: WARNING: can't stat() iso9660 file system /media/RHEL_6.0 i386 Disc 1
006+ Output information may be incomplete.
008-
009- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
011+ lsof: WARNING: can't stat() iso9660 file system /media/RHEL_6.0 i386 Disc 1
012+ Output information may be incomplete.
014-
015- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
017+ lsof: WARNING: can't stat() iso9660 file system /media/RHEL_6.0 i386 Disc 1
018+ Output information may be incomplete.
020-
021- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
023+ lsof: WARNING: can't stat() iso9660 file system /media/RHEL_6.0 i386 Disc 1
024+ Output information may be incomplete.
1 (1%)
002-
003- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
005+ lsof: WARNING: can't stat() iso9660 file system /media/CentOS_6.6_Final
006+ Output information may be incomplete.
008-
009- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
011+ lsof: WARNING: can't stat() iso9660 file system /media/CentOS_6.6_Final
012+ Output information may be incomplete.
014-
015- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
017+ lsof: WARNING: can't stat() iso9660 file system /media/CentOS_6.6_Final
018+ Output information may be incomplete.
020-
021- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
023+ lsof: WARNING: can't stat() iso9660 file system /media/CentOS_6.6_Final
024+ Output information may be incomplete.
1 (1%)
002-
003- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
005+ lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
006+ Output information may be incomplete.
008-
009- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
011+ lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
012+ Output information may be incomplete.
014-
015- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
017+ lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
018+ Output information may be incomplete.
020-
021- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
023+ lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
024+ Output information may be incomplete.
1 (1%)