-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
It would be very nice if system stats reported memory allocation/commit information (systemwide and per process). Currently, it seems like all memory reporting is around used memory and not committed memory. Quick explanation of why this reporting would be nice, for postgres in particular, below.
Per the postgres documentation [0], on linux it is recommended to set vm.overcommit_ratio to 2. This disables memory overcommit and makes it so that when postgres attempts to alloc any memory over a certain threshold, the client is returned with an error code instead of risking the OOM killer being invoked when that memory gets used.
[0] https://www.postgresql.org/docs/current/kernel-resources.html#LINUX-MEMORY-OVERCOMMIT
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels