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 over 2 years ago. Updated 10 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
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.

Actions #1

Updated by Peter Amstutz over 2 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Peter Amstutz over 2 years ago

  • Description updated (diff)
Actions #3

Updated by Peter Amstutz over 2 years ago

Something like?

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

Actions #4

Updated by Peter Amstutz over 2 years ago

  • Status changed from In Progress to New
Actions #5

Updated by Peter Amstutz almost 2 years ago

  • Release set to 60
Actions #6

Updated by Peter Amstutz 10 months ago

  • Target version set to Future
Actions

Also available in: Atom PDF