Whether Plesk Migration Manager tool has any timeouts?

Refers to:

  • Plesk 12.0 for Windows
  • Plesk 12.0 for Linux

Created:

2016-11-16 13:23:10 UTC

Modified:

2016-12-21 20:36:01 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Whether Plesk Migration Manager tool has any timeouts?

Question

Whether Plesk Migration Manager tool has any timeouts?

During migration of data with different sizes the gap of 30 second is found:

http://kb.plesk.com/Attachments/kcs-51975/Elapsed_time.png

Answer

Plesk Migration Manager tool checks migration status every 30 seconds when running via CLI and every 5 seconds when migration is running via GUI.

To reduce such delay the mmigration.php script with open code can be used. Detailed instructions on using mmigration.php are described in KB article 113283 .

To set desired timeout edit strings 529/532 in mmigration.php :

...
527 if (!$isWindows) {
528 while (posix_kill($task_id, 0))
529 sleep(10);
530 } else {
531 while (stristr(`tasklist /FI "PID eq $task_id" /FO CSV /NH`, 'migration-handler'))
532 sleep(10);
533 }
...

Meanwhile during migration different processes which are involved can have timeouts according to their settings.

Have more questions? Submit a request
Please sign in to leave a comment.