0

I'm facing an issue where my epoll descriptor is getting closed from underneath me. It's a huge code base and I've tried to trace the activities on the descriptor in the code, but to no avail. Is there a way to track the activities on a file descriptor (on Linux) and generate a call trace leading upto the point?

Any other suggestions to track the offending piece of code?

4

1 回答 1

0

使用strace,例如strace -p your_process_pid_here

于 2013-12-18T12:04:52.707 回答