Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimeoutError: Timeout waiting for restart #1825

Open
jmbertoncelli opened this issue Oct 10, 2016 · 5 comments
Open

TimeoutError: Timeout waiting for restart #1825

jmbertoncelli opened this issue Oct 10, 2016 · 5 comments
Labels
Milestone

Comments

@jmbertoncelli
Copy link

Hi,

I have a very slow computer because of the many security layers that our corporate IT did deploy and I would like to know If it could be possible to have a parameter that could be used to customize the kernel restart timeout value?

thanks in advance.

jm

@gnestor
Copy link
Contributor

gnestor commented Oct 14, 2016

@Carreau Is there anything like this? Running jupyter notebook --help-all reveals:

KernelManager options
---------------------
--KernelManager.autorestart=<Bool>
    Default: True
    Should we autorestart the kernel if it dies.

We could potentially change the value from a bool to an integer to represent the number of retries or timeout in seconds...

@gnestor gnestor added this to the no action milestone Oct 14, 2016
@rgbkrk
Copy link
Member

rgbkrk commented Mar 2, 2017

We run some spark-backed kernels (Toree included) that I would love to be able to increase this timeout on, similar to the jupyter console settings.

@Carreau
Copy link
Member

Carreau commented Mar 2, 2017

I think there is some logic somewhere to delay the timeout for the first heartbeat. Not sure where. It might be in a dependency.

@rgbkrk
Copy link
Member

rgbkrk commented Jul 12, 2017

It appears to not be directly configurable:

timeout = loop.add_timeout(loop.time() + 30, on_timeout)

@mpacer
Copy link
Member

mpacer commented Jun 6, 2018

This is easy to fix globally for the notebook in a simple way, but making it per kernelspec would be much more complicated.

Also, it would require a bit more work to have it be for starting and restarting (as it is for jupyter_console). I'll try to get that working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants