cPanel Transfer Tool Hangs

The cPanel Transfer Tool is incredibly powerful, but at times and given the wrong servers/bandwidth, it might hang.

Use top to look for rsync processes. In the beginning you’ll see a lot, and later you’ll see nothing.

To troubleshoot the issue use the command line:

Start with this grep:

ps awuxff | grep trans

Next, pick the hung parent process and grep it:

ps awuxff | grep examplecocopya20250609153359bagY
root 2302770 0.0 0.1 283272 35100 ? S Jun09 0:26 transfer_session - examplecocopya20250609153359bagY - MASTER
root 2302788 0.0 0.5 494144 188848 ? Sl Jun09 0:05 \_ transfer_session - examplecocopya20250609153359bagY - RESTORE:2
root 2302789 0.0 0.5 489724 184984 ? Sl Jun09 0:05 \_ transfer_session - examplecococopya20250609153359bagY - RESTORE:3
root 2302790 0.0 0.5 489244 184148 ? Sl Jun09 0:08 \_ transfer_session - examplecocopya20250609153359bagY - RESTORE:4
...

You’ll see a bunch of hung processes attached to a parent.  Next, start strace the processes one by one. Yes, you heard that right, the whole lot. Some numbers are sequential so you’ll be okay:

timeout 2m strace -p 2502332
...
timeout 2m strace -p 2302770

You’ll probably find this kind of crap:

newfstatat(AT_FDCWD, "/var/cpanel/transfer_sessions/examplecocopycopya20250609153359bagY/.abort", 0x14844732cec0, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/var/cpanel/transfer_sessions/examplecocopycopya20250609153359bagY/.pause", 0x14844732cec0, 0) = -1 ENOENT (No such file or directory)
wait4(-1, 0x7fff7b5ed0e4, WNOHANG, NULL) = 0

Next, I suggest you actually get cPanel to look at is. They have brilliant engineers. They might bombard you with backup and restore boilerplate but perhaps check -maybe the transfers actually worked.

 

Share this article

Leave a Reply

Your email address will not be published. Required fields are marked *