<div dir="ltr">I would advise you to use gen_server:call and control sender this way.<div><br></div><div>I've removed almost all async message sendings in erlyvideo and changed them to gen_server:call.</div><div><br></div>
<div>But if you still want message sending, you can for example, kill all children with message_queue_len > 500</div></div>