Yate Community Forum

Yate server => Yate IVR => Topic started by: vankooch on August 27, 2013, 11:20:34 AM

Title: Javascript High System Load
Post by: vankooch on August 27, 2013, 11:20:34 AM
Hi,

we are currently testing IVR with javascript. Now that everything works like expected from routing and js perspective, the next problem pops ups. Have a look at the graphs, they show system and yate monitoring for the last 7 Days. As you can see the overall load and the context switches all increase over time, also the total mutex used by yate increase pretty linear. The system has almost no load on it...for the last 7 days there was only about 300 calls to process. So I guess for every call my IVR is loaded but not onloaded correctly, so after 300 calls we have too many mutex open and the system load gets 100%

I'm not sure if my script is the problem or yate.. need some more testing?


 
Title: Re: Javascript High System Load
Post by: asymetrixs on September 24, 2013, 06:23:13 AM
One more question regarding this:
Is there a way to make sure that the script terminates correctly on chan.disconnect or any other event?
Title: Re: Javascript High System Load
Post by: babak on February 10, 2014, 03:03:53 PM
Hi,

we are currently testing IVR with javascript. Now that everything works like expected from routing and js perspective, ......

 

Hi
Would you please share your javascript IVR (or a sample) ?

Thanks