Skip to content

Commit 1e1de68

Browse files
authored
fix(skyline): resolve ERRNO 95 (#919)
This change resolves an intermitent issue that happens on some hosts where skyline refuses to start with the following error. ``` log [2025-03-24 18:30:47 +0000].988 1 INFO [-] Starting gunicorn 23.0.0 [2025-03-24 18:30:47 +0000].988 1 ERROR [-] connection to /var/lib/skyline/skyline.sock failed: [Errno 95] Operation not supported [2025-03-24 18:30:47 +0000].988 1 DEBUG [-] Retrying in 1 second. [2025-03-24 18:30:48 +0000].989 1 ERROR [-] connection to /var/lib/skyline/skyline.sock failed: [Errno 95] Operation not supported [2025-03-24 18:30:48 +0000].989 1 DEBUG [-] Retrying in 1 second. [2025-03-24 18:30:49 +0000].990 1 ERROR [-] connection to /var/lib/skyline/skyline.sock failed: [Errno 95] Operation not supported [2025-03-24 18:30:49 +0000].990 1 DEBUG [-] Retrying in 1 second. [2025-03-24 18:30:50 +0000].991 1 ERROR [-] connection to /var/lib/skyline/skyline.sock failed: [Errno 95] Operation not supported [2025-03-24 18:30:50 +0000].991 1 DEBUG [-] Retrying in 1 second. [2025-03-24 18:30:51 +0000].992 1 ERROR [-] connection to /var/lib/skyline/skyline.sock failed: [Errno 95] Operation not supported [2025-03-24 18:30:51 +0000].992 1 DEBUG [-] Retrying in 1 second. [2025-03-24 18:30:52 +0000].993 1 ERROR [-] Can't connect to /var/lib/skyline/skyline.sock ``` The fix is to ensures that `reuse_port` is disabled. which will allow skyline to bind to the socket. Signed-off-by: Kevin Carter <[email protected]>
1 parent ed0b64a commit 1e1de68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base-kustomize/skyline/base/configmap-bin.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,14 @@ data:
133133
properties: []
134134
gpu_models: []
135135
usb_models: []
136-
data-gunicorn.py : |
136+
data-gunicorn.py: |
137137
import multiprocessing
138138
bind = "unix:/var/lib/skyline/skyline.sock"
139139
workers = 4
140140
worker_class = "uvicorn.workers.UvicornWorker"
141141
timeout = 3600
142142
keepalive = 5
143-
reuse_port = True
143+
reuse_port = False
144144
proc_name = "skyline"
145145
logconfig_dict = {
146146
"version": 1,

0 commit comments

Comments
 (0)