-
Notifications
You must be signed in to change notification settings - Fork 552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add at: in Top-N alloc site output #15616
Add at: in Top-N alloc site output #15616
Conversation
new failures in https://buildkite.com/redpanda/redpanda/builds/42811#018c6a69-3acc-4358-859c-dbdf82ab7b2b:
|
ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/42811#018c6a78-560a-4323-921d-585213a9024a |
It works fine as is but you need to strip the preceeding size and count as advised on https://vectorizedio.atlassian.net/wiki/spaces/CORE/pages/394756097/Heap+Memory+Sampling#On-OOM-Top-Allocation-Site-Printing For example with something like:
Are you saying that if you put |
If seastar-addr2line is actually that smart I think we can also prefix the size and count respectively to make it even more clear. |
It is good that it's documented though it would be even better if it "just worked" which is generally the intent with seastar-addr2line (as examining its rich soup of regexes will reveal). This especially important for our "on the fly" decoding which is implemented in CI for ducktape, which means the logs will have backtraces already decoded, which is much less painful than tracking down the binary and doing it yourself. (This feature is currently disabled to another bug but we can turn it on soon).
Yes. The regex is here:
If
If you mean like |
fc1cd75
to
a3a68ec
Compare
Failure was: #15617 Rebased. |
Ah brilliant, didn't know it was that smart.
No concern really just that we can make it simpler by doing |
/ci-repeat 1 |
Move the format implementation out of the header for ss::memory::allocation_site.
@StephanDollberg here's the output for the new upload:
WDYT? I switched from |
a3a68ec
to
ade2ef0
Compare
When we OOM we output the top-N alloc sites and a one-line backtrace. However, sesatar-addr2line fails to recognize it because the one-line regex requires backtrace: or at: in order to understand that it's a one-line backtrace. So we add 'at:' in the string, which is a recognized token to introduce a backtrace. Fixes redpanda-data#15615.
ade2ef0
to
d7547d4
Compare
/backport v23.3.x |
/backport v23.2.x |
When we OOM we output the top-N alloc sites and a one-line backtrace.
However, sesatar-addr2line fails to recognize it because the one-line regex requires backtrace: or another suitable token in order to understand that it's a one-line backtrace.
So we add at:.
Fixes #15615.
Backports Required
Release Notes