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

how to stop deoplete kill all child processes and then restart #871

Closed
liushapku opened this Issue Nov 8, 2018 · 7 comments

Comments

Projects
None yet
2 participants
@liushapku

liushapku commented Nov 8, 2018

I don't know whether this is the correct place to ask the question in the title.

My deoplete seems to have got messed up. After vim (and deoplete) is running for hours, I saw more than 30 deoplete processes launched, although I have set the num_processes to be 4.

The number of processes at the time vim started was only 4. I don't know when did it increased yet. Perhaps some source crashed and the deoplete restarted it.

Is there a way to terminate all the deoplete processes and then restart deoplete?

@Shougo

This comment has been minimized.

Owner

Shougo commented Nov 8, 2018

It is not deoplete issue.
Deoplete doesn't increase the processes.
You should use pgrep command to kill processes.

@Shougo Shougo closed this Nov 8, 2018

@Shougo

This comment has been minimized.

Owner

Shougo commented Nov 8, 2018

I think you have launched several Vim instances.

@liushapku

This comment has been minimized.

liushapku commented Nov 8, 2018

I only have one vim instance. I still need some time to figure out what happened. But is there a way to stop deoplete from within vim or to restart it afresh? I only found a deoplete#disable and it does not affect the process.

@Shougo

This comment has been minimized.

Owner

Shougo commented Nov 8, 2018

You should restart Vim instance.
And you can disable parallel features by num_processes.

@Shougo

This comment has been minimized.

Owner

Shougo commented Nov 8, 2018

I have checked the code, but it is correct.
I don't work for the problem without reproduce instruction.

@Shougo

This comment has been minimized.

Owner

Shougo commented Nov 8, 2018

deoplete doesn't have restart process feature.
So your assume is incorrect.

@liushapku

This comment has been minimized.

liushapku commented Nov 8, 2018

got it. Thank you very much. I restarted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment