Skip to content

Account density planning — how many cPanel accounts per box

How to think about the right number of accounts per cPanel host, what limits you actually hit first, and the signals that say "stop selling on this server".

“How many accounts can I put on this box” is the wrong question. The right question is which dimension saturates first: CPU, RAM, disk I/O, inode count, mail queue, license cost per account, or your support capacity. Each scales differently, and the one that bites first depends on your workload mix more than your hardware.

The trade-off

Stacking accounts on one host is cheaper per account up to a point. Beyond that point, you get noisy-neighbour pain, longer backup windows, and a single failure that affects more customers. Sub-saturating the box wastes money. Saturating it lights up support tickets at 9am.

How to decide — the seven limits

Walk the dimensions, find the lowest ceiling:

  1. CPU contention. LVE saturation on CloudLinux is the cleanest signal — lveinfo --period=1d --by-fault=cpu. If 5% of accounts are hitting CPU limits during peak, you’re at ceiling.
  2. RAM. Sum of LVE pmem limits should be roughly 1.5x available RAM (some over-commit is normal). When pmem faults rise sustained, ceiling.
  3. Disk I/O. iostat -x 5 showing %util above 80% sustained, or LVE I/O faults — ceiling.
  4. Inode count. ext4/XFS inodes are finite (set at filesystem creation on ext4). At 80% inode usage, ceiling — and you can’t increase ext4 inodes without reformatting.
  5. Mail queue. Exim queue sustained above 5,000 — usually means one account is sending bulk; can be tenant-specific, but at fleet level it’s a density signal.
  6. License cost per active account. cPanel licensing is per-account. Below ~20 active accounts on a server licensed for 100, you’re overpaying.
  7. Support load. If two more accounts on this server would push your tier-1 queue beyond what one human can clear in a shift, that’s your real ceiling regardless of hardware.

What to do

  1. Measure the ratios for one quarter. Pick the limit that bites at the lowest density.
  2. Set the “stop selling on this server” threshold at 80% of that limit. New accounts go to a different host.
  3. Track per-account average resource use by plan tier — busy WordPress accounts are 5-10x the load of mostly-static brochure sites.
  4. Run a quarterly density review. As accounts age, they tend to either grow (more traffic) or fossilize (cancelled but not deleted).
  5. Use LVE saturation signals as your primary capacity dashboard — they reflect real customer impact better than CPU/RAM averages.

Stack Harbor monitors density and rebalances fleets as part of cPanel/WHM management.