question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Large number of kernels are running for a single notebook

See original GitHub issue

Issue Type: Bug

I was editing a TypeScrip notebook, adding cells, moving things around, running cells. I ended up with 25 running kernels.

image

Extension version: 2021.4.625511240 VS Code version: Code - Insiders 1.55.0-insider (Universal) (5d80c30e5b6ce8b2f5336ed55ad043490b0b818f, 2021-03-08T05:24:34.127Z) OS version: Darwin arm64 20.3.0 Remote OS version: Linux x64 5.4.0-1031-azure Remote OS version: Linux x64 5.4.0-1036-azure Remote OS version: Linux x64 5.4.0-1031-azure

System Info
Item Value
CPUs undefined
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 16.00GB (0.33GB free)
Process Argv –enable-proposed-api lszomoru.lszomoru-proposed-api-sample --crash-reporter-id ef10dfea-3602-4c74-ba1a-109ce7da7825
Screen Reader no
VM 0%
Item Value
Remote SSH: az-devbox
OS Linux x64 5.4.0-1031-azure
CPUs Intel® Xeon® CPU E5-2673 v4 @ 2.30GHz (4 x 2294)
Memory (System) 15.64GB (5.93GB free)
VM 0%
Item Value
Remote Codespaces
OS Linux x64 5.4.0-1036-azure
CPUs Intel® Xeon® Platinum 8168 CPU @ 2.70GHz (8 x 2693)
Memory (System) 15.64GB (7.88GB free)
VM 0%
Item Value
Remote SSH: az-devbox
OS Linux x64 5.4.0-1031-azure
CPUs Intel® Xeon® CPU E5-2673 v4 @ 2.30GHz (4 x 2294)
Memory (System) 15.64GB (5.93GB free)
VM 0%
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt602:30263608
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry244:30244315
pythonvsdeb440:30224570
pythonvsded773:30223139
pythonvspyt875:30259475
pythonvsnew554:30265444
pythontb:30258533
openwslfolder:30268768
vscoresta800:30265947
vspre833:30267464

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
rchiodocommented, Mar 10, 2021

Thanks for the bug.

Do they go away after shutdown? This might happen if you opened a bunch of notebooks and didn’t close VS code.

It should also be noted you’re listing ports there. Each kernel running opens 5 ports. Each notebook being open runs two kernels. So just having two notebooks open would be 20 ports visible.

0reactions
greazercommented, Apr 26, 2021

@kieferrm, can you still repro this? Don has not been able to on Mac.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using multiple kernels in Jupyter - wrighters.io
Jupyter notebooks run in a kernel, and it is possible to configure multiple kernels with different Python versions and dependencies.
Read more >
Jupyter extension starts multiple idle R kernels, clogging up ...
Currently, I have two Jupyter notebooks open and one active R terminal, yet I can count 16 R kernels in the system monitor,...
Read more >
Running Code — Jupyter Notebook 5.5.0 documentation
The notebook is capable of running code in a wide range of languages. However, each notebook is associated with a single kernel. This...
Read more >
Understanding and tracking DSS processes
A DSS instance is made of a number of different processes. ... Jupyter notebooks and kernels, which allows you to start a long...
Read more >
SoS Notebook – Using multiple kernels in one Jupyter notebook
Jupyter Notebook supports a large number of kernels but it does not allow us to use multiple kernels in one notebook. As you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found