[rabbitmq-discuss] eheap_alloc error

Suhail Doshi suhail at mixpanel.com
Tue Sep 15 16:56:12 BST 2009


queue's are marked as durable and persistent on both sides:

Producer:
send_message(Channel, Ticket, X, RoutingKey, Payload) ->
    BasicPublish = #'basic.publish'{ticket = Ticket,
                                    exchange = X,
                                    routing_key = RoutingKey,
                                    mandatory = false,
                                    immediate = false},
    BasicProperties = amqp_util:basic_properties(),
    Properties = BasicProperties#'P_basic'{delivery_mode=2}, %% Persistence
plz
    Content = #content{class_id = 60,
         properties = Properties,
         properties_bin = none,
         payload_fragments_rev = [Payload]
        },
    amqp_channel:cast(Channel, BasicPublish, Content).


I recently just had my producer crash:
                                     <<"event">>,false,false})
Discarding content bearing method ({'basic.publish',1,<<"records">>,
                                       <<"event">>,false,false})
Discarding content bearing method ({'basic.publish',1,<<"records">>,
                                       <<"event">>,false,false})
Discarding content bearing method ({'basic.publish',1,<<"records">>,
                                       <<"event">>,false,false})
Discarding content bearing method ({'basic.publish',1,<<"records">>,
                                       <<"event">>,false,false})
Discarding content bearing method ({'basic.publish',1,<<"records">>,
                                       <<"event">>,false,false})
Discarding content bearing method ({'basic.publish',1,<<"records">>,
                                       <<"event">>,false,false})

Crash dump was written to: erl_crash.dump
eheap_alloc: Cannot allocate 5854930744 bytes of memory (of type
"heap_frag").
Aborted


Dump:

=erl_crash_dump:0.1
Tue Sep 15 11:12:02 2009
Slogan: eheap_alloc: Cannot allocate 5854930744 bytes of memory (of type
"heap_frag").
System version: Erlang R13B01 (erts-5.7.2) [source] [64-bit] [smp:4:4]
[rq:4] [async-threads:0] [hipe] [kernel-poll:false]
Compiled: Tue Jun 23 19:56:26 2009
Atoms: 7600
=memory
total: 7249076328
processes: 7195628192
processes_used: 7195558088
system: 53448136
atom: 509577
atom_used: 496634
binary: 43489256
code: 4768046
ets: 316624
=hash_table:atom_tab
size: 4813
used: 3785
objs: 7600
depth: 8
=index_table:atom_tab
size: 8192
limit: 1048576
entries: 7600
=hash_table:module_code
size: 97
used: 72
objs: 123
depth: 5
=index_table:module_code
size: 1024
limit: 65536
entries: 123
=hash_table:export_list
size: 2411
used: 1798
objs: 3355
depth: 8
=index_table:export_list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090915/49589548/attachment.htm 


More information about the rabbitmq-discuss mailing list