-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
121609: GNUmakefile: add .PHONY: all and help r=rickystewart a=imalasong 121815: server/profiler: introduce separate limit for each profiler r=yuzefovich a=yuzefovich This commit introduces a separate cluster setting for each profiler that writes into `heapprofiler` directory. There are five of these (heap, mem monitoring, jemalloc, mem stats, and active query), and previously all of them use the same limit for the combined size (that was initially introduced for the heap profiles). However, `DumpStore.GC` logic only looks at the files owned by each profiler when calculating the footprint, so each profiler would get up to 256MiB of space. This commit makes the following limits the default: - heap - 256MiB - mem monitor - 4MiB (these files are usually in single KiBs range) - jemalloc - 32MiB (don't have a good intuition about this one) - mem stats - 32MiB (these files seems like an order of magnitude smaller than heap profiles - active query - 64MiB (these files seem smaller than heap profiles, but preserving longer history might be beneficial in investigations). Note that the heap profile limit was increased from 128MiB to 256MiB when the mem monitoring profiler was introduced under incorrect understanding that the limit was on the total size of the `heapprofiler` directory. We could consider reducing it back down to 128MiB. Epic: None Release note: None Co-authored-by: imalasong <[email protected]> Co-authored-by: Yahor Yuzefovich <[email protected]>
- Loading branch information
Showing
10 changed files
with
74 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters