Comment 8 for bug 270259

Revision history for this message
Steve Langasek (vorlon) wrote :

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.