apache / apache/openwhisk

Return peak memory usage in activation response JSON

Open
#2,839 0 comments 3 reactions 0 assignees View on GitHub
enhancement invoker
Dominant language
Scala
Stars
6.8k
Forks
1.2k
Avg merge
2d 14h
Merged PRs (30d)
2

Description

Problem: there's no easy way to find out if an action is consistently getting close to hitting the memory limits (as opposed to time limits, which is clearly apparent)

It would be very useful if the activation result json could show the peak memory usage so you can see how close it is to hitting the limits (eg, peak_memory_usage: 486/512 MB)

From @rabbah in Slack:

> this is doable; the information should be stored in the cgroup eg `/sys/fs/cgroup/memory/docker//memory.max_usage_in_bytes`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.