[libvirt] [PATCH] OpenVZ: drop fd leakage

Drop unused (and unclosed) errfd and close outfd on exit. Otherwise polling the running domains with virt-manager let's us quickly run out of fds. O.k. to apply? Cheers, -- Guido

On 12/01/2010 11:06 AM, Guido Günther wrote:
Drop unused (and unclosed) errfd and close outfd on exit. Otherwise polling the running domains with virt-manager let's us quickly run out of fds. O.k. to apply?
ACK. It will be touched again once my virCommand series is reviewed and ported to more places, but we might as well have it working in the meantime. -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org

On Wed, Dec 01, 2010 at 11:14:01AM -0700, Eric Blake wrote:
On 12/01/2010 11:06 AM, Guido Günther wrote:
Drop unused (and unclosed) errfd and close outfd on exit. Otherwise polling the running domains with virt-manager let's us quickly run out of fds. O.k. to apply?
ACK. It will be touched again once my virCommand series is reviewed and ported to more places, but we might as well have it working in the meantime. Pushed. Thanks, -- Guido
participants (2)
-
Eric Blake
-
Guido Günther