[erlang-questions] tcp_close during async accept

Joel Reymont joelr1@REDACTED
Wed Jul 8 18:29:38 CEST 2009

On Jul 8, 2009, at 4:45 PM, Trevor Woollacott wrote:

> Thats true, running out of file descriptors is likely. If that is  
> the case then you should be seeing EMFILE or ENFILE errors.

This is not the case in my test, although I did report a related issue:

Mac OSX 10.5.7

ulimit -n

Erlang R13B01 (erts-5.7.2) [source] [smp:2:2] [rq:2] [async-threads:0]  

=ERROR REPORT==== 6-Jul-2009::20:51:54 ===
driver_select(0x00000041, 1024, ERL_DRV_WRITE ERL_DRV_USE, 1) by  
tcp_inet driver #Port<0.3137> failed: fd=1024 is larger than the  
largest allowed fd=1023

=ERROR REPORT==== 6-Jul-2009::20:51:55 ===
File operation error: system_limit. Target: s3erl/ebin/random.beam.  
Function: get_file. Process: code_server.

Mac hacker with a performance bent

More information about the erlang-questions mailing list