[erlang-questions] crash while garbing - OTP-7132

satoshi kinoshita kino@REDACTED
Thu Feb 6 06:35:51 CET 2014


Does any one know some more detail information for OTP-7132?


--- http://www.erlang.org/doc/apps/erts/notes.html#id114389 ----
The emulator could under rare circumstances crash while garbage collecting.

Own Id: OTP-7132
----------------------------------------------------------------

We're still using R11B-5 and having a crash while doing GC on a process.
Though erl_crash.dump is reporting almost 2GB was used for "processes",
top/vmstat is just reporting less than 1GB for beam.smp.

It is also strange to me that sum of heap and OldHeap for all processes
are less than 100M, but processes_used is almost 1.6G.

I don't know OTP-7132 is related. Any information will be appreciated.

Thanks,
Kinoshita


--------------------------------------------------------------------
% { grep +heap: erl_crash.dump |cut -d' ' -f2 |tr "\n" +; echo 0; }|bc
46165303
% { grep OldHeap: erl_crash.dump |cut -d' ' -f2 |tr "\n" +; echo 0; }|bc
52591961


---------------------------------------------------------------------------------
=erl_crash_dump:0.1
Thu Jan 30 17:42:24 2014
Slogan: eheap_alloc: Cannot allocate 191315400 bytes of memory (of type "heap").
System version: Erlang (BEAM) emulator version 5.5.5 [source] [smp:8]
[async-threads:64] [hipe] [kernel-poll:true]
Compiled: Mon Jan 21 18:01:53 2008
Atoms: 9703
=memory
total: 1843551840
processes: 1640736600
processes_used: 1626764688
system: 202815240
atom: 433065
atom_used: 428224
binary: 159095424
code: 4043588
ets: 21895748
=hash_table:atom_tab
size: 6421
used: 5001
objs: 9703
depth: 8

...

=proc:<0.29953.0>
State: Garbing
Name: mgs_db_mgse
Spawned as: proc_lib:init_p/5
Spawned by: <0.23670.0>
Started: Thu Sep  1 22:58:50 2011
Message queue length: 0
Number of heap fragments: 332
Heap fragment data: 34968
Link list: [<0.23670.0>, {from,<0.28232.7497>,#Ref<0.0.29467.224716>}]
Reductions: 3060681751
Stack+heap: 38263080
OldHeap: 47828850
Heap unused: 116
OldHeap unused: 47828850
Program counter: 0xb5d7b7bc (mnesia_locker:receive_wlocks/4 + 64)
CP: 0xb5939d50 (mnesia_tm:execute_transaction/5 + 340)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140206/e8a80ac7/attachment.htm>


More information about the erlang-questions mailing list