On Wed, 25 May 2011 15:05:27 +0800 Kiefer Chang <zapchang@xxxxxxxxx> wrote: > 2011/5/25 FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>: > > On Wed, 25 May 2011 00:15:48 +0800 > > Kiefer Chang <zapchang@xxxxxxxxx> wrote: > > > >> After testing for few day the tgtd won't exit in the iscsi_tx_handler. > >> But some problem appers: > >> > >> (1) Some FDs are not released (Maybe commands on those FDs are not > >> completed eventually) > > > > You mean that the number of used FDs are increasing? > > Yes! Even with your patch, I can't reproduce it with a tool to close a connection while a target still has outstanding connections? tgtd creates only one fd for a new connection. Can you try lsof command to debug what happens on your system? > > Have you ever hit this bug? > > NO, my colleague leaves this for debugging only. I'll remove that part and merge it. We might still have problems but we should move close to iscsi_tcp_release anyway. Thanks! -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html