[rabbitmq-discuss] RabbitMQ Causing Segmentation Fault on FreeBSD

Brandon Munroe brandon.munroe at gmail.com
Tue Apr 15 17:25:58 BST 2014


Yep, the VM is segfaulting (it exits with the message "Segmentation fault
(core dumped)").

The message in the logs reads:

** Generic server rabbit_mgmt_external_stats terminating
** Last message in was emit_update
** When Server state == {state,707130}
** Reason for termination ==
** {function_clause,[{lists,nth,[1,[]],[{file,"lists.erl"},{line,168}]},

{rabbit_mgmt_external_stats,'-get_used_fd/1-fun-1-',2,[]},
                     {lists,'-filter/2-lc$^0/1-0-',2,
                            [{file,"lists.erl"},{line,1271}]},
                     {lists,'-filter/2-lc$^0/1-0-',2,
                            [{file,"lists.erl"},{line,1271}]},
                     {rabbit_mgmt_external_stats,get_used_fd,1,[]},

{rabbit_mgmt_external_stats,'-infos/2-lc$^0/1-0-',2,[]},

{rabbit_mgmt_external_stats,'-infos/2-lc$^0/1-0-',2,[]},
                     {rabbit_mgmt_external_stats,emit_update,1,[]}]}

The only message on stdout/stderr is the one above.  We're running RabbitMQ
3.2.4 on Erlang R16B03-1, with HiPE compiled in (though we didn't specify
hipe_compile in the RabbitMQ configuration).

-Brandon


On Tue, Apr 15, 2014 at 1:58 AM, Simon MacMullen <simon at rabbitmq.com> wrote:

> I assume you mean the Erlang VM is segfaulting (or at least terminating
> abruptly)?
>
> Is there anything in the logs? Does anything get printed to standard
> output / error just before the termination? Which versions of RabbitMQ /
> Erlang are you running? Have you enabled HiPE?
>
> Cheers, Simon
>
>
> On 15/04/2014 00:27, Brandon Munroe wrote:
>
>> We're trying to run a RabbitMQ instance on FreeBSD 10.0 with 10k
>> concurrent connections/queues, and we are experiencing a segmentation
>> fault after letting the system idle for a little while (half an hour or
>> so).  During this time, we just connect the 10k clients and pass no
>> messages.  Does anyone have any ideas on where we could start looking to
>> diagnose the problem, or has anyone encountered similar problems?
>>
>> Thanks in advance.
>>
>> -Brandon
>>
>>
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140415/9fb4847f/attachment.html>


More information about the rabbitmq-discuss mailing list