modxbot / migrate

A testground for migrating issues and other such fun
0 stars 0 forks source link

Setup / upgrade timing out on Rackspace Cloud Sites #9085

Open modxbot opened 12 years ago

modxbot commented 12 years ago

himmdesign created Redmine issue ID 9085

Most of us on RSC and MODx users have felt this at one point or another, it could also help with other cloud based hosts.

Hi Shawn,

Essentially this is a timeout at the load balancer. This occurs when a script, database query or external call takes longer than 30 seconds to execute. After 30 seconds the timeout message is displayed, however the script will continue to run in the background. This may have been working properly in the past, however an update or change to the software could be just barely pushing it over the 30 second mark now. This timeout would not be something we could alter within our environment as it helps maintain integrity.

A way to get around this would be to respond back to the client browser within your script using something such as a status bar. This way the load balancer sees that the connection is active and never gets closed. Using something such as the following link may solve this issue, however I do realize that MODX was not developed by you, so most likely you wouldn't want to go mucking around in their code:

http://www.cloudsitesrock.com/?ac=post&id=9&uid=1&p=4&cat=0&m=0&y=0

pyrographics commented 11 years ago

pyrographics submitted:

I second this, if installation/updates could be setup to send data back to the browser so load balancers do not time out it will greatly improve the installation/update experience.