[erlang-questions] Yaws shows high memory usage and erlang:port_info shows 'undefined'

Stephen Han kruegger@REDACTED
Wed Sep 17 18:02:03 CEST 2008


Hi

I am running yaws server and I am seeing the memory is increased to 500M
within a week.
If I do, erlang:memory() command

[{total,579289283},
 {processes,6911229},
 {processes_used,6902485},
 {system,572378054},
 {atom,560685},
 {atom_used,545713},
 {binary,560619647},
 {code,4569203},
 {ets,1805204}]

I do see binary is using up that much.

While try to debug this, I just ran the command [ erlang:port_info(X) || X
<- erlang:ports() ].

I do see almost 1100+ 'undefined' entries shows up. Is this normal?

Is there any relation with number of 'undefined' erlang ports and memory
consumption issue?
Can anyone point where the possible issues lie?

thanks in advance...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080918/b90c8e54/attachment.htm>


More information about the erlang-questions mailing list