Each login session creates one (or two) FIFO pipes on the server side and won't get closed

Bug #1222835 reported by Zhang Lu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
percona-pam-for-mysql
New
Undecided
Unassigned

Bug Description

When the plugin is installed and proper user permission is set, each succeeded user login session will create one or two FIFO pipes on the server side, when the session is terminated, the pipe remains there. So eventually, the server process will run out of open files.
To verify, find the server pid on the host
lsof -p <server_pid> |grep FIFO |wc -l
login to the server with an ID using the plugin
lsof again and will see new pipes opened
terminate the client session and lsof again, the number of FIFO pipes does not change.

MySQL version used for the test: Oracle MySQL 5.5.24
OS: CentOS 5.6
Kernel: 2.6.18-308.4.1.el5xen #1 SMP

Revision history for this message
Zhang Lu (zhanglu9) wrote :

Looked around and it seems like this is a bug in earlier version of pam_krb5 (I am using kerberos for authentication). Will try pam_krb5-2.3.11 and report back
No such problem when using Unix password to auth.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.