ipython / ipython/ipykernel

New ipykernel has 55 threads.

Offen
#407 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
734
Forks
412
Ø Merge
1 T. 5 Std.
Gemergte PRs (30 T.)
8

Beschreibung

Running the following:
```
threads=$(ps --no-headers H --pid 1094 | wc -l); echo "pid: 1094; threads: $threads"; ps --no-headers H --pid 1094;
```
Gives me this output:
```
pid: 1094; threads: 55
1094 ? Ssl 0:02 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
1094 ? Ssl 0:00 /home/jovyan/miniconda/bin/python -m ipykernel_launcher -f /home/jovyan/.local/share/jupyter/runtime/kernel-6628f1d1-8d60-4917-8726-51201bc21ff6.json
```
Why does an ipykernel have 55 threads doing nothing (except using ram)?

My version:
```
jovyan@5f1b73838096:~/work$ ipython --version
7.3.0
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.