Actions
Bug #18969
openController should monitor its own memory usage and pause requests handling when memory usage is high
Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Story points:
-
Release:
Release relationship:
Auto
Description
Customer reports controller loading very large collections (200+ MB manifest) which need to be signed (seems to require 1+ GB of RAM in controller), when there are several parallel requests on the same large collection, this causes controller to get OOM killed.
Controller should monitor its memory usage (somehow) and throttle request handling when memory usage is dangerously high.
Updated by Peter Amstutz almost 3 years ago
- Status changed from New to In Progress
Updated by Peter Amstutz almost 3 years ago
Something like?
var m runtime.MemStats
runtime.ReadMemStats(&m)
Updated by Peter Amstutz almost 3 years ago
- Status changed from In Progress to New
Actions