Hanging SyncConsumers taking down ASGI processing

38 views
Skip to first unread message

Tim Nelson

unread,
Apr 28, 2023, 8:42:17 AM4/28/23
to django...@googlegroups.com
I am chasing a database deadlock issue in my application. What appears to be happening is my SyncConsumers are eating up all the ASGI threads because they are hung and websocket connections start failing.

Is there a way to add a uWSGI "harakiri" like functionality to SyncConsumers to defend against this issue?

Django==3.2.5
channels==3.0.5
channels-redis==3.3.0
asgiref==3.5.2
uvicorn==0.15.0

Thanks.

Filbert

unread,
May 15, 2023, 10:47:39 AM5/15/23
to Django users
Kinda shocked no one responded to this. Sounds like most people aren't using SyncConsumers or aren't using Channels for mission critical applications.
Reply all
Reply to author
Forward
0 new messages