Public bug reported: I have an apcupsd setup in client/server mode for a couple computers. The "server" computer has the "NETSERVER" config directive enabled. The client computers are configured with UPS type "net" to connect to the server computer to get the UPS status. After the acpupsd process has been running for a while on the server, I get the following errors in the log:
Jun 8 14:22:02 server apcupsd[1949]: warning: cannot open /etc/hosts.allow: Too many open files Jun 8 14:22:02 server apcupsd[1949]: warning: cannot open /etc/hosts.deny: Too many open files Jun 8 14:22:02 server apcupsd[1949]: Connection from 10.0.0.230 refused by tcp_wrappers. My guess is that there is a file descriptor leak in the code that protects the NETSERVER incoming connections. This is on Ubuntu 12.04.4. ** Affects: apcupsd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1010609 Title: Apcupsd leaks file descriptors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apcupsd/+bug/1010609/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs