Author Topic: Javascript High System Load  (Read 16148 times)

vankooch

  • Administrator
  • Newbie
  • *****
  • Posts: 49
    • View Profile
Javascript High System Load
« 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?


 

asymetrixs

  • Administrator
  • Newbie
  • *****
  • Posts: 47
    • View Profile
Re: Javascript High System Load
« Reply #1 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?

babak

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Javascript High System Load
« Reply #2 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
« Last Edit: February 10, 2014, 03:05:54 PM by babak »