[erlang-questions] how to seek Leaking processes ?
Wed Jun 20 14:40:13 CEST 2012
unfortunately, the number of connected users is constantly growing, the delta will not really help here.
However, yes, I guess dictionary, current_function will help here…
I'll try to do a counter for each type, and print the whole structure, to see which counter is abnormally high…
Le 20 juin 2012 à 14:17, Max Lapshin a écrit :
> So, Morgan is right.
> If your code doesn't leak (and you see normal amount of processes via
> appmon), than use following code:
> PidList1 = processes(),
> PidList2 = processes(),
> Delta = PidList2 - PidList1,
> than inspect them with process_info(Pid)
> You need dictionary, current_function, etc.
More information about the erlang-questions