Comments (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)
- Allow enterprise gateway to launch k8s kernels on remote clusters HOT 7
- Publish helm JEG on ArtifactHub HOT 1
- jupyter_client complains on wrogly passed kernel_id to Popen call HOT 1
- Enterprise gateway Spark Operator (Python) kernel fails to systematic restart HOT 3
- Failed to start kernels (Spark Operator) keeps trying to connect indefinitely
- could not find elyra/enterprise-gateway:3.2.1 HOT 4
- Conda -> Venv for local development HOT 4
- DockerProcessProxy missing abstract method implementation
- Add Karpenter do-not-evict annotations to kernel-pod HOT 2
- Jupyter Enterprise Gateway to also create an Ingress resource along with service for each driver pod to access Spark UI HOT 3
- Add Mutual Authentication Option as a Parameter HOT 3
- Fix doc build HOT 1
- Build fail -> Error response from daemon: No such container: itest-yarn
- Unable to connect kernel HOT 6
- Jupyter lab error starting kernel HOT 8
- Add the option to terminate pending kubernetes kernels if they have events preventing them from starting HOT 4
- KIP cannot use ImagePullSecret when using containerd HOT 2
- kernel Status: Unknown in Jupyterhub 3.2.1 while connecting remote kernel vai Jupyter Enterprise Gateway 3.2.1 on K8s 1.25 AWS EKS HOT 3
- upgrade the os version used by the kernel-image-puller from Debian 11 to Debian 12 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enterprise_gateway.