Commit dad4f3d
Avoid kernel functions that might block when running lsof
It partially reverts "Stop leveraging lsof which may hang when listing sockets"
and now leverage -b which causes lsof to avoid kernel functions that might block
lstat, readlink, and stat.
https://lsof.readthedocs.io/en/stable/faq/
Closes #2331
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>1 parent f32aa38 commit dad4f3d
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
| |||
0 commit comments