diff --git a/src/context/context.rs b/src/context/context.rs index 6b5acb555c..3dbfc4d55b 100644 --- a/src/context/context.rs +++ b/src/context/context.rs @@ -944,6 +944,9 @@ impl FdTbl { let removed_file_opt = fdtbl.get_mut(real_index).and_then(|opt| opt.take()); if removed_file_opt.is_some() { self.active_count -= 1; + if index & syscall::UPPER_FDTBL_TAG != 0 { + crate::info!("FdTbl::remove_file upper idx={} active={}", real_index, self.active_count); + } } removed_file_opt