Case Study
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
Accounts transferred and restored, none failed
To transfer 178 GB, against a planned 2.5 to 4 hours
Sites answering the same as the old server before DNS moved
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.
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.
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.
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.
Move 99 cPanel accounts, 123 domains and 617 mailboxes from an ageing server onto CloudLinux before a fixed shutdown date.
Low TTLs a day ahead, one WHM transfer session, every site compared through the new server, then a single DNS switch.
99 of 99 accounts moved in 36 minutes. Three CloudLinux default limits caused errors and were raised the same night or the next.
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.
We plan the transfer, compare every site before DNS moves, and size the per-account limits from your real traffic, not the defaults.