TypeFox / vscode-ws-jsonrpc

NPM module to implement communication between a jsonrpc client and server over WebSocket
https://www.npmjs.com/package/vscode-ws-jsonrpc
MIT License
55 stars 30 forks source link

LSP process is not getting killed #22

Open GNSubrahmanyam opened 4 years ago

GNSubrahmanyam commented 4 years ago

image

For LSP like omnisharp, bash

GNSubrahmanyam commented 4 years ago

@akosyakov Any updates?

GNSubrahmanyam commented 4 years ago

Orphan process

root@1336bb13aae4:/app# ps -elLF
F S UID        PID  PPID   LWP  C NLWP PRI  NI ADDR SZ WCHAN    RSS PSR STIME TTY          TIME CMD
4 S root         1     0     1  0   11  80   0 - 151720 ep_pol 40504  2 17:10 ?        00:00:00 node lib/server.js
1 S root         1     0     6  0   11  80   0 - 151720 ep_pol 40504  3 17:10 ?        00:00:00 node lib/server.js
1 S root         1     0     7  0   11  80   0 - 151720 futex_ 40504  1 17:10 ?        00:00:00 node lib/server.js
1 S root         1     0     8  0   11  80   0 - 151720 futex_ 40504  3 17:10 ?        00:00:00 node lib/server.js
1 S root         1     0     9  0   11  80   0 - 151720 futex_ 40504  3 17:10 ?        00:00:00 node lib/server.js
1 S root         1     0    10  0   11  80   0 - 151720 futex_ 40504  3 17:10 ?        00:00:00 node lib/server.js
1 S root         1     0    11  0   11  80   0 - 151720 futex_ 40504  3 17:10 ?        00:00:00 node lib/server.js
1 S root         1     0    12  0   11  80   0 - 151720 futex_ 40504  3 17:11 ?        00:00:00 node lib/server.js
5 S root         1     0    13  0   11  80   0 - 151720 futex_ 40504  0 17:11 ?        00:00:00 node lib/server.js
1 S root         1     0    14  0   11  80   0 - 151720 futex_ 40504  1 17:11 ?        00:00:00 node lib/server.js
1 S root         1     0    15  0   11  80   0 - 151720 futex_ 40504  3 17:11 ?        00:00:00 node lib/server.js
4 S root        94     1    94  0   18  80   0 - 330953 futex_ 174880 1 17:11 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root        94     1    95  0   18  80   0 - 330953 futex_ 174880 2 17:11 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root        94     1    96  0   18  80   0 - 330953 futex_ 174880 0 17:11 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root        94     1    97  0   18  80   0 - 330953 futex_ 174880 2 17:11 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root        94     1    98  0   18  80   0 - 330953 futex_ 174880 3 17:11 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
5 S root        94     1    99  0   18  80   0 - 330953 futex_ 174880 2 17:11 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root        94     1   100  0   18  80   0 - 330953 futex_ 174880 1 17:11 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
5 S root        94     1   101  0   18  80   0 - 330953 futex_ 174880 2 17:11 ?        00:00:01 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root        94     1   102  0   18  80   0 - 330953 futex_ 174880 3 17:11 ?        00:00:03 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root        94     1   103  0   18  80   0 - 330953 futex_ 174880 1 17:11 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
5 S root        94     1   105  0   18  80   0 - 330953 futex_ 174880 1 17:11 ?        00:00:01 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root        94     1   106  0   18  80   0 - 330953 futex_ 174880 1 17:11 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root        94     1   108  0   18  80   0 - 330953 futex_ 174880 1 17:11 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root        94     1   109  0   18  80   0 - 330953 futex_ 174880 3 17:11 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root        94     1   110  0   18  80   0 - 330953 futex_ 174880 2 17:11 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root        94     1   111  0   18  80   0 - 330953 futex_ 174880 3 17:11 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root        94     1   121  0   18  80   0 - 330953 futex_ 174880 3 17:11 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
5 S root        94     1   122  0   18  80   0 - 330953 futex_ 174880 3 17:11 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
4 S root       112     0   112  0    1  80   0 -  4626 wait    3420   2 17:11 pts/0    00:00:00 bash
0 S root       227     1   227  0    1  80   0 -  4593 wait    3012   0 17:12 ?        00:00:00 bash /opt/omnisharp/run -lsp
0 S root       232   227   232  0   10  80   0 - 192420 futex_ 26740  3 17:12 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root       232   227   234  0   10  80   0 - 192420 futex_ 26740  2 17:12 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root       232   227   235  0   10  80   0 - 192420 futex_ 26740  3 17:12 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root       232   227   244  0   10  80   0 - 192420 futex_ 26740  1 17:12 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root       232   227   245  0   10  80   0 - 192420 futex_ 26740  1 17:12 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root       232   227   246  0   10  80   0 - 192420 unix_s 26740  1 17:12 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root       232   227   247  0   10  80   0 - 192420 futex_ 26740  0 17:12 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root       232   227   344  0   10  80   0 - 192420 futex_ 26740  0 17:18 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root       232   227   345  0   10  80   0 - 192420 futex_ 26740  1 17:18 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root       232   227   346  0   10  80   0 - 192420 futex_ 26740  2 17:18 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
0 S root       301     1   301  0   17  80   0 - 324395 futex_ 239796 3 17:12 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root       301     1   302  0   17  80   0 - 324395 futex_ 239796 2 17:12 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root       301     1   303  0   17  80   0 - 324395 futex_ 239796 0 17:12 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root       301     1   304  0   17  80   0 - 324395 futex_ 239796 2 17:12 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root       301     1   305  0   17  80   0 - 324395 futex_ 239796 1 17:12 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root       301     1   306  0   17  80   0 - 324395 futex_ 239796 2 17:12 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root       301     1   307  0   17  80   0 - 324395 futex_ 239796 0 17:12 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root       301     1   308  0   17  80   0 - 324395 futex_ 239796 0 17:12 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root       301     1   309  0   17  80   0 - 324395 futex_ 239796 0 17:12 ?        00:00:03 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root       301     1   310  0   17  80   0 - 324395 futex_ 239796 3 17:12 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
5 S root       301     1   312  0   17  80   0 - 324395 futex_ 239796 1 17:12 ?        00:00:03 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
5 S root       301     1   313  0   17  80   0 - 324395 futex_ 239796 0 17:12 ?        00:00:01 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root       301     1   315  0   17  80   0 - 324395 futex_ 239796 3 17:12 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
5 S root       301     1   316  0   17  80   0 - 324395 futex_ 239796 0 17:12 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root       301     1   317  0   17  80   0 - 324395 futex_ 239796 0 17:12 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
5 S root       301     1   318  0   17  80   0 - 324395 futex_ 239796 2 17:12 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
1 S root       301     1   343  0   17  80   0 - 324395 futex_ 239796 0 17:17 ?        00:00:00 /opt/omnisharp/bin/mono /opt/omnisharp/omnisharp/OmniS
0 R root       348   112   348  0    1  80   0 -  8600 -       2816   0 17:18 pts/0    00:00:00 ps -elLF