Closed anigmo97 closed 1 year ago
Thanks @anigmo97.
Looks like it is an issue with nbresuse
which is used to retrieve the metrics.
I've just installed the extension and I am experiencing same issue - I see only separators in the bar but no actual metrics. Is there something that can be done to resolve it or it's a bigger issue with some dependencies? I am using JL 2.1.5 (running in virtual environment).
I've just installed the extension and I am experiencing same issue - I see only separators in the bar but no actual metrics. Is there something that can be done to resolve it or it's a bigger issue with some dependencies? I am using JL 2.1.5 (running in virtual environment).
Hi, the problem seems to be related only with the CPU usage.
If you change this in jupyter_notebook_config.py
c.NotebookApp.ResourceUseDisplay.track_cpu_percent = False
You will be able to see the RAM usage bar
I've just installed the extension and I am experiencing same issue - I see only separators in the bar but no actual metrics. Is there something that can be done to resolve it or it's a bigger issue with some dependencies? I am using JL 2.1.5 (running in virtual environment).
Hi, the problem seems to be related only with the CPU usage.
If you change this in jupyter_notebook_config.py
c.NotebookApp.ResourceUseDisplay.track_cpu_percent = False
You will be able to see the RAM usage bar
Thanks for a quick reply! Is this something I can configure in JupyterHub config as well? (this is a multiuser environment, sessions are spawned based on jupyterhub_config.py)
I've just installed the extension and I am experiencing same issue - I see only separators in the bar but no actual metrics. Is there something that can be done to resolve it or it's a bigger issue with some dependencies? I am using JL 2.1.5 (running in virtual environment).
Hi, the problem seems to be related only with the CPU usage. If you change this in jupyter_notebook_config.py
c.NotebookApp.ResourceUseDisplay.track_cpu_percent = False
You will be able to see the RAM usage bar
Thanks for a quick reply! Is this something I can configure in JupyterHub config as well? (this is a multiuser environment, sessions are spawned based on jupyterhub_config.py)
Hello, yes this can be configured also using jupyterHub.
I'm also using jupyterHub.
I'm not an expert, but i let you what i understood.
First we have to differents configuration files:
So, this extension settings must be on jupyter_notebook_config.py As example, my /usr/local/etc/jupyter/jupyter_notebook_config.py file looks like:
c = get_config()
# memoryand cpu display settings
c.NotebookApp.ResourceUseDisplay.mem_limit = int(3 * 1024 * 1024 * 1024)
c.NotebookApp.ResourceUseDisplay.track_cpu_percent = False
c.NotebookApp.ResourceUseDisplay.cpu_limit = 3
# 10 % free memory
c.NotebookApp.ResourceUseDisplay.mem_warning_threshold = 0.1
And my jupyterhub_config.py looks like:
c.JupyterHub.port = 8000
c.Spawner.default_url = '/lab'
...
I hope it helps
Closing as jupyterlab-system-monitor
has now been integrated in jupyter-resource-usage
: https://github.com/jupyter-server/jupyter-resource-usage/issues/191
Feel free to open a new issue on the jupyter-resource-usage
repo if needed: https://github.com/jupyter-server/jupyter-resource-usage
Thanks!
Hi everyone, I have been using this extension for two weeks and everything went fine but suddenly it stopped working.
Because of the browser errors and the logs I would say that you cannot get any metrics.
Can somebody help me?
My versions are:
Checking my jupyterlab extensions all seems fine:
Checking Jupyterlab logs:
Checking the browser logs :