generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 95
Closed
Description
I noticed that bpftune uses quite a bit of file descriptors and keeps bumping up against the soft-limits. Ideally, it should be able to inspect process limits and adjust them accordingly. This could potentially spiral out of control, so I suspect there is probably some other back-pressure to keep it under control, but I have no idea what that would be (maybe no more than its fair share of open files from the total max?)
root@delta ~ # lsof -p 950 | wc -l
1050
root@delta ~ # cat /proc/950/limits
Limit Soft Limit Hard Limit Units
Max cpu time unlimited unlimited seconds
Max file size unlimited unlimited bytes
Max data size unlimited unlimited bytes
Max stack size 8388608 unlimited bytes
Max core file size 0 unlimited bytes
Max resident set unlimited unlimited bytes
Max processes 256549 256549 processes
Max open files 1024 524288 files
Max locked memory unlimited unlimited bytes
Max address space unlimited unlimited bytes
Max file locks unlimited unlimited locks
Max pending signals 256549 256549 signals
Max msgqueue size 819200 819200 bytes
Max nice priority 0 0
Max realtime priority 0 0
Max realtime timeout unlimited unlimited us
root@delta ~ # ulimit -n
1048576
Metadata
Metadata
Assignees
Labels
No labels