Details
-
Bug
-
Resolution: Fixed
-
Critical
-
6.6.2
-
Security Level: Public
-
1
Description
Sometimes memory use by Couchbase Server processes can rise slowly over time due to a number of factors (workload, accumulation of stats, bugs). The server is already measuring memory use and if it sees memory use cross thresholds it should fire an escalating series of alerts.
The following are suggested:
- if memory used > 85% of total memory fire alert:
- "Notice: system memory use is {mem_used_percent} of total available memory, above the notice threshold of {notice_percent}"
- if memory used > 90% of total memory fire alert:
- "Warning: system memory use is {mem_used_percent} of total available memory, above the warning threshold of {notice_percent}"
- if memory used > 95% of total memory fire alert:
- "CRITICAL: system memory use is {mem_used_percent} of total available memory, above the critical threshold of {notice_percent}"
Attachments
Issue Links
For Gerrit Dashboard: MB-53077 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
177883,6 | MB-53077: Add RAM usage alerts | mad-hatter | ns_server | Status: MERGED | +2 | +1 |
177962,6 | MB-53077: Merge branch 'mad-hatter' into cheshire-cat | cheshire-cat | ns_server | Status: MERGED | +2 | +1 |
178008,6 | MB-53077: Add RAM usage alerts (part 2) | cheshire-cat | ns_server | Status: MERGED | +2 | +1 |
178064,2 | MB-53077: Merge remote-tracking branch 'couchbase/cheshire-cat' into neo | neo | ns_server | Status: MERGED | +2 | +1 |
178069,2 | MB-53077: Alert memory threshold = -1 means "no threshold" | mad-hatter | ns_server | Status: MERGED | +2 | +1 |
178081,2 | MB-53077: Merge cheshire-cat | cheshire-cat | ns_server | Status: MERGED | +2 | +1 |
178082,1 | MB-53077: Merge cheshire-cat | neo | ns_server | Status: MERGED | +2 | +1 |
178084,3 | MB-53077: [BP] Add REST API to change alert limits. | neo | ns_server | Status: MERGED | +2 | +1 |
178085,5 | MB-53077: Make memory alert threshold configurable | neo | ns_server | Status: MERGED | +2 | +1 |
178088,1 | MB-53077: Memory alerts should respect cgroups memory limit | master | ns_server | Status: ABANDONED | +2 | -1 |
178164,4 | MB-53077 Add support for memory threshold alert | mad-hatter | couchbase-cli | Status: MERGED | +2 | +1 |
178165,2 | MB-53077: Memory alerts should respect cgroups memory limit | neo | ns_server | Status: MERGED | +2 | +1 |
178167,1 | MB-53077 Merge mad-hatter into cheshire-cat | cheshire-cat | couchbase-cli | Status: MERGED | +2 | +1 |
178169,1 | MB-53077 Merge cheshire-cat into neo | master | couchbase-cli | Status: ABANDONED | 0 | 0 |
178170,1 | MB-53077 Merge cheshire-cat into neo | neo | couchbase-cli | Status: MERGED | +2 | +1 |
178171,2 | Merge remote-tracking branch 'couchbase/neo' | master | ns_server | Status: MERGED | +2 | +1 |
178225,1 | Merge branch 'neo' into master | master | couchbase-cli | Status: MERGED | +2 | +1 |
181434,1 | MB-53077: Alert memory threshold = -1 means "no threshold" | cheshire-cat | ns_server | Status: ABANDONED | 0 | 0 |