Skip to content
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

release-2.1: server: include saved profiles in debug zip #30281

Merged
merged 1 commit into from Sep 17, 2018

Conversation

ridwanmsharif
Copy link

Backport 1/1 commits from #29994.

/cc @cockroachdb/release


This change adds gRPC endpoints to access the heapfiles that were
generated and stored when a possible OOM situation is detected. More
specifically, when Cockroach RSS is more than 85%. A previous PR
(#26797) saw to generate and store these profiles. This commit aims to
include these profiles in the debug zip tool.

Resolves: #26222

Release note (cli change): debug zip now also collects heap profiles
that were generated and stored when there was high memory usage

This change adds gRPC endpoints to access the heapfiles that were
generated and stored when a possible OOM situation is detected. More
specifically, when Cockroach RSS is more than 85%. A previous PR
(cockroachdb#26797) saw to generate and store these profiles. This commit aims to
allow these profiles to be accessed by the debug zip tool.

Resolves: cockroachdb#26222

Release note (cli change): debug zip now also collects heap profiles
that were generated and stored when there was high memory usage
@ridwanmsharif ridwanmsharif requested a review from a team as a code owner September 17, 2018 15:11
@ridwanmsharif ridwanmsharif requested a review from a team September 17, 2018 15:11
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@andreimatei
Copy link
Contributor

LGTM

@ridwanmsharif
Copy link
Author

bors r+

craig bot pushed a commit that referenced this pull request Sep 17, 2018
30281: release-2.1: server: include saved profiles in debug zip r=ridwanmsharif a=ridwanmsharif

Backport 1/1 commits from #29994.

/cc @cockroachdb/release

---

This change adds gRPC endpoints to access the heapfiles that were
generated and stored when a possible OOM situation is detected. More
specifically, when Cockroach RSS is more than 85%. A previous PR
(#26797) saw to generate and store these profiles. This commit aims to
include these profiles in the debug zip tool.

Resolves: #26222

Release note (cli change): debug zip now also collects heap profiles
that were generated and stored when there was high memory usage


Co-authored-by: Ridwan Sharif <ridwanmsharif@ridwans-macbook-pro.local>
@craig
Copy link
Contributor

craig bot commented Sep 17, 2018

Build succeeded

@craig craig bot merged commit 109abe5 into cockroachdb:release-2.1 Sep 17, 2018
@ridwanmsharif ridwanmsharif deleted the backport2.1-29994 branch September 17, 2018 16:46
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.

None yet

3 participants