-
-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Runaway processes #298
Comments
That one is new to me and sounds like a separate problem. Can you open a separate bug report for that one, with a minimal test case with which I can reproduce the problem? Thanks. |
It seems to be related because every time TAB completion closes the session I spot a runaway process which I have to kill manually. Example:
In this directory if I type
=> Shell session closes and runaway zsh process starts. It's very reproducible this way. |
I noticed that above (
If I have only either or none of them configured it does not happen (only when both are activated). |
Why exactly do you type |
Not exactly trying to find a non-existing file, but completion attempts like these via Thanks for the attempted fix. However, it still happens (zsh session closes / tmux pane just quits -> runaway process) after I updated to latest version (which includes 781d322 ) and ensure the change arrived in my autocomplete zsh files. I checked the process which is still running, however it doesn't seem to tell much of a story:
I left it running for 6 minutes, but it does not seem to stop itself. |
If I can do anything to debug the situation please let me know (inserting a specific debug line within autocomplete scripts , ...) |
I was now able to generate some runaway processes, determine the cause of it, and fix the problem. Please update and let me know if it doesn't fix it for you. |
Thanks, this fixes it! No more runaway process. However, the phenomenon of a closing shell still appears: #306 |
You're welcome! 😊 If you enjoy using this software, please consider becoming a sponsor. |
zsh-autocomplete
version: latestSofar I am unable to reproduce this with intent. However, I experience this both an MacOS and Linux (Fedora 33).
Sometimes I find
zsh
processes which use up lots of CPU time.On my MacOS I noticed this only after installing
zsh-autocomplete
(the computer fans started going wild although I did nothing computing intense... A look into activity monitor list at least onezsh
process using lots of cpu power in these cases) which is why I am quite certain that these come from this plugin.On Linux I can track these with
top
.I haven't done further analysis until now.
Perhaps you have some pointers as to what I may be looking into.
As a side note: I noticed on MacOS that this often happens when I press
TAB
to autocomplete something and suddenly the zsh shell session closes (Tmux pane vanishes).The text was updated successfully, but these errors were encountered: