Project

General

Profile

Actions

Bug #18969

open

Controller should monitor its own memory usage and pause requests handling when memory usage is high

Added by Peter Amstutz 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-

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.

Actions #1

Updated by Peter Amstutz 3 months ago

  • Status changed from New to In Progress
Actions #2

Updated by Peter Amstutz 3 months ago

  • Description updated (diff)
Actions #3

Updated by Peter Amstutz 3 months ago

Something like?

var m runtime.MemStats
runtime.ReadMemStats(&m)

Actions #4

Updated by Peter Amstutz 3 months ago

  • Status changed from In Progress to New
Actions

Also available in: Atom PDF