Stream: jupyter

Topic: can't start new thread error


view this post on Zulip Isla Simpson (May 12 2021 at 19:25):

Hello, I'm on jupyterhub on the casper login node and trying to run a script that I have run here before. When I try to do anything it gives an error "can't start new thread". Googling tells me that there are too many threads running in the python process and it happens if there are resource limitations. But I haven't really tried to do anything and it even happens if I try to start a dask cluster in an attempt to get more resources. Can anyone help me? Thanks!

view this post on Zulip Max Grover (May 12 2021 at 19:26):

Have you tried using the casper batch node instead?

view this post on Zulip Isla Simpson (May 12 2021 at 19:29):

I wondered about that but I can't figure out how to quit the one I'm running. How to you totally stop a jupyterhub session when you've set the wallclock limit as 12 hours? I close down the browser and then open it again and it just brings me back to where I was. I even killed the job in the queue and it still brought me back to my open session and now I don't see me having any jobs in the queue. Sorry, I should probably know this by now!

view this post on Zulip Isla Simpson (May 12 2021 at 19:29):

oh nevermind. found it! let me try.

view this post on Zulip Isla Simpson (May 12 2021 at 19:31):

ok, this is working now. Thanks!

view this post on Zulip Matt Long (May 12 2021 at 22:07):

For future refernce, under the "File" menu there is an option to view the "Hub control panel." This allows you kill your server, or spawn new ones on the same or different platform.

view this post on Zulip Isla Simpson (May 12 2021 at 22:31):

Ah, this is great to know. Thanks!


Last updated: Jan 30 2022 at 12:01 UTC