I see windows can do about 2k file handles if the code is changed.
Not knowing C I took a guess and put _setmaxstdio(2048); under sndfile_file_open.
I am thinking this is not the correct place to put this code.
I can see 512 files running out fast but even when all the channels are closed I still can’t open more files. Makes me think the handlers are not being released. Any ideas??
Andrew
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of aademattia@comcast.net
Sent: Wednesday, December 17, 2014 9:17 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] mod_sndfile.c:207 Error Opening File
I am doing a session .read()
How do I close the audio files?
Sent from my HTC
----- Reply message -----
From: "Guillermo Ruiz Camauer" <grcamauer@gmail.com>
To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org>
Subject: [Freeswitch-users] mod_sndfile.c:207 Error Opening File
Date: Wed, Dec 17, 2014 8:46 PM
You are probably opening the files, not closing them and therefore running out of file handles. Try increasing file handles. If the problem appears again but after a larger number of calls, then that's your answer.
Guillermo
Sent from my iPhone
On 17/12/2014, at 20:38, Andrew <aademattia@comcast.net> wrote:
Hi,
I have an odd problem and I have no clue how to fix this.
I call about 100+ calls and then files that were working no longer work. I have been working on this for days.
I know the files are real and work but for some odd reason it will not open or play any audio. If I restart everything works for the next few hundreds of calls.
Working with FreeSWITCH master embedded on windows server x64.
Does anyone have any idea?
2014-12-17 18:21:42.154751 [ERR] mod_sndfile.c:207 Error Opening File [c:\dialer\projects\x\audio\introvz.wav] [No Error.]
2014-12-17 18:21:59.434751 [ERR] mod_sndfile.c:207 Error Opening File [c:\dialer\projects\x\audio\introvz2.wav] [No Error.]
2014-12-17 18:23:09.574751 [ERR] mod_sndfile.c:207 Error Opening File [c:\dialer\projects\x\audio\press8.wav] [No Error.]
2014-12-17 18:23:18.634751 [ERR] mod_sndfile.c:207 Error Opening File [c:\dialer\projects\x\audio\closing.wav] [No Error.]
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
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