[erlang-questions] Terminate process if it is slow at receiving messages

Max Lapshin max.lapshin@REDACTED
Fri Sep 20 19:42:34 CEST 2013


I would advise you to use gen_server:call and control sender this way.

I've removed almost all async message sendings in erlyvideo and changed
them to gen_server:call.

But if you still want message sending, you can for example, kill all
children with message_queue_len > 500
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130920/dce90873/attachment.htm>


More information about the erlang-questions mailing list