Skip to content

add USS metric from smaps#347

Open
DanielLeone wants to merge 1 commit into
ncabatoff:masterfrom
DanielLeone:add_uss_metric
Open

add USS metric from smaps#347
DanielLeone wants to merge 1 commit into
ncabatoff:masterfrom
DanielLeone:add_uss_metric

Conversation

@DanielLeone
Copy link
Copy Markdown

Hi, thanks for the work on this project - I've been using it recently to debug a memory leak and it's been very useful.

I noticed that USS metrics were missing though and they seem to go hand-in-hand with PSS, and I saw that it was fairly trivial to add support for it - so I did.

Here's my use case:

Watching memory growth for individual postgres connections over time, we can see Resident and PSS memory increases but USS is staying the same

image

I think in this particular context, this is largely okay, and thus, it's quite useful to know that USS is not growing while shared memory is.

Let me know what you think - thanks

Signed-off-by: Daniel Leone <mail.dleone@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant