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

agentrickard’s picture

Category: bug » support

This is not an actionable report.

agentrickard’s picture

Status: Active » Postponed (maintainer needs more info)

This is, in fact, a Features problem and likely a memory limit issue. What do you expect us to do?

richsky’s picture

Hi 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?

agentrickard’s picture

Status: Postponed (maintainer needs more info) » Active

I'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?

agentrickard’s picture

This could also be a Features version problem. I see that exporting all domains doesn't work as expected in Features 2.x beta2.

agentrickard’s picture

I just got a timeout trying to do a Features revert on 60 domains through the UI.

# in /Applications/MAMP/htdocs/hampshire/includes/database/database.inc on line 2168
[11-Apr-2013 13:06:19 America/New_York] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /Applications/MAMP/htdocs/drupal-7/includes/database/database.inc on line 2168

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.

richsky’s picture

Status: Active » Postponed (maintainer needs more info)

My 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.

agentrickard’s picture

Status: Postponed (maintainer needs more info) » Active

Using drush removes that limitation, since the 60-second limit applies only to webserver requests, not command line PHP.

bluegeek9’s picture

Issue summary: View changes
Status: Active » Closed (outdated)
Issue tags: -, -

Drupal 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.

//www.flaticon.com/free-icons/thank-you Thank you for your contribution! Your continued support of this project makes other volunteer contributions more sustainable.
There are multiple ways to show appreciation for the work contributed to this project, including:
  • Triaging issues and adding more context to existing issues.
  • Writing documentation or patches for this project.