Sound file or lua script not played under load
Hi Guys, Scratching my head on this one, under load FS is not playing an audio file, OR and lua script is not getting executed. Not all the time, just some. I've changed ulimit -n to 99999 but no diff, and ideas where else I might look? Regards,
Hmm, Looking at console I'm seeing this, does this offer any additional clues to anyone? 2009-06-23 17:44:29.856574 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:44:33.620372 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:44:43.747518 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:44:45.452340 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:44:55.582892 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:44:57.285124 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:45:05.217018 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:45:07.136734 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:45:16.934136 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:45:17.751749 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:45:29.489415 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:45:30.877783 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:45:42.711411 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:45:53.924364 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:46:07.826509 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:46:17.623225 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] ________________________________ From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Nik Middleton Sent: 23 June 2009 17:46 To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Sound file or lua script not played under load Hi Guys, Scratching my head on this one, under load FS is not playing an audio file, OR and lua script is not getting executed. Not all the time, just some. I've changed ulimit -n to 99999 but no diff, and ideas where else I might look? Regards,
Are you making many calls share a single local_stream? This error usually means a handle open to a local_stream is not reading from that stream source, such as if you paused during playback of a local_stream. They are only a real issue if you are getting them with no calls up. On Tue, Jun 23, 2009 at 11:54 AM, Nik Middleton < nik.middleton@noblesolutions.co.uk> wrote:
Hmm,
Looking at console I’m seeing this, does this offer any additional clues to anyone?
2009-06-23 17:44:29.856574 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:44:33.620372 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:44:43.747518 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:44:45.452340 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:44:55.582892 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:44:57.285124 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:45:05.217018 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:45:07.136734 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:45:16.934136 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:45:17.751749 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:45:29.489415 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:45:30.877783 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:45:42.711411 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:45:53.924364 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:46:07.826509 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:46:17.623225 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
------------------------------
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Nik Middleton *Sent:* 23 June 2009 17:46 *To:* freeswitch-users@lists.freeswitch.org *Subject:* [Freeswitch-users] Sound file or lua script not played under load
Hi Guys,
Scratching my head on this one, under load FS is not playing an audio file, OR and lua script is not getting executed. Not all the time, just some. I’ve changed ulimit –n to 99999 but no diff, and ideas where else I might look?
Regards,
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
They're reading an audio file from a ram disk. Wouldn't have thought that this would cause a problem or am I wrong. Running at around 400 concurrent calls Regards, ________________________________ From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: 23 June 2009 19:21 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Sound file or lua script not played underload Are you making many calls share a single local_stream? This error usually means a handle open to a local_stream is not reading from that stream source, such as if you paused during playback of a local_stream. They are only a real issue if you are getting them with no calls up. On Tue, Jun 23, 2009 at 11:54 AM, Nik Middleton <nik.middleton@noblesolutions.co.uk> wrote: Hmm, Looking at console I'm seeing this, does this offer any additional clues to anyone? 2009-06-23 17:44:29.856574 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:44:33.620372 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:44:43.747518 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:44:45.452340 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:44:55.582892 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:44:57.285124 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:45:05.217018 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:45:07.136734 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:45:16.934136 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:45:17.751749 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:45:29.489415 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:45:30.877783 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:45:42.711411 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:45:53.924364 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:46:07.826509 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] 2009-06-23 17:46:17.623225 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015] ________________________________ From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Nik Middleton Sent: 23 June 2009 17:46 To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Sound file or lua script not played under load Hi Guys, Scratching my head on this one, under load FS is not playing an audio file, OR and lua script is not getting executed. Not all the time, just some. I've changed ulimit -n to 99999 but no diff, and ideas where else I might look? Regards, _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
the lines you pasted indicate something stuck playing local_stream (hold music) and not actually reading it. playing a file from a ram disk with 400 is for sure fine. I have done many thousand before. if you turn up your debugging do you see anything else about the box going wrong? On Tue, Jun 23, 2009 at 1:35 PM, Nik Middleton < nik.middleton@noblesolutions.co.uk> wrote:
They’re reading an audio file from a ram disk. Wouldn’t have thought that this would cause a problem or am I wrong. Running at around 400 concurrent calls
Regards,
------------------------------
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Anthony Minessale *Sent:* 23 June 2009 19:21 *To:* freeswitch-users@lists.freeswitch.org *Subject:* Re: [Freeswitch-users] Sound file or lua script not played underload
Are you making many calls share a single local_stream? This error usually means a handle open to a local_stream is not reading from that stream source, such as if you paused during playback of a local_stream. They are only a real issue if you are getting them with no calls up.
On Tue, Jun 23, 2009 at 11:54 AM, Nik Middleton < nik.middleton@noblesolutions.co.uk> wrote:
Hmm,
Looking at console I’m seeing this, does this offer any additional clues to anyone?
2009-06-23 17:44:29.856574 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:44:33.620372 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:44:43.747518 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:44:45.452340 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:44:55.582892 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:44:57.285124 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:45:05.217018 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:45:07.136734 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:45:16.934136 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:45:17.751749 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:45:29.489415 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:45:30.877783 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:45:42.711411 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:45:53.924364 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:46:07.826509 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
2009-06-23 17:46:17.623225 [CRIT] mod_local_stream.c:234 Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1015]
------------------------------
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Nik Middleton *Sent:* 23 June 2009 17:46 *To:* freeswitch-users@lists.freeswitch.org *Subject:* [Freeswitch-users] Sound file or lua script not played under load
Hi Guys,
Scratching my head on this one, under load FS is not playing an audio file, OR and lua script is not getting executed. Not all the time, just some. I’ve changed ulimit –n to 99999 but no diff, and ideas where else I might look?
Regards,
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Does the log show anything? if the lua script fails to execute it should appear in freeswitch.log On Tue, Jun 23, 2009 at 9:45 AM, Nik Middleton < nik.middleton@noblesolutions.co.uk> wrote:
Hi Guys,
Scratching my head on this one, under load FS is not playing an audio file, OR and lua script is not getting executed. Not all the time, just some. I’ve changed ulimit –n to 99999 but no diff, and ideas where else I might look?
Regards,
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Anthony Minessale
-
Matthew Fong
-
Nik Middleton