Reputation: 1361
I am new to using Jupyter notebook. I have installed Jupyter using Anaconda and have set up a jupyter server. I wanted to control the cpu and memory available for Jupyter. Is there any configuration for doing that? What is the best way to achieve this.
Thanks
Upvotes: 8
Views: 8605
Reputation: 1411
You can specify CPU limit to Jupyter notebook process using
sudo cpulimit -l 100 -p <PID>
where PID is ID of your process, -l is for limit, you can read man page to learn how to use it.
Upvotes: 1