• Resolved Paul

    (@paulgaudet)


    Hi, when running installer.php (with 250mb zip) on a linux shared web host (Rackspace CloudSites) I receive a 500 server error before getting to step 2. I think the problem is load balancer timeouts… the php max execution time is 30 seconds on my host; unfortunately they won’t allow me to change the value via .htaccess.

    “This happens because Cloud Sites has a 30 second limit on any process running in your browser. Anything that takes longer than 30 seconds will cause a timeout. The process will continue for up to 15 minutes in the background, however the site will display an error.”
    -Rackspace

    This explains why the site did install ‘seemingly’ okay… but the step two actions didn’t happen so url’s are not fixed etc…

    They do have a solution I wonder if you could take a look at and let me know if it’s possible to implement?

    Thanks!

    https://wordpress.org/plugins/duplicator/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Paul

    (@paulgaudet)

    Thread Starter Paul

    (@paulgaudet)

    Not sure if it’ll help but the log file, which i won’t post here, ends with …

    SECTION RUNTIME: 2.0547 sec.

    ********************************************************************************
    STEP1 COMPLETE @ 10:21:05 – TOTAL RUNTIME: 48.6096 sec.
    ********************************************************************************

    Thread Starter Paul

    (@paulgaudet)

    I found this post on the same topic…

    https://wordpress.org/support/topic/timout-error-on-cloud-servers

    I tried adding that code to keep the pipe open at line 555 of installer.php and got a 200 response which is good, but no Duplicator step 2…

    I tried installing a package saved with ‘Archive Flush’ enabled to no avail.

    Hey Paul,

    I have the link above book-marked to look into and try when I get some free time. The pro version allows for shell-exec and has a queue based package throttle built into it. That will probably handle this scenario. In the meantime if you want to use the free version you may have to create a directory filter to get under the hosts 30 second limitation.

    Hope that helps!

    Thread Starter Paul

    (@paulgaudet)

    Thanks Cory, I hate to say it but all-in-one duplicator worked on the first try.

    Paul

    Thanks for the info Paul…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Load Balancer Timeout on Rackspace CloudSites’ is closed to new replies.