Skip to content

Commit

Permalink
add logging of OOM of not PID1 processes in docker containers (#1135)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
  • Loading branch information
Alexander Garagatyi committed Apr 26, 2016
1 parent 6373e37 commit 905ce99
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ public void process(Event message) {
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;
Expand Down

0 comments on commit 905ce99

Please sign in to comment.