Support » Plugin: Migration, Backup, Staging - WPvivid » staging: task not responding and will time out in 313s

  • Resolved kellybakri

    (@kellybakri)


    Hello,

    I am using wpvivid for create a dev and uat sites. i tried to create teh first dev sites but facing this error: staging: task not responding and will time out in 313s. How can i proceed?

    Thank you,
    Kelly

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter kellybakri

    (@kellybakri)

    details:

    Log created: 2022-08-22 20:15:41
    Type: staging
    [2022-08-22 20:15:41][notice]Start creating staging site.
    [2022-08-22 20:15:41][notice]server info fcgi:Off max execution time: 900 wp version:6.0.1 php version:8.0.22 db version:10.6.8 php ini:safe_mode: memory_limit:256M memory_get_usage:42.46 MB memory_get_peak_usage:48.40 MB extensions:PDO enabled curl enabled zlib enabled is_multisite:0
    [2022-08-22 20:15:41][notice]Start processing core.
    [2022-08-22 20:15:41][notice]Prepare to copy core files.
    [2022-08-22 20:15:41][notice]Retrieve the files required to copy.
    [2022-08-22 20:15:41][notice]Create a cache file.
    [2022-08-22 20:15:41][notice]Copying files starts from: 0
    [2022-08-22 20:15:41][notice]Copying files from /var/www/html to /var/www/html/wip
    [2022-08-22 20:15:41][notice]The count of copied files: 1000
    [2022-08-22 20:15:41][notice]The next copying files starts from:1000
    [2022-08-22 20:15:42][notice]The count of copied files: 1000
    [2022-08-22 20:15:42][notice]The next copying files starts from:2000
    [2022-08-22 20:15:42][notice]Copying core files is completed.
    [2022-08-22 20:15:42][notice]Replacing table_prefix in wp-config.php is completed.
    [2022-08-22 20:18:44][notice]Task is not responding and will time out in 717
    [2022-08-22 20:21:48][notice]Task is not responding and will time out in 533
    [2022-08-22 20:24:58][notice]Task is not responding and will time out in 343
    Plugin Support tonyrobins

    (@tonyrobins)

    Hi Kelly @kellybakri

    In your new thread seems that you have successfully created a staging site. How did you do that?

    The timeout issue is usually caused by the hosting server’s php time limit, so we’d recommend to adjust the following WPvivid Staging settings to increase the task success rate:

    1. Set ‘DB Copy Count’ to 5000,
    2. Set ‘DB Replace Count’ to 1000.
    3. Set ‘Staging Memory Limit’ to 512 MB

    All the best,

    Thread Starter kellybakri

    (@kellybakri)

    Hi tony,

    i had them on 10K, 10K and 512mb respectively. but had similar settings on other plugins i am testing as well. only faced this error with WPVivid. Wouldn’t this make the process very slow? Other plugins take ~ 5 mints and they estimate total size around 2GB. I am not sure how. It sounds low especially when the wp-content alone is 2.1GB.
    I do not know how big the db is.

    I am sorry i do not understand your question above.

    Best regards,
    Kelly

    Plugin Support tonyrobins

    (@tonyrobins)

    Hi Kelly @kellybakri

    Different plugins work in different ways. Yes, the values I suggested can slow down the creation process but can increase the success rate. So, these values are recommended in a timeout situation like yours.

    I am sorry i do not understand your question above.

    Because in your new thread, seemed that you had successfully created a staging site with WPvivid. So, I was actually asking how you did that.

    All the best,

    Thread Starter kellybakri

    (@kellybakri)

    Hi Tony,

    Ok. I will follow your instructions.

    As for success, i sent you the countdown but it eventually created the site. i actually left it to it and came back to find it complete. I was not there to see what happened.

    I will keep testing to see how well it is running

    Best regards,
    Kelly

    Plugin Support nicholas2019

    (@nicholas2019)

    Hello Kelly @kellybakri ,

    Please let us know whether the staging site is created successfully or not after the progress is done.

    BTW, it is recommended to set up PHP Script Execution Timeout to 300 seconds in staging settings.

    Kind regards,

    Thread Starter kellybakri

    (@kellybakri)

    Hi Nicholas,

    The staging site was created, and I will keep testing.

    How do i know “PHP Script Execution Timeout” for staging? and how to set it differently?

    Thanks,
    Kelly

    Plugin Support tonyrobins

    (@tonyrobins)

    Hi Kelly @kellybakri

    You can check the log of ‘creating a staging site’, and see how long does it take for the first timeout error to appear.

    From the log you posted, the task timed out in 3 minutes, which suggests your server’s PHP time limit should be 3 minutes(180s), then if you set ‘PHP Script Execution Timeout’ on WPvivid staging settings to 300s, the task will be retried after 300s(very soon after it times out) rather than the default 900s.

    All the best,

    Plugin Support tonyrobins

    (@tonyrobins)

    Hi there,

    Since we haven’t heard from you for a while, I am going to mark the thread as resolved.

    Please feel free to let us know if you need any further assistance.

    All the best,

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘staging: task not responding and will time out in 313s’ is closed to new replies.