Giter Club home page Giter Club logo

Comments (1)

kevin-bates avatar kevin-bates commented on May 27, 2024 1

Hi @lresende. I suspect this is coming from the culling logic. Were there a set of lines preceding the first error log statement in the above output similar to these (that appear in later):

[D 2023-02-23 18:28:13.907 EnterpriseGatewayApp] kernel_id=8a3b508a-41bb-4ef4-a9ff-8470a7ed1659, kernel_name=spark_32_python_kubernetes, last_activity=2023-02-23 17:21:05.848081+00:00
[W 2023-02-23 18:28:13.907 EnterpriseGatewayApp] Culling 'starting' kernel 'spark_32_python_kubernetes' (8a3b508a-41bb-4ef4-a9ff-8470a7ed1659) with 0 connections due to 4028 seconds of inactivity.
[D 2023-02-23 18:28:13.908 EnterpriseGatewayApp] Clearing buffer for 8a3b508a-41bb-4ef4-a9ff-8470a7ed1659
[I 2023-02-23 18:28:13.908 EnterpriseGatewayApp] Kernel shutdown: 8a3b508a-41bb-4ef4-a9ff-8470a7ed1659
[D 2023-02-23 18:28:13.908 EnterpriseGatewayApp] ERROR: ECONNREFUSED, no process listening, cannot send signal.
[D 2023-02-23 18:28:13.909 EnterpriseGatewayApp] OSError(ENOTCONN) raised on socket shutdown, listener has likely already exited. Cannot send '{'shutdown': 1}'

I agree this should be fixed, it's just a matter of where. If this needs to be addressed in the culling logic (which, I would say, should be sensitive to HTTPError 404 and eat that exception (with a log)), then the issue would need to be transfered to jupyter-server.

We could also tighten up RemoteKernelManager.remove_kernel() so that super.remove_kernel() handles 404 exceptions.

Were you going to look into this?

from enterprise_gateway.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.