Rabbitmw server starts with 0 socket limit

27 views
Skip to first unread message

Yogesh Nautiyal

unread,
Jan 18, 2017, 7:07:24 AM1/18/17
to rabbitmq-users
I am facing intermittent issue, where rabbitmw server starts with 0 socket limit.

# sbin/rabbitmqctl status
..
.
 {file_descriptors,[{total_limit,2},
                    {total_used,1},
                    {sockets_limit,0},
                    {sockets_used,0}]},


This cause producer  and consumers to fail.

Can someone tell whats going wrong on my system?

 # sbin/rabbitmqctl status
Status of node 'rabbit@ce-bras-mx240-e' ...
[{pid,47133},
 {running_applications,[{rabbit,"RabbitMQ","3.6.6"},
                        {ranch,"Socket acceptor pool for TCP protocols.",
                               "1.2.1"},
                        {os_mon,"CPO  CXC 138 46","2.4.1"},
                        {rabbit_common,[],"3.6.6"},
                        {xmerl,"XML parser","1.3.11"},
                        {mnesia,"MNESIA  CXC 138 12","4.14"},
                        {sasl,"SASL  CXC 138 11","3.0"},
                        {stdlib,"ERTS  CXC 138 10","3.0"},
                        {kernel,"ERTS  CXC 138 10","5.0"}]},
 {os,{unix,freebsd}},
 {erlang_version,"Erlang/OTP 19 [erts-8.0] [source] [async-threads:64] [hipe] [kernel-poll:true]\n"},
 {memory,[{total,27063744},
          {connection_readers,0},
          {connection_writers,0},
          {connection_channels,0},
          {connection_other,0},
          {queue_procs,1380},
          {queue_slave_procs,0},
          {plugins,0},
          {other_proc,13032288},
          {mnesia,30340},
          {mgmt_db,0},
          {msg_index,22364},
          {other_ets,526936},
          {binary,19912},
          {code,9516944},
          {atom,572917},
          {other_system,3340663}]},
 {alarms,[]},
 {listeners,[{clustering,25672,"::"},{amqp,5672,"::"},{amqp,5672,"0.0.0.0"}]},
 {vm_memory_high_watermark,0.4},
 {vm_memory_limit,858993459},
 {disk_free_limit,50000000},
 {disk_free,16253759488},
 {file_descriptors,[{total_limit,2},
                    {total_used,1},
                    {sockets_limit,0},
                    {sockets_used,0}]},
 {processes,[{limit,1048576},{used,152}]},
 {run_queue,0},
 {uptime,19},
 {kernel,{net_ticktime,60}}]


# ulimit
unlimited


Michael Klishin

unread,
Jan 18, 2017, 7:09:55 AM1/18/17
to rabbitm...@googlegroups.com, Yogesh Nautiyal
See Open File Handles Limit on http://www.rabbitmq.com/networking.html
> --
> You received this message because you are subscribed to the Google Groups "rabbitmq-users"
> group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
> To post to this group, send an email to rabbitm...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

--
MK

Staff Software Engineer, Pivotal/RabbitMQ


Reply all
Reply to author
Forward
0 new messages