Skip to content

Commit

Permalink
Merge pull request #2695 from Creatone/too-many-opened-perf-files
Browse files Browse the repository at this point in the history
Add information about limits of opened perf event files.
  • Loading branch information
bobbypage authored Nov 3, 2020
2 parents 0e3b914 + 7b61c25 commit 0d00708
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/runtime_options.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ Core perf events can be exposed on Prometheus endpoint per CPU or aggregated by
- `--disable_metrics="percpu"` - core perf events are aggregated
- `--disable_metrics=""` - core perf events are exposed per CPU.

It's possible to get "too many opened files" error when a lot of perf events are exposed per CPU. This happens because of passing system limits.
Try to increase max number of file desctriptors with `ulimit -n <value>`.

Aggregated form of core perf events significantly decrease volume of data. For aggregated form of core perf events scaling ratio (`container_perf_metric_scaling ratio`) indicates the lowest value of scaling ratio for specific event to show the worst precision.

### Perf subsystem introduction
Expand Down

0 comments on commit 0d00708

Please sign in to comment.