Hi there,
I'm using DA for a project here, working with dev, staging and prod environments. As I have more than a hundred of domains, I created different features to pass my configurations and deploy them accross my different sites.
To keep things simple, I created a feature with domain names, one with domain aliases, etc...
Unfortunately using features and DA seems to be counter productive. I'm have huge difficulties reverting thoses features (and getting my feature in DB), the process never end and reach time out. The feature remains marked as "overrriden" and the new domains are not created. It might be a feature thing (7.x-2.0-beta1), but I doubt, it worked wonderfully until I start do things at a bigger scale with DA. No error are thrown in watchdog, execution time is reach each time, only few new domains are created.
Comments
Comment #1
agentrickardThis is not an actionable report.
Comment #2
agentrickardThis is, in fact, a Features problem and likely a memory limit issue. What do you expect us to do?
Comment #3
richsky commentedHi in fact, it seems to be a memory limit issue among other things, I'm investigating.
But starting from my dev site, and this has nothing to do with features, after creating more than 60 domains, it seems that my server cannot handle it. (it has become slow as hell). How many domains were you able to run within the same installation?
Comment #4
agentrickardI've had reports of up to 2000. I typically test with about a dozen.
Professionally, I have one site running about 60 with no trouble, but not using Features. If may be that you need one Feature per domain, which would be onerous, or maybe 10 domains per feature.
What's your memory limit set at?
Comment #5
agentrickardThis could also be a Features version problem. I see that exporting all domains doesn't work as expected in Features 2.x beta2.
Comment #6
agentrickardI just got a timeout trying to do a Features revert on 60 domains through the UI.
It did not timeout when run from Drush.
Not sure if there is anything we can do here. I would report this as a Features issue.
Comment #7
richsky commentedMy memory limit was set to 30 sec and I changed it up to 60 sec.
I will try again, thank you for your attention.
Edit: looking how things go with features (enabling, rebuild, cache), depending on the number of domains, it will likely never complete the process, keeping the feature at 10-12 domains to be safe for now.
Comment #8
agentrickardUsing drush removes that limitation, since the 60-second limit applies only to webserver requests, not command line PHP.
Comment #9
bluegeek9 commentedDrupal 7 in End of Life and no longer supported. We encourage you to upgrade to a supported version of Drupal. For more information, see https://www.drupal.org/upgrade.