[erlang-questions] Investigate an infinite loop on production servers
Dmitry Kolesnikov
dmkolesnikov@REDACTED
Thu May 23 14:39:06 CEST 2013
Right, you do not have many processes. Same time you goes out of memory…
Unfortunately, I had no time play around with R16B at production…
Could it be some issue with SSL, I re-call there was some complains in the list?
I would use entop to spot the process that has either too much reductions, queue len or heap.
Once you know they pid you can dig more info about them using erlang:process_info(…) and/or sys:get:status(…)
BTW, What erlang:memory() says on you production node?
- Dmitry
On May 23, 2013, at 3:25 PM, Morgan Segalis <msegalis@REDACTED> wrote:
> No, I was talking about the function I made to investigate which processes I have created, which gives me this output :
>
> Dict: {dict,16,16,16,8,80,48,
> {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
> {{[[{{connector_serv,init,1},[connector_suprc42,connector,<0.42.0>]}|548]],
> [],
> [[{{supervisor,connector_sup,1},[connector,<0.42.0>]}|3],
> [{{connector_serv,init,1},[connector_supssl,connector,<0.42.0>]}|1460],
> [{{supervisor,casserl_sup,1},[connector,<0.42.0>]}|1],
> [{{supervisor,pushiphone_sup,1},[connector,<0.42.0>]}|2],
> [{{pushiphone,init,1},['pushiphone-lite',connector,<0.42.0>]}|3],
> [{{supervisor,clientpool_sup,1},[connector,<0.42.0>]}|1]],
> [],
> [[{{clientpool,init,1},[clientpool_sup,connector,<0.42.0>]}|1],
> [undefined|4]],
> [],
> [[{{supervisor,connector,1},[<0.42.0>]}|1],
> [{{casserl_serv,init,1},[casserl_sup,connector,<0.42.0>]}|50]],
> [],[],[],
> [[{{connector_serv,init,1},[connector_suprc4,connector,<0.42.0>]}|472],
> [{{ssl_connection,init,1},
> [ssl_connection_sup,ssl_sup,<0.51.0>]}|
> 1366],
> [{unknown,unknown}|3]],
> [],[],
> [[{{pushiphone,init,1},['pushiphone-full',connector,<0.42.0>]}|3]],
> [],
> [[{{pg2,init,1},[kernel_safe_sup,kernel_sup,<0.10.0>]}|1]]}}}
> ok
>
> I'm very satisfied with supervisor, and I don't think to have the expertise tweaking it...
>
> Le 23 mai 2013 à 14:19, Dmitry Kolesnikov <dmkolesnikov@REDACTED> a écrit :
>
>>
>> On May 23, 2013, at 1:04 PM, Morgan Segalis <msegalis@REDACTED> wrote:
>>
>>> I have made a little function a while back, getting all processes and removing the processes inited at the beginning…
>>
>> Could you please elaborate on that? Why you are not satisfied with supervisor?
>>
>> - Dmitry
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130523/1a71abad/attachment.htm>
More information about the erlang-questions
mailing list