Skip to content
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

coc-nvim on Amazon Linux 2 (EC2) spawns many (40+) tsservers per open vim instance #470

Open
gotno opened this issue Aug 5, 2024 · 0 comments

Comments

@gotno
Copy link

gotno commented Aug 5, 2024

At my job my development environment is hosted on an Amazon EC2 instance running Amazon Linux 2, which I SSH into. My setup is essentially the same there as it is locally on my macbook, with the exception of the vim version provided by amazon's custom repos. Otherwise, I'm using the same .vimrc, the same version of node, etc.

the issue

on the EC2 instance, for every .ts file i open in a new vim instance, i see 40+ tsservers spawn in htop. on my local macbook, for the same .ts file, i see 3 tssever processes spawn. once i have 3+ instances of vim open, my EC2 slows to a crawl and eventually crashes outright.

not sure what information would be helpful, happy to provide anything else.

here's :CocInfo on EC2

## versions

vim version: VIM - Vi IMproved 9.0 9002153
node version: v18.18.0
coc.nvim version: 0.0.82-c5ffbb3c 2024-08-01 17:40:42 +0800
coc.nvim directory: /home/will.floyd/.vim/plugged/coc.nvim
term: tmux
platform: linux

## Log of coc.nvim

2024-08-05T18:54:13.676 INFO (pid:11515) [plugin] - coc.nvim initialized with node: v18.18.0 after 156
2024-08-05T18:54:13.704 INFO (pid:11515) [services] - service tsserver started
2024-08-05T18:54:16.164 INFO (pid:11515) [attach] - receive notification: showInfo []

and the htop output from EC2 (filtered on tssever) with 1 vim instance running/1 .ts file (opening another would add another ~40 lines here):

 6084 will.floyd  20   0 1977M 1397M 36428 S   2.6  4.5  0:37.95 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6100 will.floyd  20   0 1977M 1397M 36428 S   2.6  4.5  0:11.28 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6083 will.floyd  20   0  695M  129M 36324 S   0.0  0.4  0:01.47 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-24d032af9919d80429e3.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6085 will.floyd  20   0  695M  129M 36324 S   0.0  0.4  0:00.00 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-24d032af9919d80429e3.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6086 will.floyd  20   0  695M  129M 36324 S   0.0  0.4  0:00.00 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-24d032af9919d80429e3.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6087 will.floyd  20   0  695M  129M 36324 S   0.0  0.4  0:00.00 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-24d032af9919d80429e3.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6088 will.floyd  20   0  695M  129M 36324 S   0.0  0.4  0:00.18 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-24d032af9919d80429e3.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6089 will.floyd  20   0  695M  129M 36324 S   0.0  0.4  0:00.21 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-24d032af9919d80429e3.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6090 will.floyd  20   0  695M  129M 36324 S   0.0  0.4  0:00.18 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-24d032af9919d80429e3.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6091 will.floyd  20   0  695M  129M 36324 S   0.0  0.4  0:00.17 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-24d032af9919d80429e3.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6092 will.floyd  20   0  695M  129M 36324 S   0.0  0.4  0:00.00 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-24d032af9919d80429e3.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6093 will.floyd  20   0 1977M 1397M 36428 S   0.0  4.5  0:00.00 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6094 will.floyd  20   0 1977M 1397M 36428 S   0.0  4.5  0:00.00 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6095 will.floyd  20   0 1977M 1397M 36428 S   0.0  4.5  0:00.00 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6096 will.floyd  20   0 1977M 1397M 36428 S   0.0  4.5  0:02.61 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6097 will.floyd  20   0 1977M 1397M 36428 S   0.0  4.5  0:02.84 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6098 will.floyd  20   0 1977M 1397M 36428 S   0.0  4.5  0:02.46 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6099 will.floyd  20   0 1977M 1397M 36428 S   0.0  4.5  0:02.65 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6102 will.floyd  20   0  695M  129M 36324 S   0.0  0.4  0:00.00 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-24d032af9919d80429e3.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6104 will.floyd  20   0 1977M 1397M 36428 S   0.0  4.5  0:00.00 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6147 will.floyd  20   0  634M 78032 32716 S   0.0  0.2  0:00.24 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /home/will.floyd/.cache/typescript/5.5 --typesMapLocation /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation
 6148 will.floyd  20   0  634M 78032 32716 S   0.0  0.2  0:00.00 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /home/will.floyd/.cache/typescript/5.5 --typesMapLocation /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation
 6149 will.floyd  20   0  634M 78032 32716 S   0.0  0.2  0:00.00 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /home/will.floyd/.cache/typescript/5.5 --typesMapLocation /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation
 6150 will.floyd  20   0  634M 78032 32716 S   0.0  0.2  0:00.00 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /home/will.floyd/.cache/typescript/5.5 --typesMapLocation /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation
 6151 will.floyd  20   0  634M 78032 32716 S   0.0  0.2  0:00.00 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /home/will.floyd/.cache/typescript/5.5 --typesMapLocation /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation
 6152 will.floyd  20   0  634M 78032 32716 S   0.0  0.2  0:00.00 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /home/will.floyd/.cache/typescript/5.5 --typesMapLocation /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation
 6153 will.floyd  20   0  634M 78032 32716 S   0.0  0.2  0:00.01 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /home/will.floyd/.cache/typescript/5.5 --typesMapLocation /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation
 6154 will.floyd  20   0  634M 78032 32716 S   0.0  0.2  0:00.00 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /home/will.floyd/.cache/typescript/5.5 --typesMapLocation /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation
 6155 will.floyd  20   0  634M 78032 32716 S   0.0  0.2  0:00.00 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /home/will.floyd/.cache/typescript/5.5 --typesMapLocation /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation
 6156 will.floyd  20   0  634M 78032 32716 S   0.0  0.2  0:00.00 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /home/will.floyd/.cache/typescript/5.5 --typesMapLocation /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation
 6237 will.floyd  20   0 1977M 1397M 36428 S   0.0  4.5  0:00.12 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6238 will.floyd  20   0 1977M 1397M 36428 S   0.0  4.5  0:00.02 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6239 will.floyd  20   0 1977M 1397M 36428 S   0.0  4.5  0:00.02 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6240 will.floyd  20   0 1977M 1397M 36428 S   0.0  4.5  0:00.01 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6241 will.floyd  20   0 1977M 1397M 36428 S   0.0  4.5  0:00.02 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6243 will.floyd  20   0 1977M 1397M 36428 S   0.0  4.5  0:00.13 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6249 will.floyd  20   0 1977M 1397M 36428 S   0.0  4.5  0:00.10 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6328 will.floyd  20   0 1977M 1397M 36428 S   0.0  4.5  0:00.06 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6569 will.floyd  20   0 1977M 1397M 36428 S   0.0  4.5  0:00.02 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6575 will.floyd  20   0 1977M 1397M 36428 S   0.0  4.5  0:00.02 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6578 will.floyd  20   0 1977M 1397M 36428 S   0.0  4.5  0:00.01 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6580 will.floyd  20   0 1977M 1397M 36428 S   0.0  4.5  0:00.00 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6587 will.floyd  20   0 1977M 1397M 36428 S   0.0  4.5  0:00.00 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
 6588 will.floyd  20   0 1977M 1397M 36428 S   0.0  4.5  0:00.00 /home/will.floyd/.asdf/installs/nodejs/18.18.0/bin/node --max-old-space-size=3072 /home/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /tmp/vL8aAGR/coc-tsserver/198ade52a9c857f0340d/tscancellation-27ec5f5562a88acfa64b.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc

