• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Very slow migration

manos

Basic Pleskian
Server operating system version
ALMALINUX 8.6
Plesk version and microupdate number
19.0.44
Hello,

Used to migrate sites from server to server very fast, suddenly started to take hours between a pair of servers


Source server (development) :
64G RAM, 8 Core, 1 gigabit uplink
CENTOS 7.9 latest
Plesk 18.0.44 Update #2
No active sites there only development so always cpu usage is 1-2%


Destination server (production) :
64G RAM, 8 Core, 1 gigabit uplink
ALMALINUX 8.6 latest
Plesk 18.0.44 Update #2
cpu usage is 10-15%, no active backup task


Migration stalls for hours at

Fetch configuration data from Plesk servers​

Any idea?
 
An off-the-record idea to this: Try to create a full local backup on the source server, then analyze the backup runtime behavior using the free Plesk backup telemetrics extension. The process of migrating is very similar to the process of a full backup. When you have - for example - very many files, backing the up or migrating them can consume a lot of time. Some other factors might also come into play. One advantage of this test is that you will see whether transport or target server is the bottle neck or whether reading the source files is the bottle neck.
 
An off-the-record idea to this: Try to create a full local backup on the source server, then analyze the backup runtime behavior using the free Plesk backup telemetrics extension. The process of migrating is very similar to the process of a full backup. When you have - for example - very many files, backing the up or migrating them can consume a lot of time. Some other factors might also come into play. One advantage of this test is that you will see whether transport or target server is the bottle neck or whether reading the source files is the bottle neck.
Hi,

Thanks for reply

Backup is very fast
 
So it is either a network issue or a target server issue. I'd probably look into network packets next, if the connection is stable or if there are packet losses. You could do this by running these commands on BOTH of the machines vice versa to test against the other. There should not be any or only an insignifcant number of packet losses in both directions if the network connection is stable:

On the source server:
# /usr/sbin/mtr -s 1000 -r -c 1000 <ip of target server> > <name of log file, e.g. mtr_test.log>

At about the same time on the target server:
# /usr/sbin/mtr -s 1000 -r -c 1000 <ip of source server> > <name of log file, e.g. mtr_test.log>

This will run a while. Check the results to see if there are any significant number of packets lost or not.

If the test is bad, your data center needs to figure out why the routing between your servers does not work right. If the test is good, check if you have enabled software firewalls on source and target server. Disable them for a test and try the migration again.
 
So it is either a network issue or a target server issue. I'd probably look into network packets next, if the connection is stable or if there are packet losses. You could do this by running these commands on BOTH of the machines vice versa to test against the other. There should not be any or only an insignifcant number of packet losses in both directions if the network connection is stable:

On the source server:
# /usr/sbin/mtr -s 1000 -r -c 1000 <ip of target server> > <name of log file, e.g. mtr_test.log>

At about the same time on the target server:
# /usr/sbin/mtr -s 1000 -r -c 1000 <ip of source server> > <name of log file, e.g. mtr_test.log>

This will run a while. Check the results to see if there are any significant number of packets lost or not.

If the test is bad, your data center needs to figure out why the routing between your servers does not work right. If the test is good, check if you have enabled software firewalls on source and target server. Disable them for a test and try the migration again.
Thank you very much for useful replies, good to know how to check such things

Both servers are at with 1 gigabit uplink at same network so it was not the issue

Finally found that the erroneous service plans asssgnments were the cause
as i described here:

Issue - Wrong statistics at service plan

I had delete 6 subscriptions from plesk panel but strangely there were still references for these 6 at
Subscriptions and PlansSubscriptions tables.

Did a psa db backup and removed the 6 entries from both tables, tested with 2 migrations and were really fast.

Thanks again for your time
 
Back
Top