RAM or CPU show nothing
See original GitHub issueHello,
I’ve been trying this extensions but it seems nothing happened. I use Kubernetes for deployment. Here my versions:
jupyter-client 5.3.4
jupyter-console 6.1.0
jupyter-core 4.6.3
jupyter-rsession-proxy 1.1
jupyter-server-proxy 1.3.2
jupyterhub 1.0.0
jupyterlab 1.2.13
jupyterlab-server 1.1.1
nbresuse 0.3.4
notebook 6.0.2
prometheus-client 0.7.1
psutil 5.7.0
Some of error logs shown:
[E 2020-04-30 06:15:22.373 SingleUserLabApp ioloop:763] Exception in callback functools.partial(<bound method IOLoop._discard_future_result of <tornado.platform.asyncio.AsyncIOMainLoop object at 0x7f896ed2f668>>, <Future finished exception=AttributeError("can't set attribute",)>)
Traceback (most recent call last):
File "/opt/conda/lib/python3.6/site-packages/tornado/ioloop.py", line 743, in _run_callback
ret = callback()
File "/opt/conda/lib/python3.6/site-packages/tornado/ioloop.py", line 767, in _discard_future_result
future.result()
File "/opt/conda/lib/python3.6/site-packages/tornado/gen.py", line 191, in wrapper
result = func(*args, **kwargs)
File "/opt/conda/lib/python3.6/site-packages/nbresuse/prometheus.py", line 34, in __call__
metrics = self.apply_memory_limits(memory_metrics())
File "/opt/conda/lib/python3.6/site-packages/nbresuse/prometheus.py", line 49, in apply_memory_limits
metrics.max_memory = self.config.mem_limit
AttributeError: can't set attribute
Here the configurations that i use to spawn the notebook:
c.KubeSpawner.args = ['--disable-user-config', '--no-browser', '--allow-root',
'--config=/etc/jupyter/jupyter_notebook_config.py',
'--ResourceUseDisplay.track_cpu_percent=True']
Appreciate for helping. Thank you.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
How to Fix a Computer That Turns on but Displays Nothing
Yes. Without RAM, your computer can't function, which means your display will be black when you turn it on. If you think this...
Read more >[SOLVED] Computer turns on but no display (2022) - Driver Easy
Fix 5: Reinstall your RAM · 1) Press and hold the power button until your computer turns off. · 2) Disconnect the AC...
Read more >My CPU turns on but there is no display. What may be the issue?
No signal on the screen most often is due to defective caps on the motherboard. Bad RAM, video card , or less less...
Read more >All Physical memory being used but nothing showing in task ...
A nice tool, which in fact on a MS hosted site and should be much more accessible, to see your ACTUAL RAM usage...
Read more >My computer is running slow, but task manager doesn't show ...
Look at the blue line in the top graph: CPU_Total. Plus, the computer is unbearably slow. I have like 12 cores, 24 logical...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @jtpio
You are right, after upgrading Jupyterlab with version 2.1.1 and use nbresuse==0.3.3 now RAM and CPU usage are shown.
Thanks
Thanks @jtpio
I see, will try upgrade my setup with version 2.xx. I will update the result here.