Skip to content

Restart kernel takes exactly 60s #1552

@linlol

Description

@linlol

Description

I am using jupyter on some scenarios with quite bad performance powered by z2jh as below:

  1. My frontend and backend are running at different region

In some cases, I can notice below behaviour during restarting

  1. After/restart API finished, kernel takes exactly 60s to initialise (in devtool, I can see that client side send a few binary msg, and takes 1min to get response)

  2. In backend log, I can see there is some timeout warning, and eventually work with exactly 60s (more precisely, a few milli secs longer, like 60050ms)

Given that it takes exactly 60s, I doubt it is some race condition that makes kernel manager reaches it timeout

However in this case it shall raise error instead of eventually work?

Reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error '...'

Expected behavior

Context

  • Operating System and version: frontend is win 10, backend image is based on rhel 8 with host Ubuntu 21/22 on Azure kubernetes service
  • Browser and version:
  • Jupyter Server version: 2.14.1
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.
Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
Browser Output
Paste the output from your browser Javascript console here, if applicable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions