Case Study

99 cPanel accounts moved to CloudLinux in 36 minutes, and the default limits that bit afterwards

A cPanel server with 99 hosting accounts, 123 domains and 617 mailboxes had to move to a new CloudLinux server before the old one was switched off. The transfer itself took 36 minutes and every account arrived. The harder part came after: CloudLinux puts each account inside its own resource limits, and three of those limits caused problems the old server never had.

November 2026  ·  6 min read

SECTOR

Business hosting 99 client accounts on one cPanel server

SCALE

99 accounts, 123 domains, 617 mailboxes, 126 databases, 178 GB

PLATFORM

CloudLinux OS on AlmaLinux 10, cPanel/WHM, CageFS, MariaDB 10.11

ENGAGEMENT

Server migration onto CloudLinux

99 / 99

Accounts transferred and restored, none failed

36 min

To transfer 178 GB, against a planned 2.5 to 4 hours

123 / 123

Sites answering the same as the old server before DNS moved

Environment

The migration night: what went to plan, and the three CloudLinux limits that did notTop row, to plan: DNS TTLs lowered to 300 seconds a day ahead, 99 accounts transferred in 36 minutes, every site compared through the new server, then DNS switched at 23:59. Bottom row, the limits: a CageFS remount at 23:07 broke the per-account limits and every site on the new server returned 508 until a reboot at 23:20, before DNS moved; at 01:45 the default entry-process limit of 20 returned 186 errors until it was raised at 02:02; the next evening a shop's PHP workers stalled in the 1 MB/s IO limit until it was raised to 10 MB/s.The transfer went to plan. The per-account limits needed the rest of the night.TO PLANTTL to 300 s124 zones, a day aheadTransfer99 accounts, 36 minCompare sites123 OK, 0 differentDNS switch23:59, 123 zonesTHE LIMITSCageFS remount508 on all, pre-DNSReboot 23:20limits clean againEntry processes20 → 100 at 02:02IO limit1 → 10 MB/s, a shopEach limit was a CloudLinux default. The old server had none of them, so nothing in its history warned us.

Scroll the diagram sideways to see all of it →

Times are the night of 7 to 8 November, apart from the IO limit, which showed up the following evening.

The brief

One busy server, one fixed end date. The old server ran 99 cPanel accounts with 123 domains, 617 mailboxes, 126 databases and nearly 1.7 million mail files. It had no swap, its disk was 78% full and it had a termination date. The new home was a CloudLinux server with twice the CPU and more than twice the memory. On CloudLinux, every account runs inside its own limits for CPU, IO and processes, and CageFS gives each one a private view of the filesystem, so one busy or compromised site cannot take the rest down with it.

The method

Prepare the day before, move everything in one pass. A day ahead we lowered the DNS TTL to 300 seconds on all 124 zones, 2,932 records in all, so the switch would spread within minutes. On the night, after a pre-flight check, the WHM Transfer Tool moved all 99 accounts in one session with three transfer and three restore threads at low priority. It took 36 minutes 20 seconds for 178 GB, against a plan of 2.5 to 4 hours, and all 99 restored. Database and table counts matched the old server exactly. Then we requested every site through the new server with curl --resolve and compared it with the old one. The first run found 15 differences: 9 from Apache restarting during restores, 4 sites showing a directory listing where the old server returned 403, and 2 small size differences we checked and accepted. The listings were fixed, and the run before the DNS switch came back 123 OK, 0 different.

Every limit that hurt us was a CloudLinux default. The old server had no limits, so its history could not warn us.

Where the limits bit

Three limits, three different symptoms. CageFS remount, 23:07. Adding a PHP session folder to CageFS and running cagefsctl --remount-all left the kernel unable to create the per-account containers (LVE: init_lve ... err -17), and every site on the new server returned 508. DNS still pointed at the old server, so visitors were not sent there. A reboot at 23:20 cleared it, with 0 LVE errors afterwards and the full site comparison back at 123 OK. Entry processes, 01:45. Two hours after the switch, accounts started hitting the default limit of 20 concurrent PHP entry processes, and the access log recorded 186 requests answered with 508 in 17 minutes. At 02:02 we raised it to 100, and the process limit to 200. IO throttle, the next evening. One shop behind Cloudflare returned 524 errors for about 20 minutes. All five of its PHP workers were stuck for up to 17 minutes inside the 1 MB/s IO limit, rewriting a cache file that ended up full of empty bytes. We raised the IO limit to 10 MB/s, cleared the stuck workers and restored the file from the old server’s copy. The shop answered in 0.23 to 0.38 seconds again.

At a glance

Challenge

Move 99 cPanel accounts, 123 domains and 617 mailboxes from an ageing server onto CloudLinux before a fixed shutdown date.

Approach

Low TTLs a day ahead, one WHM transfer session, every site compared through the new server, then a single DNS switch.

Result

99 of 99 accounts moved in 36 minutes. Three CloudLinux default limits caused errors and were raised the same night or the next.

After the switch

  1. DNS: 123 zones switched at 23:59, and public resolvers returned the new address by 00:06
  2. Online shop: once the customer had moved its nameservers, one shop was put in maintenance mode for a final file sync and database copy, which took 7 minutes
  3. Database check: two days later we compared 40 data tables on both servers. Most differences were counters. The rest were real changes, such as five products sold out and a new form entry, and in every case we traced, the new server held the correct version, so nothing was copied back
  4. Late mail: 37 messages that reached the old server after the switch were copied into the new mailboxes
  5. Old jobs off: scheduled tasks on the old server were disabled so nothing ran twice

Outcome

A fast transfer, and a lesson about defaults. All 99 accounts run on the new server, and each now has its own limits. The CageFS outage stayed off the public internet because DNS had not moved yet. The entry-process and IO errors did reach real visitors, and those are the ones worth learning from. Every limit involved was a CloudLinux default, sized for many small sites. An old server with no limits gives you no warning, because nothing there was ever throttled. The lesson: set entry-process and IO limits from the old server’s real concurrency before DNS moves, and plan a reboot window for any CageFS mount change. One limit is worth stating. The shop’s cache file is rewritten without a lock, so the race that corrupted it can happen again; the higher IO limit removed the stall we saw, not the race in the code.

More case studies

Let's Encrypt Timed Out on a Healthy Server

0 vs 12 packets reaching port 80 vs 443

cPanel Ubuntu Upgrade Stuck Half-Way

5,141 / 5,141 database tables before and after

OpenCart Store Off Failing Hardware

17 / 17 row checks matching at the switch

Moving a cPanel server, or onto CloudLinux?

We plan the transfer, compare every site before DNS moves, and size the per-account limits from your real traffic, not the defaults.