Skip to content

Correct PID but incorrect victim name #194

Closed
@PLPeeters

Description

@PLPeeters

We're using EarlyOOM on a JupyterLab (1.X) instance. I created a notebook where I just created some huge strings to eat some memory and when it got killed, the correct PID was logged, but the process name was wrong.

Before creating the last string that generates the OOM, I checked htop:

Screenshot 2020-04-30 at 13 45 59

EarlyOOM logged this:

Apr 30 11:46:14 <hostname_removed> earlyoom[1000]: Out of memory! avail: 82 MiB < min: 230 MiB
Apr 30 11:46:14 <hostname_removed> earlyoom[1000]: Killing process 7981 htop

So the PID is correct, but the name isn't (also, htop was still running after that, so it clearly killed the right PID).

I then generated OOMs in a JupyterLab Terminal with tail /dev/zero and in a Python shell in said terminal to see if the JupyterHub environment could be the issue in itself, and there the logs are fine (as expected after reading through #65).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions