[erlang-questions] monitor long_schedule and strange timeouts

Max Lapshin max.lapshin@REDACTED
Thu May 19 23:28:01 CEST 2016

Once per hour we get strange situation on customer server.

Log is getting full with messages like:

2016-05-20 02:06:52.204 <0.300.0> flu_sys_monitor:46 Monitor:

2016-05-20 02:06:52.210 <0.300.0> flu_sys_monitor:46 Monitor:

(loop_setter is a very small function that just reads message and set field
in ets table)

and many processes in system are getting stuck in different places like:


Amount of erlang:statistics(total_active_tasks) is getting down from
average 800 to 200 when such situation happens.

I have two questions:

1) is erlang:statistics(total_active_tasks)  about 800 a normal value or it
is a very huge overload? System is working ok with such metric

2) are there any hints how to debug situation? Is it an external of
something internal? If customer is running some task on this server, then
why long schedules may appear?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160520/1232cd98/attachment.htm>

More information about the erlang-questions mailing list