<div>I encounted "fd=1024 is larger than the largest allowed fd=1023", then I set the ERL_MAX_PORTS variable when start the erlang vm. But it takes no effect.</div><div><br></div><div>$ erl -env ERL_MAX_PORTS 4096</div><div><br></div><div><div>Erlang R15B01 (erts-5.9.1) [source] [64-bit] [smp:4:4] [async-threads:0] [kernel-poll:false]</div><div><br></div><div>Eshell V5.9.1 (abort with ^G)</div><div>1> erlang:system_info(check_io).</div><div>[{name,erts_poll},</div><div> {primary,select},</div><div> {fallback,false},</div><div> {kernel_poll,false},</div><div> {memory_size,6344},</div><div> {total_poll_set_size,2},</div><div> {lazy_updates,true},</div><div> {pending_updates,0},</div><div> {batch_updates,false},</div><div> {concurrent_updates,false},</div><div> {max_fds,1024}]</div><div>2></div></div><div><br></div><div>The max_fds is always 1024.</div>
<div><div><br></div><div>-- </div><div>Kind Regards</div><div>goofansu</div><div><br></div></div>