How Many Agents Can One Vicidial Server Handle?
There's no fixed number of agents per Vicidial server. The figure you'll see most often on the Vicidial community forum is about 25 agents per server, and a longtime admin there calls it a rule of thumb, not a rule. What one server can really carry depends on calls, not logins: your dial level, whether you record every call, codec transcoding, CPU, RAM and disk I/O, and how hard the MySQL database is working. Turn on the Server Performance Report, compare load against your core count at peak, and split into a cluster (database, web and telephony servers) before you run out of headroom.
Why Agent Count Is the Wrong Unit
An inbound agent handles one call at a time. A predictive agent can keep several lines ringing at once. Vicidial's own load-balancing notes use a simple example: 20 agents on a campaign with a dial level of 3.0 means 60 calls being placed at the same time. Every one of those calls is at least one Asterisk channel, and a bridged call uses two.
So the real question is how many concurrent calls, recordings and database writes the box can handle. Our guide to Vicidial dial method and dial level settings shows how pacing turns into line count, and the CPS and channel calculator estimates channels.
The Factors That Decide Capacity
Dial Level and Dial Method
RATIO and ADAPT dialing at a high dial level multiply the calls per agent, while manual and preview dialing barely load the server. Moving from preview to predictive on the same hardware can make load jump without adding one agent.
Call Recording
Recording every call means Asterisk writes audio to disk for each live call. Then the recording cron jobs (AST_CRON_audio_1_move_mix.pl, then AST_CRON_audio_2_compress.pl if you compress to MP3 or GSM) move and convert those files. Compression is CPU work. Watch Disk Usage on the server record and move older recordings to an archive server with AST_CRON_audio_3_ftp.pl.
Codecs and Transcoding
If your trunk, your agents' phones and your recordings all use G.711 ulaw, Asterisk mostly passes audio through. If the trunk sends G.729 and agents use ulaw, Asterisk has to transcode every call, and that costs CPU on every channel. Keep one codec end to end where you can.
CPU, RAM and Disk I/O
Asterisk needs steady CPU time to mix conference audio, which is why an overloaded dialer sounds choppy before it fails. RAM matters most on the database server. Disk I/O is the quiet one: recordings and MySQL writes compete for the same disk.
Database Load
Every agent screen checks in with the server about once a second by default (the agent interface's refresh interval is 1000 ms). Every dial attempt, disposition and log entry also hits MySQL. Large vicidial_list, vicidial_log and call_log tables make each query slower. Vicidial ships ADMIN_archive_log_tables.pl and AST_DB_optimize.pl for this, and they only need to run on one server.
Answering Machine Detection, Reports and Transfers
Answering machine detection analyzes audio on answered calls, so it adds CPU per call (see our Vicidial AMD settings guide for the trade-offs). Heavy reports, three-way calls and closer transfers add load too. A Vicidial forum veteran put it plainly: agent count is "absolutely NOT the only major metric."
Where the "25 Agents per Server" Rule of Thumb Comes From
The 25-agent figure is community guidance, not a benchmark and not our number. It's a starting point that comes up in community forum threads when someone plans how many servers to buy. The same forum advice adds the caveats: you may get more or fewer depending on usage and server power, the Vicidial Manager's Manual has basic server-count suggestions by agent count, and calls dialed per agent, recording and reporting change the answer. Treat 25 as a starting point for your own test, never a promise.
How to Measure What Your Server Can Take
Turn On System Performance First
In the admin, go to Admin → Servers, open the server and set System Performance to Y. Vicidial then logs load, CPU, processes and Asterisk channels, and the Server Performance Report (under Reports) shows calls handled, average and peak channels, average and peak load, and USER, SYSTEM and IDLE CPU for any time range. It only has data from the moment you switch it on. The server record itself also shows System Load, Live Channels and Disk Usage right now.
Read Load Against Core Count
On the server, uptime and top show the load average. A peak load that stays well under your CPU core count means you have room. A load that sits at or above it every afternoon is your ceiling. If load climbs while channels stay flat, look for a stuck process. If load is high but CPU is mostly idle, check disk with iostat -x and look at await and %util.
Watch Asterisk and MySQL
In the Asterisk CLI, core show channels gives active channels and calls, so you can compare it with Live Channels. Warnings like "task processor queue reached 500 scheduled tasks" in the Asterisk log mean Asterisk is falling behind. On the database, turn on the MySQL slow query log (slow_query_log and long_query_time) and run SHOW FULL PROCESSLIST at peak. Many threads stuck on "Waiting for table level lock", or "Too many connections" errors, mean the database is your bottleneck, not Asterisk.
Signs a Server Is Overloaded
- Choppy or robotic audio for agents and customers at busy times, while the same calls sound clean early in the day.
- The agent screen lags, buttons hang, or agents wait while calls drop.
- The Real-Time Report refreshes slowly and dial levels swing.
- Calls stop at the Max VICIDIAL Trunks limit set on the server.
- Recording files arrive late or the disk fills.
Some of these look like carrier trouble. Rule them out with our one-way audio fix guide and our guide to Vicidial failed calls and SIP codes.
When to Split Into a Cluster
Split when peak load keeps hitting your ceiling, MySQL waits show up mid-shift, or one failed server would stop your whole floor.
The Usual Role Split
A typical Vicidial cluster has one live database server, one or more web servers for the agent and admin screens, and several telephony (dialer) servers running Asterisk. Many admins add a replication database for reports so heavy reporting doesn't touch production, and an archive server for recordings. Plan for two of every role you can, so one dead disk slows you down instead of stopping you. Keep servers on the same private network, because calls move between them and every hop adds lag.
Settings That Change in a Multi-Server Setup
- In
/etc/astguiclient.conf,VARactive_keepalivesshould include 5 (AST_VDadapt), 7 (AST_VDauto_dial_FILL) and E on only one server. - VICIDIAL Balance Dialing on the server record lets a server with free trunks dial for another server.
- Active Asterisk Server and Active Agent Server decide which servers dial and which take agent logins.
- Max VICIDIAL Trunks caps calls per server, so set it from what the box handled in your own tests.
Cloud VMs or Dedicated Hardware?
A common forum question is whether a 50-agent outbound floor can run on cloud VMs. Experienced admins on the Vicidial forum often recommend dedicated hardware, because conference audio depends on steady timing and shared virtual CPUs can stall it. If you do use VMs, choose dedicated CPU over burstable plans, keep every server in one location, and load-test with real dialing before go-live. Our comparison of hosted Vicidial vs self-hosting covers the rest of the trade-off.
Common Sizing Mistakes
- Sizing by seats and ignoring dial level, recording and AMD.
- Turning on System Performance only after the problem.
- Never archiving log tables, so the database slows a little every month.
- Adding dialer servers when the bottleneck is MySQL.
- Raising dial levels to "use the capacity" and pushing abandons up.
Calling Rules Still Apply (General Info, Not Legal Advice)
More capacity makes it easier to dial faster, but the rules stay the same. The TCPA and the Telemarketing Sales Rule apply however many servers you run. Scrub against the National Do Not Call Registry and your internal do-not-call list. Get prior express written consent before autodialed or prerecorded marketing calls to cell phones. Keep abandoned calls within the Telemarketing Sales Rule's 3% safe harbor, measured per campaign over 30 days. Call only between 8am and 9pm in the called person's local time, honor opt-outs quickly, and only use caller IDs you own or are authorized to use. Busy floors also attract spam labels, so read how STIR/SHAKEN and spam labels work. State rules can be stricter. This isn't legal advice, so talk to your counsel.
Vicidial Server Sizing FAQ
Is 25 agents per Vicidial server a hard limit?
No. It's a community rule of thumb, not a tested limit. Depending on dial level, recording, codecs and hardware, your server may handle more or fewer. Measure with the Server Performance Report.
Can I run Vicidial on cloud VMs?
It can work, but experienced Vicidial admins often recommend dedicated hardware because conference audio needs steady timing. If you use VMs, pick dedicated CPU, keep servers in one location and load-test before go-live.
When should I move the Vicidial database to its own server?
When MySQL becomes the bottleneck: slow queries, threads waiting on table locks or "Too many connections" errors at peak, or high load on the all-in-one box. The database is usually the first role to split out.
Does call recording reduce how many agents a server can handle?
Yes. Recording adds disk writes during the call and CPU work when files are compressed. Move older recordings to an archive server and watch Disk Usage.
Helpful tools: check your outbound caller IDs with our free spam number checker, estimate monthly US minutes with our VoIP cost calculator, and size lines with the CPS and channel calculator.
Skip the Server Sizing With the King
Our managed hosted Vicidial dialer is built and managed by our team, with monitoring of your system and our SIP trunks already connected. It runs over Tier-1 US routes with 99.99% uptime, with US DIDs and STIR/SHAKEN-ready caller ID that helps authenticate your calls. Our support team is here Monday to Friday, 9am ET to 9pm PT. Tell us your seat count, dial methods and recording needs and request a quote. Quotes usually come back the same day.
