modal-examples icon indicating copy to clipboard operation
modal-examples copied to clipboard

Unclosed client session

Open ZekiJohn opened this issue 1 year ago • 1 comments

Hi

I'm using deployed comfy_ui.py (06_gpu_and_ml/comfyui/comfy_ui.py)

and I'm encountering unclosed client connections, potentially causing resource leaks. Issue appears during API interactions. works fine when using the browser.

image

It's worth noting that this issue arises one minute after receiving a successful response to a request.

ZekiJohn avatar Mar 07 '24 15:03 ZekiJohn

Hi @ZekiJohn, you can disregard this message. We'll have a fix for this at some point in the near future.

The unclosed client sessions are only left behind on container shutdown, when they'll be closed anyway since the process exits. There's no resource leak.

ekzhang avatar Mar 12 '24 23:03 ekzhang