[erlang-questions] About etop question

郎咸武 <>
Mon Dec 16 10:33:55 CET 2013


Hi all, I need your help.
In recently days, i found our server consume a lot of memory. For example,
I  only type erl command in the shell. It is about to consume 4G memory. I
try to monitor with etop toos. Then i met a new question which the Memory
column  display some stars[1].

Thanks for any idea.
My Enviromment is:
FreeBSD meda076 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
2012     :/usr/obj/usr/src/sys/GENERIC  amd64

Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:24:24] [rq:24]
[async-threads:0] [hipe] [kernel-poll:false]



[1]
 Load:  cpu        57               Memory:  total    22822275    binary
  358077
        procs    1216                        processes17988800    code
   12438
        runq        0                        atom         1285    ets
 260260

Pid            Name or Initial Func    Time    Reds  Memory    MsgQ Current
Function
----------------------------------------------------------------------------------------
<5149.1319.0>  re_cache              263608  224355   11744       0
inflector:re_cache_l
<5149.114.0>   proc_lib:init_p/5      79164   19759 1801616       0
gen_server:loop/6
<5149.2869.2>  trends_db:update_cac   56983   52371********       0
gen:do_call/4
<5149.266.0>   proc_lib:init_p/5      49117   19523********       0
gen_server:loop/6
<5149.56.0>    boss_db_pool           30201   56476   67752       0
gen_fsm:loop/7
<5149.1101.0>  mnesia_tm               7193   21880********       0
mnesia_tm:doit_loop/
<5149.84.0>    proc_lib:init_p/5       5984   15656********       0
gen_server:loop/6
<5149.456.0>   proc_lib:init_p/5       4507   19988 1801616       0
gen_server:loop/6
<5149.602.0>   proc_lib:init_p/5       4152   16802 1113992       0
gen:do_call/4
<5149.894.0>   proc_lib:init_p/5       4126   15461********       0
gen_server:loop/6
========================================================================================


Cheers, Jason
-- 
只为成功找方法,不为失败找理由
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20131216/9a6a9619/attachment.html>


More information about the erlang-questions mailing list