Cyber Week: a free onboarding call with every new server, until 7 December. See plans
VICIfast
ENES
Operations

Six connections per agent: how a small web worker pool freezes VICIdial screens

Each logged-in agent holds about 6 web workers. On one server, 8 agents filled a 48-worker pool and the agent page took 15.8 seconds to load.

VICIfast Support
··4 min read
Call-centre agent wearing a headset — illustration for: Six connections per agent: how a small web worker pool freezes VICIdial screens
Photo by Yan Krukau on Pexels

Eight agents log in, and the agent page takes 15.8 seconds to load. On the server where we measured that, the web server had run out of workers. It took only eight people to do it.

Why each agent ties up about six workers

The agent screen is a web page that asks the web server for news every second. On one floor, that polling made up 87.5% of all web requests. A browser keeps up to 6 connections open to each server, and a busy page like this one keeps them in use.

The web server (Apache, on the servers we run) gives each open connection a worker, one of a fixed number of slots it can serve at once. Keep-alive is how long it holds a quiet connection open, waiting for the next request. Because the screen asks again every second, its connections rarely sit idle long enough to close.

So we counted workers against logged-in agents. Each Agent session (an agent's logged-in stretch) held about 6, even with a 1-second keep-alive:

Agents logged inWeb workers busy
1589
23133
28165

How a small pool fills

Multiply six by your floor and a small cap runs out fast. With Ubuntu's stock 5-second keep-alive, 8 agents filled a server's 48 workers, and the agent page took 15.8 seconds to load. On another server, 16 agents on a 75-worker cap made new connections wait 6–22 seconds for a free slot.

The server hasn't failed. Every worker is busy holding a connection, and each new request waits behind them. From the floor, every screen looks frozen at once.

flowchart LR
  A[Agent screen asks every second] --> B[Up to 6 connections per browser]
  B --> C[Each open connection holds a worker]
  C --> D{Free worker left?}
  D -- yes --> E[Page answers in milliseconds]
  D -- no --> F[Request waits in the queue]
  F --> G[Screens freeze for everyone]
A full pool can pass for bad internet. If an agent's screen stops checking in for about 30 seconds, VICIdial pauses them with the LAGGED pause code and logs them out, and waits of 6–22 seconds aren't far off. Count busy web workers before you blame anyone's connection.

What fixed it

Two changes, and they're now on every server we build. Since September 2026 each one gets KeepAliveTimeout 1, so a quiet connection hands its worker back after one second rather than five. The same month we raised web worker caps across our servers to 40 per CPU core, so the pool grows with the machine instead of sitting at a small fixed number.

The cap does most of the work. Keep-alive alone doesn't shrink the count much, as the table above shows: about 6 workers per agent at 1 second. With both changes in place, the pages answered in 3–11 ms.

To check your own server, count logged-in agents at your busiest hour, multiply by six, and compare that with the web server's worker cap. If the two are close, the next few logins will queue. The Latency trend in the Agent Latency Report, which tracks agent-screen connection latency through the day, is worth a look at the same time. Make any web-server change after the shift, too: on one floor, an Apache reload mid-shift stalled the floor for about 20 seconds.

Other ways the same pool fills

A big enough pool can still fill from outside. On one office floor, connections the office router had most likely dropped without closing each held a worker for up to Apache's stock 300-second Timeout, until 1,255 of 1,280 were taken. That story is in screens freezing every ten minutes. On a floor with every agent behind one address, a longer keep-alive was the right call, and workers sat at about 5.7 per agent; see the keep-alive setting that failed 1 in 10 connections.

On a cluster, a database or Asterisk backlog freezes screens in a different way, covered in why agent screens freeze on a busy cluster. The browser phone isn't in this pool at all: the VICIfast webphone registers to the dialer over its own secure WebSocket on port 8089, so a frozen screen and a dropped Webphone can be separate faults. For how this fits with audio and LAGGED problems, see our end-to-end call-quality guide.

Frequently asked

› How many web workers does a VICIdial agent need?
On the servers we measured, about 6 per logged-in agent: 89 for 15 agents, 133 for 23 and 165 for 28, even with a 1-second keep-alive.
› Will a shorter keep-alive alone fix frozen screens?
Not if the cap is small. The screen polls every second, so each agent still holds about 6 workers. The cap has to fit the floor.

We size that pool when we build each server, so you don't find the cap at 8 agents. If screens still stall, support replies the same business day from a VICIdial engineer who'll count workers and connections with you. Pick a server plan.

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. “Six connections per agent: how a small web worker pool freezes VICIdial screens”. VICIfast LLC, December 1, 2026. Retrieved from https://vicifast.com/blog/vicidial-agent-screen-web-worker-pool

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.