randomly we get Playing 'conf-inv

Discussions about development of VICIDIAL and astGUIclient

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

randomly we get Playing 'conf-inv

Postby bobbymc » Mon May 13, 2013 3:51 pm

we got about 188 agents on a single registration server and about 5 call servers. im not sure if there is a limitation on how many meetme rooms can exsists at once but i think we might have hit it. anyone knows what i should look at possibly?
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am

Re: randomly we get Playing 'conf-inv

Postby bobbymc » Mon May 13, 2013 4:50 pm

when i ran meetme i see this output

* Total number of MeetMe users: 289


is it possible we are reaching a max amount of total users allowed in meetme?
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am

Re: randomly we get Playing 'conf-inv

Postby bobbymc » Mon May 13, 2013 4:56 pm

btw our cpu is at 5%.. this is a 24 core server with 32 gigs of ram
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am

Re: randomly we get Playing 'conf-inv

Postby mflorell » Tue May 14, 2013 5:22 am

yes, it's possible, but we've never had a client with more than 100 agents on a single server before. Meetme has "blocking" operations that even though they happen extremely fast, prevent other meetmes from starting those same operations when they are still running. Because of this, the more meetmes you have on a single server, the slower they will be to react to commands, especially for outbound campaigns where agents go through calls rapidly. This is one of the reasons we significantly shortened the enter/leave sounds several years ago.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: randomly we get Playing 'conf-inv

Postby bobbymc » Tue May 14, 2013 5:27 am

i know about the sound patch. did it make that much of a difference to replace the audio files with smaller audio?
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am

Re: randomly we get Playing 'conf-inv

Postby bobbymc » Tue May 14, 2013 5:58 am

how much performance increase did you guys get?
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am

Re: randomly we get Playing 'conf-inv

Postby mflorell » Wed May 15, 2013 5:47 am

We did that several years ago back when the dialers were single-core P4 servers. On servers with many agents it was a measurable improvement to replace the sound files, but I don't remember how much exactly.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: randomly we get Playing 'conf-inv

Postby mcargile » Wed Jun 12, 2013 10:14 am

When you try to take an action on any particular MeetMe conference, MeetMe locks the data structure that holds all of the conferences, searches through the list for that conference, takes the action on that conference, then unlocks the conference list. This is so that two different threads do not modify the same conference at the same time resulting in either a crash or a deadlock. There are two major things that contribute to the load.

The first is how quickly Asterisk can find the conference. Prior to Asterisk 1.6, Asterisk used Linked Lists (https://en.wikipedia.org/wiki/Linked_list) for all of its core data structures. As such MeetMe could potentially have to search through every single conference till it found the right one. In 1.6 they switched to Hash Tables (http://en.wikipedia.org/wiki/Hash_table) which are considerably faster, but take up more memory. As such this lock in Asterisk 1.8 should be considerably faster.

The second is how long the action takes to process. Most actions are very fast, however playing those sounds was not. If I recall correctly shortening those sounds to 1/4 their size caused a 10% reduction in load on the system Matt was discussing.

Ultimately if you have that many agents on a single server you should definitely try 1.8 if you are not already, and make sure it has the enter.h and leave.h files replaced with our versions. The version of 1.8 from our download site already has these applied.
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 617
Joined: Tue Jan 16, 2007 9:38 am

Re: randomly we get Playing 'conf-inv

Postby superman7 » Fri Jan 10, 2014 5:43 am

That several years ago back when the dialers were single-core P4 servers. On servers with many agents it was a measurable improvement to replace the sound files, but I don't remember how much exactly.
superman7
 
Posts: 1
Joined: Fri Jan 10, 2014 5:17 am


Return to Development

Who is online

Users browsing this forum: No registered users and 7 guests