-
Notifications
You must be signed in to change notification settings - Fork 52
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
Spwaning tons of chktex #186
Comments
I'm using neovim, vimtex, and texlab via vim-lsp in parallel and do not observe this. Are you sure it's an issue with texlab and not with coc(-texlab)? |
Thanks for the report.
I think its an issue with texlab since coc-texlab should never spawn
That's odd. When does the spamming of |
I think I have updated the version of the server and it doesn't happen. I haven't done really extensive vimtex session. But will see how it will behave. |
OK, it did happen again. It happens after a lot of usage. I can't put my finger on it. |
I saw also
|
Can you try the latest commit on the master branch? Now, |
Thanks, will do. I notice it not too often(when resources are exhausted). |
I'm coc-texlab user (also thinking coc-texlab isn't to blame as chktex is called by texlab) and still have the same issue on last release, lots of stale chktex processes until I close texlab. |
Try updating everything to the last version and disable ALE. I am not sure how it was resolved |
@eyalk5 oh! Many thanks for that tip, it seems So possibly ignore my previous report, ALE is aggressive in general and may be calling chktex in some weird way on its own. Really not sure how these chktex processes come up as texlab child (through coc??) when ALE is present. |
Actually, lately I completely removed ALE from my setup and this kept happening. It's not ALE related. The |
I will work on a fix once I get the incremental parsing sorted out, which should be relatively soon.
ChkTex should be run, whenever you save a file but not when you are building. In the mean time, I recommend disabling |
Okay. As said it actually didn't have any relation with ALE on my side. |
Correct, I didn't mean it runs when I build the files, but that having new |
Can you guys check out PR #408, please?. I think I managed to find the issue. There was an "texlab.chktex.onEdit": true,
"texlab.chktex.onOpenAndSave": true, |
@pfoerster it seems I can't try this under coc-texlab in a simple manner as the coc extension would have to align its source code with those option changes. Currently by just changing the texlab executable I'm unable to get FWIW, additional bit of info: the dangling |
This info actually helped debug the issue. It looks like it may be some Rust process API issue to me. The fix with the encoding is not everything and it still hangs sometimes but after not feeding input to |
@pfoerster it seems I'm not hitting this anymore after 3.0. |
Been coding latex for a while and this seems to have effectively gone away. |
Hi,
texlab has spawned multiple times a lot of chktex processes .
When I say multiple, I mean until the os run out of pipes. That is 1157 process.
ps couldn't resolve their cmdline (why?)
Example:
Their parent process was
/Users/eyalkarni/.config/coc/eetensions/coc-texlab-data/texlab
I would appreciate it if you would fix this.
I work in the environment where I run coc-texlab and vimtex in parallel in neovim.
If it matters. thanks.
The version is "texlab 1.10.0"
The text was updated successfully, but these errors were encountered: