Skip to content
This repository has been archived by the owner on Apr 23, 2019. It is now read-only.

Process leak - python .../jedi-cmd.py persists even after quitting Atom #11

Open
posita opened this issue Apr 22, 2015 · 3 comments
Open

Comments

@posita
Copy link

posita commented Apr 22, 2015

I have quit atom, and yet at least one python .../jedi-cmd.py process persists:

% alias psu
psu='ps -o pid,ppid,pri,tt,stat,time,%cpu,%mem,start,command'
% alias psx
psx='psu -x'
% psx -www | grep -Ei 'atom|jedi'
91174     1  31   ??  S      0:00.30   0.0  0.1  1:29PM python .../.atom/packages/autocomplete-plus-python-jedi/lib/jedi-cmd.py undefined
97874 95590  31 s005  S+     0:00.00   0.0  0.0  4:06PM grep -Ei atom|jedi

The second column is the PPID. Note that it is now 1 rather than the window process (see process.pid in developer console). After restarting Atom, opening a .py file, and quitting Atom twice:

% psx -www | grep -Ei 'atom|jedi'
91174     1  31   ??  S      0:00.30   0.0  0.1  1:29PM python .../.atom/packages/autocomplete-plus-python-jedi/lib/jedi-cmd.py undefined
97949     1  31   ??  S      0:00.15   0.0  0.0  4:07PM python .../.atom/packages/autocomplete-plus-python-jedi/lib/jedi-cmd.py .../Documents/dev/veritaseum/server
98177     1  31   ??  S      0:00.08   0.0  0.0  4:09PM python .../.atom/packages/autocomplete-plus-python-jedi/lib/jedi-cmd.py .../Documents/dev/veritaseum/server
98256 95590  31 s005  S+     0:00.00   0.0  0.0  4:09PM grep -Ei atom|jedi
@tinloaf
Copy link
Owner

tinloaf commented Apr 23, 2015

That's weird. What OS are you using?

@posita
Copy link
Author

posita commented Apr 23, 2015

That's weird. What OS are you using?

OS X 10.9.5.

% uname -a
Darwin ... 13.4.0 Darwin Kernel Version 13.4.0: Wed Mar 18 16:20:14 PDT 2015; root:xnu-2422.115.14~1/RELEASE_X86_64 x86_64

@posita
Copy link
Author

posita commented Apr 23, 2015

Possibly related to #6 (or at least reproducible alongside it)? See this #6 (comment).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants