阅读更多
内存爆掉,crashdump:
General Information Help
Slogan eheap_alloc: Cannot allocate 26550341040 bytes of memory (of type "heap").
Node name 'loadgen_huawei7879@f3s13'
Crashdump created on Fri Sep 7 07:44:37 2012
System version Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:4:4] [rq:4] [async-threads:0] [hipe] [kernel-poll:true]
Compiled Thu Jul 7 15:53:28 2011
Taints (none)
Memory allocated 26849931496 bytes
Atoms 15428
Processes 116
ETS tables 87
Timers 11
Funs 1142
内存情况:
Bytes
total 26849931496
processes 21601841440
processes_used 21601785144
system 5248090056
atom 1061593
atom_used 1042929
binary 4223073104
code 12095143
ets 900071096
进程共116个,按Stack+Heap从大大小排列,前面几个是:
Pid Name/Spawned as State Reductions Stack+heap MsgQ Length
<0.275.0> launcher2 Waiting 636 4108475 0
<0.59.0> loads_script_manager Waiting 100679479 4108475 0
<0.280.0> launcher7 Waiting 505 196418 0
<0.70.0> loads_vuser_sup Waiting 7362399285 196418 0
<0.274.0> launcher1 Waiting 36971 75025 0
按MsgQLength从大到小排列,前面几个是:
Pid Name/Spawned as State Reductions Stack+heap MsgQ Length
<0.72.0> sub_sup_system_2 Scheduled 9532056 6765 1
<0.64.0> sub_stats_system_2 Scheduled 958030 6765 1
<0.283.0> launcher10 Waiting 206386 17711 0
<0.282.0> launcher9 Waiting 1189821 28657 0
<0.281.0> launcher8 Waiting 10739 46368 0
每个内存都不高,消息队列也不长,不知道哪里耗内存了?
而且从进程看,好像少了我业务中一些该有的。请大家帮忙分析一下,谢谢!