[Freeswitch-users] Anyone got experience with how limit scales with db back end?

Dave Horton daveh at beachdognet.com
Tue Nov 29 06:22:25 MSK 2011


I am using limit with db (sqlite) backend to limit all calls into my server.  I have 72 inbound channels on gateways sending to my freeswitch, which is running on a single processor dual core 3GHz server, with the sqlite call limits database on the local disk, and at times I am seeing a delay of up to 3 seconds between the arrival of an invite and FS sending a 180 Ringing from the ring ready application.  Other delays in signaling I also see intermittently.  The only real processing going on before the ring_ready application is executed is the limit application.  I see from the code there is a global mutex that looks like will result in all limit checks being single threaded through the code, and I am wondering if I am experience slight intermittent bottlenecks at peak call times.  I realize the hash backend is faster and I may switch to that (decision pre-dated my arrival), but I am wondering if anyone out there has any good data about how many cps the limit application with the db backend can scale to.  Obviously its dependent on hardware, but I'd still like to get any real world data (or suggestions) that are out there.


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list