[Freeswitch-dev] mod_fifo
Hi, I'm currently using a FreeSWITCH version from the stable branch (checked out on 29/01/2013), which works perfectly fine. Yesterday I tried to use version 1.2.7 (with the exact same configuration) but my fifo stopped working. Basically every call never leaves the queue, they hang in there *waiting* forever. I compared these versions and I noticed the following modification: - fifo_execute_sql_queued(&sql, SWITCH_TRUE, *SWITCH_TRUE*); + fifo_execute_sql_queued(&sql, SWITCH_TRUE, *SWITCH_FALSE*); What was the motivation for this change? If I revert the changes (use the old mod_fifo) everything works fine! Is anyone out there having a similar problem? Regards, Thierry Panthier
check http://jira.freeswitch.org/browse/FS-4903 , I think it works for me. I'm not using this in production though. you can comment or reopen, or create a new jira and link to this. -- Seven Du http://www.freeswitch.org.cn http://about.me/dujinfang http://www.dujinfang.com Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, March 19, 2013 at 6:43 AM, Thierry Panthier wrote:
Hi,
I'm currently using a FreeSWITCH version from the stable branch (checked out on 29/01/2013), which works perfectly fine.
Yesterday I tried to use version 1.2.7 (with the exact same configuration) but my fifo stopped working. Basically every call never leaves the queue, they hang in there waiting forever.
I compared these versions and I noticed the following modification:
- fifo_execute_sql_queued(&sql, SWITCH_TRUE, SWITCH_TRUE); + fifo_execute_sql_queued(&sql, SWITCH_TRUE, SWITCH_FALSE);
What was the motivation for this change?
If I revert the changes (use the old mod_fifo) everything works fine!
Is anyone out there having a similar problem?
Regards,
Thierry Panthier _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org (mailto:consulting@freeswitch.org) http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org (mailto:FreeSWITCH-dev@lists.freeswitch.org) http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Thanks! I'll get the logs of both working and non-working versions and I'll re-open this issue. Regards, Thierry On Tue, Mar 19, 2013 at 10:30 AM, Seven Du <dujinfang@gmail.com> wrote:
check http://jira.freeswitch.org/browse/FS-4903 , I think it works for me. I'm not using this in production though.
you can comment or reopen, or create a new jira and link to this.
-- Seven Du http://www.freeswitch.org.cn http://about.me/dujinfang http://www.dujinfang.com
Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
On Tuesday, March 19, 2013 at 6:43 AM, Thierry Panthier wrote:
Hi,
I'm currently using a FreeSWITCH version from the stable branch (checked out on 29/01/2013), which works perfectly fine.
Yesterday I tried to use version 1.2.7 (with the exact same configuration) but my fifo stopped working. Basically every call never leaves the queue, they hang in there *waiting* forever.
I compared these versions and I noticed the following modification:
- fifo_execute_sql_queued(&sql, SWITCH_TRUE, *SWITCH_TRUE*); + fifo_execute_sql_queued(&sql, SWITCH_TRUE, *SWITCH_FALSE*);
What was the motivation for this change?
If I revert the changes (use the old mod_fifo) everything works fine!
Is anyone out there having a similar problem?
Regards,
Thierry Panthier _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
The changes were related to fixing some performance bottlenecks in mod_fifo related to db operations. Is there any particular one that is causing the problem or are you reverting the entire change? Please update details on http://jira.freeswitch.org/browse/FS-4903 Thanks Mike On Mar 18, 2013, at 6:43 PM, Thierry Panthier <thierry.devel@gmail.com> wrote:
Hi,
I'm currently using a FreeSWITCH version from the stable branch (checked out on 29/01/2013), which works perfectly fine.
Yesterday I tried to use version 1.2.7 (with the exact same configuration) but my fifo stopped working. Basically every call never leaves the queue, they hang in there waiting forever.
I compared these versions and I noticed the following modification:
- fifo_execute_sql_queued(&sql, SWITCH_TRUE, SWITCH_TRUE); + fifo_execute_sql_queued(&sql, SWITCH_TRUE, SWITCH_FALSE);
What was the motivation for this change?
If I revert the changes (use the old mod_fifo) everything works fine!
Is anyone out there having a similar problem?
Hi Michael, I reverted all occurrences of the SQL execute commands: - fifo_execute_sql_queued(&sql, SWITCH_TRUE, *SWITCH_TRUE*); + fifo_execute_sql_queued(&sql, SWITCH_TRUE, *SWITCH_FALSE*); I haven't yet had the time to investigate the issue. All that I know is that, after the update from my current version to 1.2.7, my fifo stopped working. And that reverting those changes in mod_fifo fixed the issue. I'm sorry for the delay but I'll post my config and the logs in the bug description as soon as possible. Regards, Thierry On Wed, Mar 20, 2013 at 1:11 AM, Michael Jerris <mike@jerris.com> wrote:
The changes were related to fixing some performance bottlenecks in mod_fifo related to db operations. Is there any particular one that is causing the problem or are you reverting the entire change?
Please update details on http://jira.freeswitch.org/browse/FS-4903
Thanks Mike
On Mar 18, 2013, at 6:43 PM, Thierry Panthier <thierry.devel@gmail.com> wrote:
Hi,
I'm currently using a FreeSWITCH version from the stable branch (checked out on 29/01/2013), which works perfectly fine.
Yesterday I tried to use version 1.2.7 (with the exact same configuration) but my fifo stopped working. Basically every call never leaves the queue, they hang in there *waiting* forever.
I compared these versions and I noticed the following modification:
- fifo_execute_sql_queued(&sql, SWITCH_TRUE, *SWITCH_TRUE*); + fifo_execute_sql_queued(&sql, SWITCH_TRUE, *SWITCH_FALSE*);
What was the motivation for this change?
If I revert the changes (use the old mod_fifo) everything works fine!
Is anyone out there having a similar problem?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Hi, I have just uploaded all the information but I don't think I have permission to re-open the bug. Regards, Thierry Panthier On Wed, Mar 20, 2013 at 2:17 PM, Thierry Panthier <thierry.devel@gmail.com>wrote:
Hi Michael,
I reverted all occurrences of the SQL execute commands:
- fifo_execute_sql_queued(&sql, SWITCH_TRUE, *SWITCH_TRUE*); + fifo_execute_sql_queued(&sql, SWITCH_TRUE, *SWITCH_FALSE*);
I haven't yet had the time to investigate the issue. All that I know is that, after the update from my current version to 1.2.7, my fifo stopped working. And that reverting those changes in mod_fifo fixed the issue.
I'm sorry for the delay but I'll post my config and the logs in the bug description as soon as possible.
Regards,
Thierry
On Wed, Mar 20, 2013 at 1:11 AM, Michael Jerris <mike@jerris.com> wrote:
The changes were related to fixing some performance bottlenecks in mod_fifo related to db operations. Is there any particular one that is causing the problem or are you reverting the entire change?
Please update details on http://jira.freeswitch.org/browse/FS-4903
Thanks Mike
On Mar 18, 2013, at 6:43 PM, Thierry Panthier <thierry.devel@gmail.com> wrote:
Hi,
I'm currently using a FreeSWITCH version from the stable branch (checked out on 29/01/2013), which works perfectly fine.
Yesterday I tried to use version 1.2.7 (with the exact same configuration) but my fifo stopped working. Basically every call never leaves the queue, they hang in there *waiting* forever.
I compared these versions and I noticed the following modification:
- fifo_execute_sql_queued(&sql, SWITCH_TRUE, *SWITCH_TRUE*); + fifo_execute_sql_queued(&sql, SWITCH_TRUE, *SWITCH_FALSE*);
What was the motivation for this change?
If I revert the changes (use the old mod_fifo) everything works fine!
Is anyone out there having a similar problem?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Please try to keep issues/topics either in Jira or this list. Its hard to jump back and forth. Once something is in jira, typically its not necessary to use the mailing list thread. On Tue, Mar 26, 2013 at 1:05 AM, Thierry Panthier <thierry.devel@gmail.com>wrote:
Hi,
I have just uploaded all the information but I don't think I have permission to re-open the bug.
Regards,
Thierry Panthier
On Wed, Mar 20, 2013 at 2:17 PM, Thierry Panthier <thierry.devel@gmail.com
wrote:
Hi Michael,
I reverted all occurrences of the SQL execute commands:
- fifo_execute_sql_queued(&sql, SWITCH_TRUE, *SWITCH_TRUE*); + fifo_execute_sql_queued(&sql, SWITCH_TRUE, *SWITCH_FALSE*);
I haven't yet had the time to investigate the issue. All that I know is that, after the update from my current version to 1.2.7, my fifo stopped working. And that reverting those changes in mod_fifo fixed the issue.
I'm sorry for the delay but I'll post my config and the logs in the bug description as soon as possible.
Regards,
Thierry
On Wed, Mar 20, 2013 at 1:11 AM, Michael Jerris <mike@jerris.com> wrote:
The changes were related to fixing some performance bottlenecks in mod_fifo related to db operations. Is there any particular one that is causing the problem or are you reverting the entire change?
Please update details on http://jira.freeswitch.org/browse/FS-4903
Thanks Mike
On Mar 18, 2013, at 6:43 PM, Thierry Panthier <thierry.devel@gmail.com> wrote:
Hi,
I'm currently using a FreeSWITCH version from the stable branch (checked out on 29/01/2013), which works perfectly fine.
Yesterday I tried to use version 1.2.7 (with the exact same configuration) but my fifo stopped working. Basically every call never leaves the queue, they hang in there *waiting* forever.
I compared these versions and I noticed the following modification:
- fifo_execute_sql_queued(&sql, SWITCH_TRUE, *SWITCH_TRUE*); + fifo_execute_sql_queued(&sql, SWITCH_TRUE, *SWITCH_FALSE*);
What was the motivation for this change?
If I revert the changes (use the old mod_fifo) everything works fine!
Is anyone out there having a similar problem?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
participants (4)
-
Anthony Minessale
-
Michael Jerris
-
Seven Du
-
Thierry Panthier