Check the open FD limit for a given process in Linux

后端 未结 7 1645
粉色の甜心
粉色の甜心 2020-12-04 10:13

I recently had a Linux process which “leaked” file descriptors: It opened them and didn\'t properly close some of them.

If I had monitored this, I could tell – in adv

相关标签:
7条回答
  • 2020-12-04 11:04

    You can try to write script which periodically call lsof -p {PID} on given pid.

    0 讨论(0)
提交回复
热议问题