[erlang-questions] gen_server doesn't respond

Sungjin Park jinni.park@REDACTED
Tue Jun 4 16:27:35 CEST 2013


I'm using ranch, lager and goldrush due to lager's dependency but no nif of my own.
The system leaves quite a lot of logs, approx one 100mb file every 5min or so.
Each server has 200-300k tcp connections.
R15B03-1 running on top of centos 5.2 maybe.


Sent from my iPad

On 2013. 6. 4., at 오후 9:30, Sergej Jurecko <sergej.jurecko@REDACTED> wrote:

> Are you absolutely sure you don't use any NIFs? What applications do you use besides your own? Because it sounds like the scheduler locks that NIFs cause.
> Or are you dependent on hard drive performance maybe? Erlang might have been waiting for I/O.
> 
> 
> Sergej
> 
> On Jun 4, 2013, at 2:27 PM, Park, Sungjin wrote:
> 
>> Thanks for your concern Max.
>> 
>> I might have missed some points in the explanation though.
>> There were more processes not responding when it happened.
>> Actually most of the processes across all 4 nodes in the cluster got stuck including ranch_conns_sup etc. etc.  Strange enough, the system top had been decent like under 10% both cpu and memory.  I also think that I might be too lucky to get exact answer by sharing just this amount of information.  I just want to get some hint from rough ideas or similar experiences.  Thanks.
>> 
>> 
>> 
>> On Tue, Jun 4, 2013 at 9:11 PM, Max Lapshin <max.lapshin@REDACTED> wrote:
>>> No. You are missing something else in _your_ code. The problem is in it.
>>> 
>>> While you will "prepare" your code, you will loose it.
>> 
>> 
>> 
>> -- 
>> Park, Sungjin
>> -------------------------------------------------------------------------------------------------------------------
>> Peculiar travel suggestions are dancing lessons from god.
>>   -- The Books of Bokonon
>> -------------------------------------------------------------------------------------------------------------------
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130604/fbcafa01/attachment.htm>


More information about the erlang-questions mailing list