<div dir="ltr"><div>The value is gotten here:</div><div><br></div><a href="https://github.com/erlang/otp/blob/master/erts/emulator/beam/erl_message.c#L434">https://github.com/erlang/otp/blob/master/erts/emulator/beam/erl_message.c#L434</a><div><br></div><div>multiplied here:</div><div><a href="https://github.com/erlang/otp/blob/master/erts/emulator/beam/bif.c#L2310-L2311">https://github.com/erlang/otp/blob/master/erts/emulator/beam/bif.c#L2310-L2311</a><br><div><br></div><div>and then bumped here:</div><div><br></div><div><a href="https://github.com/erlang/otp/blob/master/erts/emulator/beam/bif.c#L2374">https://github.com/erlang/otp/blob/master/erts/emulator/beam/bif.c#L2374</a><br></div><div><a href="https://github.com/erlang/otp/blob/master/erts/emulator/beam/bif.c#L2504">https://github.com/erlang/otp/blob/master/erts/emulator/beam/bif.c#L2504</a><br></div><div><br></div><div>Lukas</div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 16, 2016 at 7:25 AM, Max Lapshin <span dir="ltr"><<a href="mailto:max.lapshin@gmail.com" target="_blank">max.lapshin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>We have met strange situation when lager_event is overloaded with about million of messages and all processes trying to log are mentioned in sys monitor with long_schedule warning.<br></div><div><br></div><div><br></div><div>I thought that it may be a problem with penalisation of sender with some reductions but couldn't find exact formula in OTP sources. Where is it?</div></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div></div></div></div>