The reason these file descriptors remain open is that the patch only
causes the sockets to be closed on EPIPE, which only happens when an
acpid tries to pass on an event to the socket.  So acpid running on a
system that never has acpi events could leak fds until it maxes out,
even with this partial fix.

A full fix requires acpid to poll the client sockets to detect client
shutdowns, not just wait for acpi events to detect EPIPE.

-- 
Leaks file descriptors and eventually runs out
https://bugs.launchpad.net/bugs/270259
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to