[erlang-questions] ERL_MAX_PORTS has no effect

goofansu goofan.su@REDACTED
Sat Jul 13 08:34:16 CEST 2013


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.

$ erl -env ERL_MAX_PORTS 4096

Erlang R15B01 (erts-5.9.1) [source] [64-bit] [smp:4:4] [async-threads:0] [kernel-poll:false]

Eshell V5.9.1  (abort with ^G)
1> erlang:system_info(check_io).
[{name,erts_poll},
 {primary,select},
 {fallback,false},
 {kernel_poll,false},
 {memory_size,6344},
 {total_poll_set_size,2},
 {lazy_updates,true},
 {pending_updates,0},
 {batch_updates,false},
 {concurrent_updates,false},
 {max_fds,1024}]
2>


The max_fds is always 1024. 

-- 
Kind Regards
goofansu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130713/28f23e3e/attachment.htm>


More information about the erlang-questions mailing list