[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-API] xen-bugtool: Close file descriptors after use.
This was a bug observed in openvswitch's ovs-bugtool. The same applies to xen-bugtool. I am not sure which git repo has the source code of xen-bugtool to send a proper patch. This attached patch (text file)is on the xen-bugtool of xenserver6.0. --8<--------------------------cut here-------------------------->8-- In xen-bugtool, we do a bunch of Popen calls to get the results of some shell commands with stdout set to PIPE. Once we are done, we need to close the file descriptors. If not, there is a chance of running out of file descriptors. Signed-off-by: Gurucharan Shetty <gshetty@xxxxxxxxxx> Attachment:
patch-xen-bugtool _______________________________________________ Xen-api mailing list Xen-api@xxxxxxxxxxxxx http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |