<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jun 16, 2016 at 12:06 PM, 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-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">If lager_event message queue is 1 mln length and about 300 processes are trying to send there message, may it lead to long_schedule  sys monitor event?</div><div class="gmail_extra"><br></div></div>
</blockquote></div><br></div><div class="gmail_extra">Of the sending processes? Not because of sender punishment, if anything it should alleviate the problem. The main thing that I can think of is that very high contention on the receiving processes message queue lock is causing the sending processes to block for a long time.</div><div class="gmail_extra"><br></div><div class="gmail_extra">If you can, you may want to run with the lock counter and see if the message queue lock shows up a lot in there (especially check the histogram of wait times on the lock).</div></div>