Max sessions for a javascript app?
Hi, This is my first post here so please be gentle :) First of all thanks for making such an awesome product! I have a question about the maximum number of sessions with media that I can support from a javascript app. My freeswitch box is CentOS 5.6 x86_64 running on a dell R410 with dual quad core X5650 @ 2.67GHz and 32GB of ram. I am using freeswitch commit 1ea5b3cf62ff99f07a21a70196f8a684bd5333e3 which I built yesterday. I have modified switch.xml to raise max-sessions and sessions-per-second to quite high values (100000 and 1000 respectively). Freeswitch is being started with the -nonat and -hp flags and I have applied the ulimits recommendedinhttp://wiki.freeswitch.org/wiki/Performance_testing_and_configurations. The call sender and receivers are both on slightly older dell machines with dual quad core xeon cpus and 16GB RAM. The servers are all on a gigabit ethernet network. I have a simple test setup with a sipp uac sending ingress into freeswitch, the dialplan executes a simple javascript app that just performs a bridge. The outbound gateway points at a sipp uas to answer the call. Each call has a hold time of 300s then the uac ends the call. My uac script is sending in 10cps to a total of 12000 calls. The javascript app is: session.execute("bridge", "sofia/gateway/sipp/argv[0]"); I have noticed that when using the js app I don't appear to be able to get >3001 inbound calls. Once I have reached 3001 inbound calls (so 6002 sessions including the b-leg) freeswitch responds to each new INVITE with a 100 trying message but the call doesn't progress. I have also performed the same test but using the bridge application in the dialplan instead of calling the javascript and it happily runs through to 12000 calls. The reason I am querying this is because I want to use a more complex js app so I can't just use the bridge dialplan app. Am i doing it wrong? Any advice gratefully received. Thanks Huw
Have you checked you have enough RTP ports available in vars.conf.xml? -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Max-sessions-for-a-javascript-... Sent from the freeswitch-users mailing list archive at Nabble.com.
Hi Peely, On 6 Dec 2011, at 13:47, peely wrote:
Have you checked you have enough RTP ports available in vars.conf.xml?
That was one of the first things I checked :) The fact that I can reach that call volume when using the bridge dialplan app is what made me point at the javascript. I have now replaced the javascript with a pure xml dialplan implementation so this isn't really an issue for me anymore Thanks :)
participants (2)
-
Huw Selley
-
peely