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

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 2 different diffs reported by users for this test.

Count Diff
11 (92%)
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!
1 (8%)
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.
007+ lsof: WARNING: can't stat() fuse.xrdp-chansrv file system /home/softsync/thinclient_drives
008+ Output information may be incomplete.
009+ lsof: WARNING: can't stat() fuse file system /run/user/1000/doc
010+ Output information may be incomplete.
008-
009- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
014-
015- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
015+ lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
016+ Output information may be incomplete.
017+ lsof: WARNING: can't stat() fuse.xrdp-chansrv file system /home/softsync/thinclient_drives
018+ Output information may be incomplete.
019+ lsof: WARNING: can't stat() fuse file system /run/user/1000/doc
020+ Output information may be incomplete.
020-
021- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
025+ lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
026+ Output information may be incomplete.
027+ lsof: WARNING: can't stat() fuse.xrdp-chansrv file system /home/softsync/thinclient_drives
028+ Output information may be incomplete.
029+ lsof: WARNING: can't stat() fuse file system /run/user/1000/doc
030+ Output information may be incomplete.
035+ lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
036+ Output information may be incomplete.
037+ lsof: WARNING: can't stat() fuse.xrdp-chansrv file system /home/softsync/thinclient_drives
038+ Output information may be incomplete.
039+ lsof: WARNING: can't stat() fuse file system /run/user/1000/doc
040+ Output information may be incomplete.