here's :CocInfo locally, on my macbook:

## versions

vim version: VIM - Vi IMproved 9.1 9010450
node version: v18.18.0
coc.nvim version: 0.0.82-c3ae5c3b 2024-05-23 20:39:40 +0800
coc.nvim directory: /Users/will.floyd/.vim/plugged/coc.nvim
term: tmux
platform: darwin

## Log of coc.nvim

2024-08-05T11:49:44.888 INFO (pid:37607) [plugin] - coc.nvim initialized with node: v18.18.0 after 68
2024-08-05T11:49:44.898 INFO (pid:37607) [services] - service tsserver started
2024-08-05T11:56:01.638 INFO (pid:37607) [attach] - receive notification: showInfo []

and the htop output for my macbook (filtered on tssever) with 1 vim instance running/1 .ts file:

31846 will.floyd  17   0  393G 37072 ?   0.2  0.2  0:02.00 /Users/will.floyd/.asdf/installs/nodejs/22.2.0/bin/node --max-old-space-size=3072 /Users/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /var/folders/pc/b5cdrvnj3wq6vvxdy23nzw4c0000gp/T/vL6kPas/coc-tsserver/52c177b99e14d3cd8c7a/tscancellation-cfdea194f0e4d90f7706.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
31845 will.floyd  17   0  393G 34768 ?   0.0  0.2  0:00.00 /Users/will.floyd/.asdf/installs/nodejs/22.2.0/bin/node --max-old-space-size=3072 /Users/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /var/folders/pc/b5cdrvnj3wq6vvxdy23nzw4c0000gp/T/vL6kPas/coc-tsserver/52c177b99e14d3cd8c7a/tscancellation-2ef63d670da5bf195434.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
31849 will.floyd  17   0  392G 30224 ?   0.0  0.2  0:00.00 /Users/will.floyd/.asdf/installs/nodejs/22.2.0/bin/node /Users/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /Users/will.floyd/Library/Caches/typescript/5.4 --typesMapLocation /Users/will.floyd/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant