You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CPU intensive python process sometimes launched when atom is closed if this package is installed #310
When atom is closed after using autocomplete, a python process launches in the background. This process is CPU intensive and doesn't end, has to be force closed. I am using the Jedi system on Windows 10.
I've been using this as a workaround:
import psutil
from time import sleep
PROCNAME = "python.exe"
for proc in psutil.process_iter():
# check whether the process name matches
if proc.name() == PROCNAME and proc.cpu_percent(interval=0.2) > 20:
cpu = proc.cpu_percent(interval=0.2)
proc.kill()
print(proc.name(), 'stopped ({}%)'.format(cpu))
break
sleep(1)
Same problem, Windows 10. Atom was closed hours ago and suddenly I hear fan spinning in my laptop. I'm checking running processes - completion.py from autocomplete-python, 25% of CPU usage. Please fix this.
+1
After closing Atom, there is a Python process with a CPU usage of 15-20%. This makes my PC really slow. Even performing simple tasks, PC lags. The process never stops unless I manually stop it. Reappears when I open again Atom.
The process is there while working with atom but has no CPU usage(0%). Goes to mentioned usage after exiting atom.
I am on Windows 10 Creator's Edition.
Also having problems with this, but only on one of my machines. Closing causes the python shell to go into a high CPU state with Atom owning the process and failing to close.
On some occasions the shell process has become detached from Atom and starts running as a parent process when viewed in the Windows Task Manager, even before I have invoked a close on Atom.
Activity
warmar commentedon May 28, 2017
+1. This bug has been causing me a lot of problems. FYI I am on Windows 10.
rlam3 commentedon May 30, 2017
+1
vuki commentedon May 30, 2017
Same problem, Windows 10. Atom was closed hours ago and suddenly I hear fan spinning in my laptop. I'm checking running processes - completion.py from autocomplete-python, 25% of CPU usage. Please fix this.
KappaLambda commentedon Jun 21, 2017
+1
After closing Atom, there is a Python process with a CPU usage of 15-20%. This makes my PC really slow. Even performing simple tasks, PC lags. The process never stops unless I manually stop it. Reappears when I open again Atom.
The process is there while working with atom but has no CPU usage(0%). Goes to mentioned usage after exiting atom.
I am on Windows 10 Creator's Edition.
rlam3 commentedon Jun 26, 2017
+1000
luxlurer commentedon Jul 29, 2017
+1
hodossy commentedon Sep 18, 2017
+1
For me closing Atom is not even necessary, however I could not figure out what is triggering the high load.
I am on Windows 10 too.
christophra commentedon Sep 27, 2017
+1
Atom : 1.13.1
Electron: 1.3.13
Chrome : 52.0.2743.82
Node : 6.5.0
rlam3 commentedon Sep 27, 2017
@sadovnychyi We totally love this atom package. But as a community would love your feedback on this. Thanks!
christophra commentedon Sep 28, 2017
How does it work, do I report a separate issue for Linux?
sadovnychyi commentedon Sep 28, 2017
mattbaker-digital commentedon Jan 15, 2018
Also having problems with this, but only on one of my machines. Closing causes the python shell to go into a high CPU state with Atom owning the process and failing to close.
On some occasions the shell process has become detached from Atom and starts running as a parent process when viewed in the Windows Task Manager, even before I have invoked a close on Atom.
Python 3.6.4, Windows 10 1709
Exit the completion process on EOF
Exit the completion process on EOF
micahjsmith commentedon Apr 29, 2018
experiencing this as well on python 3.6, macos 10.13.4, atom 1.26.1, autocomplete-python 1.10.5
even after closing atom, a python3.6 process spawned by autocomplete-python continues to use 100% cpu.
thanks!
mattbaker-digital commentedon Dec 12, 2018
Video of the issue showing command line parameters (Jedi auto-complete):
https://drive.google.com/file/d/1ll1MIs8MLQuXuTgtUGneFUuwj8FIGfJ3/view
BigIskander commentedon Dec 16, 2018
I just edited the file autocompletion.py
Changed this text:
to, this:
segevfiner commentedon Dec 16, 2018
See brennv#21
brgsstm commentedon Feb 15, 2019
+1 Windows 10 and autocomplete-python