-
Notifications
You must be signed in to change notification settings - Fork 123
Major file descriptor issues with websockets #73
Comments
Possibly relevant, though closed and old: http-party/node-http-proxy#570 |
We should investigate whether node/the node http proxy is using |
Sockets are ballooning within the node proxy when handling the websockets. A port gets allocated for each one between node and Docker.
|
To summarize the root issue here, it's that the proxy is having to open more than the expected one to communicate to the underlying docker container. It makes me wish we could hand the socket over directly. |
We should think about and research (for the configurable-http-proxy possibly) learning lessons from this cloudflare post about websockets. They do things like |
Our cleanup (using
docker stop
instead ofdocker kill
) helps clean up file descriptors during culling but we still have a major problem: all the file descriptors that get opened by individual notebook servers and the configurable http proxy.I haven't tracked down exact pieces, but here's some summarized stats:
The text was updated successfully, but these errors were encountered: