Server slows to a crawl when copying accounts from remote server

cycas

Member
May 9, 2014
12
0
1
cPanel Access Level
Root Administrator
I'm migrating websites from an old cloud server account to a new one with a different host, using the built-in cpanel account migration.

The two servers connect with no problems, and the files do eventually move across, but the transfer speed is stuck at 0.1345 M/s so the transfer takes hours and hours - and more seriously, everything on the new server seems to slow to a complete crawl while the copy is happening. Fine again as soon as the copy is finished.

System information on new server says:
Server load 0.12 (1 CPU)
Memory Used 12.91% (512,992 of 3,974,524)
Swap Used 0% (0 of 6,291,448)

So it doesn't look like the slowdown is because server resources are anywhere near used up (the old server is performing fine)

I tried a Copy Multiple Accounts, but it took about 48 hours to complete, which is not much use when a couple of the sites are small forums and online shops so have posts and orders coming in. But even single account copies are taking a couple of hours per account, and I have 40 of them to move.

Should the rest of the server freeze up when copying is occurring? Any ideas why the transfer speed is so low?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Hello :)

Yes, as Vanessa mentioned, this is likely a network issue between the source/destination servers. You could try packaging an account on the source server, and then moving the archive to the destination server via SFTP or SCP to see if you notice any speed difference.

Thank you.
 

cycas

Member
May 9, 2014
12
0
1
cPanel Access Level
Root Administrator
Thanks! I've tried moving large files using SFTP, and that doesn't have the same effect. If I move a big file onto the new server using sFTP, then OK, the transfer is open for a while as the data moves across, as you'd expect but everything else on the server continues to respond as quickly as normal.

I can see that the network connection between Old Server and New Server might not be optimal, but I can't understand why New Server would suddenly start responding very slowly when doing something completely unrelated to the copy operation - eg, showing me a web page on another account, or displaying WHM pages.

Surely while the data is copying across, that should be happening in the background - the server isn't doing anything much with it, and should be able to carry on with normal operations at the same time?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Surely while the data is copying across, that should be happening in the background - the server isn't doing anything much with it, and should be able to carry on with normal operations at the same time?
You may want to review other load statistics such as disk I/O when you notice the slowness. The following thread offers some good advice on investigating the source of load/slowness issues:

Troubleshooting High Loads On Linux Systems

Thank you.
 

cycas

Member
May 9, 2014
12
0
1
cPanel Access Level
Root Administrator
So far as I can see, there is almost no load on New Server. It was showing this behaviour before any of the sites hosted on it had actually gone live, so it had generous amounts of disk space, memory, bandwidth, and almost nothing using it, apart from Cpanel doing a copy at a measily 0.1345 M/s and me, checking web pages and trying to view stuff in WHM.

Can I take it from that reply that WHM would not normally take 20+ seconds to render a page when there is one copy occurring, and no other load? My new host is saying the problem is network connection between old and new server, but I don't see how that would slow everything else the server is doing so acutely.
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
It's difficult to say for sure without access to the affected system. You are welcome to open a support ticket so we can take a closer look and rule out any problems with the cPanel/WHM software itself.

Thank you.
 

cycas

Member
May 9, 2014
12
0
1
cPanel Access Level
Root Administrator
Thank you so much to everyone who replied to this thread.

With the information you gave me, I had the confidence to go back to my new hosting provider about this.

They had originally told me that the slowness must be a network issue on the wider internet, but after chasing them up about it several times and refusing to take 'we can't see the problem' for an answer, it turned out that the port on the new server was stuck at 1Mbps. They were able to resolve this and the server is now performing very nicely.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
I am happy to see the issue has been resolved. Thank you for updating us with the outcome.