dora
dora copied to clipboard
Reduce number of open file handles
There is a maximum number of open file handles per process (typically 1024). We currently allocate a separate shared memory region per output message, which can quickly exhaust this limit if the receiver buffers received inputs or when large queue sizes are used.
To avoid this problem, we should allocate larger shared memory buffers and use the same buffer for multiple messages.