Can you guys narrow down the commit that pushed things over the edge? Or doesn't git have some sort of magic tool that helps you figure this kind of thing out?<br><br>-MC<br><br><div class="gmail_quote">On Wed, Sep 1, 2010 at 9:17 PM, Moises Silva <span dir="ltr"><<a href="mailto:moises.silva@gmail.com">moises.silva@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I've seen exactly that behavior.<div><br></div><div>First some warnings about events "queued at lower priority" and some time later "Event queue is full!"</div>
<div><br></div><div>Stopping the sipp traffic then shows some channels stuck, show channels display channels that are no longer there. We reverted to our previous git version of FreeSWITCH and the error is gone.</div>
<div><div><br clear="all"><div>Moises Silva<br>Senior Software Engineer<br>Sangoma Technologies Inc. | NEW 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada<br>t. 1 905 474 1990 x128 | e. <a href="mailto:moy@sangoma.com" target="_blank">moy@sangoma.com</a></div>
<br>
<br><br><div class="gmail_quote">2010/9/1 Joćo Mesquita <span dir="ltr"><<a href="mailto:jmesquita@freeswitch.org" target="_blank">jmesquita@freeswitch.org</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">
Hello guys,<div><br></div><div>I have a problem that started to happen after I upgraded to git head last night. No configuration changes were made and this is the intriguing part.</div><div><br></div><div>I have SQLite being mounted on tmpfs on busy Dell 1950s. After some time on the busy moments of the day, FS starts to not delete channels/calls from SQLite and leaves very little trace for me to track.</div>
<div><br></div><div>I grep'ed the logs for SQL errors and found nothing.. The only part of the log that I could spot and that called my attention was this line that repeated several times during the periods where the problem occurs:</div>
<div><br></div><div>switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "queued event at a lower priority %d/%d!\n", index, was);</div><div><br></div><div>11:23:13.977874 [WARNING] switch_event.c:1353 queued event at a lower priority 1/0!</div>
<div><br></div><div>Which is printed from the following code:</div><div><br></div><div><div> for (index = (*event)->priority; index < 3; index++) {</div><div> int was = (*event)->priority;</div>
<div><span style="white-space: pre-wrap;">                        </span>if (switch_queue_trypush(EVENT_QUEUE[index], *event) == SWITCH_STATUS_SUCCESS) {</div><div><span style="white-space: pre-wrap;">                                </span>if (index != was) {</div>
<div><span style="white-space: pre-wrap;">                                        </span>switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "queued event at a lower priority %d/%d!\n", index, was);</div><div><span style="white-space: pre-wrap;">                                </span>}</div>
<div><span style="white-space: pre-wrap;">                                </span>goto end;</div><div><span style="white-space: pre-wrap;">                        </span>}</div></div><div><br></div><div>From what I could understand on the code, seems like there are 3 event priority queues and that message occurs when queue 0 is full. How exactly that relates to the problem, I am not sure so I see myself here lost in translation. Could the core_event_handler not receive some messages therefore not execute the sql statements? If that's the case, maybe I lost some log line telling me that we were loosing events?</div>
<div><br></div><div>I hope someone can shed some light.</div><div><br></div><div>Thank you,<br clear="all">Joćo Mesquita<br>
</div>
<br></div></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>