VICIfast
ENES
Guides & tutorials

Why agent screens freeze on a busy VICIdial cluster

When every agent screen stops at once, the dialers are rarely to blame. Here's where the screen's once-a-second requests wait on a cluster, and how to tell which machine froze them.

VICIfast Support
··3 min read
Call-centre agent wearing a headset — illustration for: Why agent screens freeze on a busy VICIdial cluster
Photo by Yan Krukau on Pexels

Every agent screen on the floor stops moving at once. Call timers freeze, statuses won't save, and a few seconds later everything jumps back to life. Your dialers' graphs say they were fine the whole time, and on a cluster that's often true.

The screen asks for news every second

The agent screen isn't a live feed. Each agent's browser asks the server what's new about once a second: is a call coming, has the customer hung up, did the Disposition save. On one floor we measured, that polling was 87.5% of all web requests the server answered.

In our cluster layout, every one of those requests lands on the same machine, the database and web server, because that's where agents' browsers load their screen. Each answer needs the database. Many also need the dialer's Asterisk, reached through its manager connection, the AMI (Asterisk Manager Interface). When either backs up, the requests queue, and a queued answer looks exactly like a frozen screen.

flowchart LR
  A[Agent browser] -->|asks every second| B[Web server]
  B --> C[(Database)]
  B --> D[Dialer manager interface]
  E[Report or lead search] -->|long read locks the table| C
  C -->|answer waits| B
  D -->|backed up| B
  B -->|late reply| F[Screen stops moving]

When the database answers late

VICIdial keeps call records in MyISAM tables, which lock the whole table while a read runs. One long read on the call log, and every screen request that needs that table waits behind it. On a 60-agent floor, one day-long count held up to 334 statements for as long as 4 seconds.

The reads that do this are ordinary: a report somebody opened, a stats tool, a lead search by phone number, a CRM asking about each agent in turn. Each is harmless at night and painful during a shift. How MyISAM locks work explains why one read stops so much, and reports and tools that slow a live floor lists the usual suspects.

When a dialer answers late

The manager interface is how VICIdial talks to Asterisk on each dialer: it starts calls, moves them and hears what happened to them. If it backs up, the requests that need that dialer queue too.

The difference is who feels it. A late database stalls everyone. A backed-up manager interface stalls the agents whose phones sit on that dialer, while agents on the other dialers carry on. The manager interface on Asterisk 21 and 22 has a problem of its own, too: while the old users.conf file is present, it leaks a subscription on every Dialplan reload, and after days of reloads that can trip Asterisk's overload protection.

Which machine froze the screens?

The pattern of who froze tells you where to look first:

  • Every agent, at the same moment: the database and web server. Look for a long read on the call tables at that minute.
  • Only the agents on one dialer: that dialer's manager interface or its Asterisk load.
  • One agent: their browser, network or laptop. Start with what to check when one screen freezes.
Don't let CPU graphs settle the argument. In a cluster, a database problem shows up as a symptom on a dialer while CPU and memory look fine, because a locked query is waiting, not working.

Keeping the screens moving

The screens will keep asking every second, so the work is making each answer quick. Keep heavy reads off the call tables during the shift, and keep those tables small with VICIdial's log archiving so every read finishes sooner. Every cluster we build also gets the phone-number index that VICIdial's call log was missing, so a lead search no longer reads the whole log.

On the clusters we run, the cluster page checks every server every 10 seconds and flags any agent screen that has stopped responding. When a shift goes wrong anyway, we can record the next one second by second, with database locks and each dialer's load, so the freeze gets a cause instead of a shrug. How a VICIdial cluster fits together shows where each of those machines sits.

If your floor still fits on one server, a single-server plan is the simpler place to start. If screens freeze on a cluster you've outgrown or inherited, book a sizing call and we'll find what's holding them.

About VICIfast

We run VICIdial servers for call centres, so you don’t have to. You get the dialer set up, secured and kept running — we handle the server, the updates and the backups. Bring your own phone carrier at no markup, or use VICIfast Voice, our own US calling and numbers, from $0.0085 a minute. From $49 a month per server.

Questions? Call +1 636 556 0022 and talk to someone who runs dialers.

Citing this article

VICIfast Engineering. “Why agent screens freeze on a busy VICIdial cluster”. VICIfast LLC, November 23, 2026. Retrieved from https://vicifast.com/blog/vicidial-agent-screens-freeze-on-a-cluster

Have questions?

Related posts

You might be interested in

Comments

Comments are reviewed before they appear. We never publish your email.

No comments yet - be the first.