esockd icon indicating copy to clipboard operation
esockd copied to clipboard

acceptor - system_limit error

Open emqplus opened this issue 8 years ago • 4 comments

emqplus avatar Apr 18 '16 14:04 emqplus

=ERROR REPORT==== 14-Apr-2016::13:30:04 ===^M ** Generic server <0.3259.538> terminating ^M ** Last message in was {inet_async,#Port<0.6975>,13067,{error,system_limit}}^M ** When Server state == {state,#Port<0.6975>,^M #Fun<esockd_transport.2.94509882>,^M #Fun<esockd_listener_sup.1.16895020>,^M ["0.0.0.0",58,"80"],^M <0.325.0>,#Fun<esockd_server.0.76791649>,^M {gen_logger,lager_logger,8},^M 13067,0}^M

emqplus avatar Apr 29 '16 02:04 emqplus

Fixed in emqttd project: https://github.com/emqtt/emqttd/issues/535

emqplus avatar Apr 29 '16 02:04 emqplus

i am getting this error when the concurrent connections has reached a value of 4080

2019-12-03 11:26:16.497 [error]   crasher:
    initial call: esockd_acceptor:init/1
    pid: <0.30219.0>
    registered_name: []
    exception exit: system_limit
      in function  gen_statem:loop_event_result/9
    ancestors: [<0.1297.0>,<0.1295.0>,esockd_sup,<0.1054.0>]
    message_queue_len: 0
    messages: []
    links: [<0.1297.0>]
    dictionary: [{rand_seed,{#{jump => #Fun<rand.16.10897371>,
                                max => 288230376151711743,
                                next => #Fun<rand.15.10897371>,
                                type => exsplus},
                              [214495823314110689|145961106140201057]}}]
    trap_exit: false
    status: running
    heap_size: 4185
    stack_size: 27
    reductions: 11411
  neighbours:

boddumanohar avatar Dec 03 '19 11:12 boddumanohar

@boddumanohar Please tune the Linux kernel for more connections: https://docs.emqx.io/broker/v3/en/tune.html#linux-kernel-tuning

emqplus avatar Dec 03 '19 11:12 emqplus