Mantis - Squeak
Viewing Issue Advanced Details
7822 VM feature always 10-11-14 21:46 10-12-14 13:09
lewis  
lewis  
normal  
assigned  
open  
none    
none  
0007822: Unix aio VM support for 1024+ descriptors
The unix aio mechanism is limited to 1024 active file descriptors for sockets and file handles. For server application with many active socket descriptors, and for which the per-process descriptor limit has been increased above the default of 1024, this limit causes problems.
Reported by Göran Krampe:
http://lists.squeakfoundation.org/pipermail/vm-dev/2014-October/016648.html [^]

Reference to a reported fix described at:
http://lists.squeakfoundation.org/pipermail/squeak-dev/2003-May/057750.html [^]

Contact Ragnar Hojland Espinosa for the fix as per above link. Presumably this is Linux specific, so appropriate ifdef and Cmake control will be required.

Notes
(0014516)
lewis   
10-12-14 13:09   
Levente Uzonyi adds this comment:

I think this is a great summary of the current status on unix systems:
http://daniel.haxx.se/docs/poll-vs-select.html [^]
I think the best would be to use libevent or libev, but adding support for
epoll (on linux only) is probably a lot easier thing to do.