Page MenuHomePhabricator

python3 triangle.py causing high memory usage on tools-bastion-02
Closed, DuplicatePublic

Description

top:

  PID USER                PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
24967 hazard-sj           20   0 5281384  19224   4092 T   0.0  0.2   0:05.79 python3 triangle.py
11898 hazard-sj           20   0 3782908  27508   4008 T   0.0  0.3   0:17.30 python3 triangle.py
 3043 hazard-sj           20   0 2485584  17980   4200 T   0.0  0.2   0:06.72 python3 triangle.py

I think this is where all the memory went, but it doesn't show up because it's shared between the processes. The script file is empty, and I can't attach to the processes with strace (?!), so I'm killing them for now.

Event Timeline

valhallasw raised the priority of this task from to Needs Triage.
valhallasw updated the task description. (Show Details)
valhallasw added subscribers: valhallasw, Hazard-SJ.

In any case, due to T123123: overcommit disabled + small swap on tools-bastion-02, other users could not use the bastion because of this.

The script is now non-empty, but also definitely non-wikimedia. @Hazard-SJ, please remember this is not allowed per the labs terms of use.