<div dir="ltr">Hi all, I need your help.<div>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].</div>
<div><br></div><div>Thanks for any idea.</div><div>My Enviromment is:</div><div>FreeBSD meda076 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64<br>
</div><div><div><br></div><div>Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:24:24] [rq:24] [async-threads:0] [hipe] [kernel-poll:false]</div><div><br></div></div><div><br></div><div><br></div><div>[1]</div><div><div>
<div> Load: cpu 57 Memory: total 22822275 binary 358077</div><div> procs 1216 processes17988800 code 12438</div>
<div> runq 0 atom 1285 ets 260260</div><div><br></div><div>Pid Name or Initial Func Time Reds Memory MsgQ Current Function</div><div>----------------------------------------------------------------------------------------</div>
<div><5149.1319.0> re_cache 263608 224355 11744 0 inflector:re_cache_l</div><div><5149.114.0> proc_lib:init_p/5 79164 19759 1801616 0 gen_server:loop/6 </div><div><5149.2869.2> trends_db:update_cac 56983 52371******** 0 gen:do_call/4 </div>
<div><5149.266.0> proc_lib:init_p/5 49117 19523******** 0 gen_server:loop/6 </div><div><5149.56.0> boss_db_pool 30201 56476 67752 0 gen_fsm:loop/7 </div><div><5149.1101.0> mnesia_tm 7193 21880******** 0 mnesia_tm:doit_loop/</div>
<div><5149.84.0> proc_lib:init_p/5 5984 15656******** 0 gen_server:loop/6 </div><div><5149.456.0> proc_lib:init_p/5 4507 19988 1801616 0 gen_server:loop/6 </div><div><5149.602.0> proc_lib:init_p/5 4152 16802 1113992 0 gen:do_call/4 </div>
<div><5149.894.0> proc_lib:init_p/5 4126 15461******** 0 gen_server:loop/6 </div><div>========================================================================================</div></div><div><br></div>
<div><br></div><div>Cheers, Jason</div>
-- <br>只为成功找方法,不为失败找理由
</div></div>