add logging of OOM of not PID1 processes in docker containers (#1135)

Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
6.19.x
Alexander Garagatyi 2016-04-26 18:10:18 +03:00
parent 6373e37cb8
commit 905ce9998d
1 changed files with 1 additions and 0 deletions

View File

@ -122,6 +122,7 @@ public class DockerInstanceStopDetector {
switch (message.getStatus()) {
case "oom":
containersOomTimestamps.put(message.getId(), message.getId());
LOG.info("OOM of process in container {} has been detected", message.getId());
break;
case "die":
InstanceStateEvent.Type instanceStateChangeType;