Hello everyone!
I just configured my openvpn server with the openvpn-auth-pam.so plugin, but after a while it stopped working.
The error that i got was:
GLib-ERROR **: Cannot create pipe main loop wake-up: Too many open files
Restarting the daemon didn't helped because an instance of openvpn was already running (weird). So i killed the process and started it again. Again, it worked.
After monitoring a while with lsof, i noticed this: when a client connects (via user:pass) the daemon opens 2 files (and their respective file descriptors), the problem starts when the client disconnects, because the daemon never close those files, and if i check with lsof, they're still there!
I saw these unresolved posts about this issue:
https://forums.openvpn.net/topic13474.html
https://forums.openvpn.net/topic17861.html
https://forums.openvpn.net/topic16980.html
Is it some bug of the plugin?
BTW I'm running OpenVPN 2.3.6 in CentOS 6.6
Thanks!