Quote:Apparently asyncio Queues use a Linux pipe and each queue require 2 file descriptors.
You made the wrong assumption. The Queue class does not open file, nor sockets.
Lib/asyncio/queues.py
I guess your problem with reaching the file descriptor limit comes from the socket creation for new network connections.
If you don't limit the simultaneous connections in your program, then this problem could happen.
The Queue object does use a deque instance for the queue. This lives in memory. There is no requirement for a pipe to communicate.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!