Mercury

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.

Mercury is an open-source effort to create reusable, common, stable, kickass stacks for running Drupal. It began as an effort targeted to Amazon EC2, but really wants to have its stacks run anywhere/everywhere Drupal is found.

The current best place to get code from is this GitHub repository:

https://github.com/boztek/mercury

The ideas here have also spawned Pantheon Systems, which provides commercial service, but this group is about free and open-source DIY server configuration for Drupal.

mpaler's picture

Very high apache process memory...

I'm having some performance issues with our site.

TOP on my production server is showing the following for APACHE:

  PID   USER        PR  NI  VIRT  RES   SHR S  %CPU %MEM    TIME+  COMMAND                                                             
21333 www-data  19   0  345m  83m  28m R   99       4.8      0:05.07 apache2                                                             
1235 mysql        18   0  159m  44m  3876 S    1       2.5    167:32.39 mysqld                                                              
Read more
SeanBannister's picture

Amazons new Micro Instances ($0.02 per hour) require EBS boot

This is pretty exciting Amazon has announced a Micro Instance for only $0.02 an hour with 613mb RAM and up to 2 EC2 Compute Units. I know a lot of people were using other cloud computing providers due to the lower price point so this potentially opens Amazon up to a much larger market.

Only problem is I just tried to launch a Pantheon instance on it and realised the new instance size requires an EBS Bootable instance.

Read more
Anonymous's picture

Varnish 503 Error for some urls on authenticated users

I'm running varnish as a reverse proxy server in front of apache on drupal/pressflow. varnish is on port 80, apache on port 8080

for anonymous users there is no errors

for authenticated users
- when i go to some urls like : http://www.site.com/news/104/page/2/thread , http://www.site.com/news/104/reply, it gives Status: 503
Response: Service Unavailable
- but when i go to http://www.site.com:8080/news/104/page/2/thread, http://www.site.com:8080/news/104/reply , it gives no error, everything is ok

Read more
mpaler's picture

Varnish Headers

I'm seeing a behavior where varnished pages stay cached for only 10 minutes. Examining my headers, I guess I'm confused about what I should be seeing. Below is an example of the response & request headers for a Pantheon page served up to an anonymous user.

Cache-Control:public, max-age=600
Is this the culprit? Does this seem too short? The varnished page "Age" will go up to 600 and then reset to 0. Before reset the page loads quickly on different browsers, but when it resets, it needs to load the whole page again. Something doesn't seem right there.

Read more
acrollet's picture

Graphing?

Hello all,

I was wondering what the current status of graphing/monitoring utilities & pantheon is - I've done a bit of searching, and all I've found is a mention by Greg Coit in June that munin was probably going to be chosen. I'm quite familiar with munin, and have started to wrap my head around bcfg2. (we mostly use puppet at our org) So, I'd like to contribute, but wanted to make sure I wasn't going to be duplicating any work that's already been done. We're looking to deploy a large multisite on pantheon where I work in the next year, and good monitoring will be essential...

Read more
ClickInfluence's picture

Has Any Load Testing Been Done on Pantheon?

Hi all, I'm sure there must have been some tests run on Pantheon, but I can't find any documentation of such anywhere.

Specifically I'm interested to learn how many logged in users (doing regular stuff like browse the site, post a question, look at a profile etc) could pantheon running on an EC2 server created from the AMI handle?

At what level of logged in users might we expect Pantheon to start having trouble?

Read more
ClickInfluence's picture

Varnish "Page Could Not Be Loaded" After Reboot?

Hi everyone,

I had everything running nicely on AWS with 1.1 beta image but after upgrading all the modules (including varnish) and rebooting the instance all I get is a generic Varnish page with the above message.

Debug Info:

Status: 500
Response: Internal Server Error
XID: 1374990625

Can anyone point me in the right direction here?

Many thanks,

Read more
gibbet's picture

Varnish help

Anyone know how to find the cookie names that can be used in a varnish vcl? My varnish isn't caching anything, i suspect cookies from adsense/fb scripts... been using mozilla's 'live http headers' and firebug but no combinations or patterns of cookie names i use seem to work!

Read more
Greg Coit's picture

Drupal Settings and Module Configuration for PANTHEON

Even though the PANTHEON server "stack" is already tuned to run Drupal as fast as possible, if your application doesn't know how to take advantage of the environment you won't see the breakthrough performance. This page describes the few key steps you need to take to insure that your Drupal application is ready to blaze.

Read more
Greg Coit's picture

Deploying From Version Control Within PANTHEON

Congratulations! If you're reading this, you're doing things correctly. In the modern era of the web, we don't want to be making edits directly on a live site. It's just too risky, and it starts getting really tricky when you're working with a team. Deploying from version control solves these problems.

If you already have your own system or method of deploying a whole Drupal installation, feel free to take over all of /var/www on your PANTHEON server. You should base your application on Pressflow and include the ApacheSolr, Varnish and Memcached modules as well as the necessary settings.php configuration to utilize these features. For more on this, see the settings and module configuration page.

However, if you don't have an existing deployment system, but you do keep your code in version control (e.g. SVN) you can easily integrate with the provided Pressflow installation — which is itself checked out from Launchpad for easy updating — by following these instructions:

Read more
Greg Coit's picture

Migrating Your Existing Site to PANTHEON

So long as you are following best practices, migrating an existing Drupal site onto PANTHEON is not very difficult. This page will walk you through the steps you need to take to deploy an existing site onto the base installation. If you are interested in deploying from version control, please see deploying from VCS with PANTHEON.

Read more
chules's picture

Rackspace Cloud installation of Mercury 1.1 on Ubuntu Lucid Database Question

I am planning to use Mercury for a new architecture installation on Rackspace Cloud. We are planning to move an existing site over. I reviewed the instructions at http://groups.drupal.org/node/70268 but wanted some feedback on how others are planning their database. Is everything running on 1 large server, Apache, Mercury, MySQL, etc or is it better to run a separate database with a 2 server configuration. The site get's about 125,000 page views per month so it's still rather small.

Thank you

Chules

Read more
mpaler's picture

APC Fragmentation?

Hi,

Posting this here (rather than general performance group) because I know Mercury and APC are tightly integrated (though I'm still figuring out how).

I have a stock Mercury AWS install that's been running in production for several months. Nice.

Authenticated performance has been degrading, so I figured I'd take a look at the APC diagnostics screen (apc.php). God I wish there was a manual for dummies on this screen. Anyhow, I'm seeing some things that definitely don't look kosher and I'm hoping some of the Mercury Astronauts can help a poor man stuck back on earth.

Read more
MacRonin's picture

(Q)Installing Aegir 0.4 alpha 9 (soon to be alpha 10) over Mercury/Pantheon(1.1 beta) at Linode on Ubuntu 10.04(Lucid)

Hello all,

First thank you for all the work that has been put into Aegir and Mercury/Pantheon. I've been keeping an eye on both for a while and am ready to jump in. While my needs aren't heavy ... yet. A current project has the potential to need the power and scalability of Mercury/Pantheon and I want Aegir to make life simpler for implementing new sites and creating test development environments. So with that in mind I am creating a new server at Linode and will be migrating my sites(mostly D6 with one D5) from my old standard server.

Since I am converting from a box that wasn't using Apache/Solr, had no reverse proxy(Varnish) or caching such as APC/memcached in place I don't have to have those options fully in place on day one. I can activate those as I get a handle on their unique twists due to multi-site on Mercury/Pantheon. But I do want to lay the groundwork and get as much in place up front as I can.

I have been reading everything I can find(I'll include some of the links at the end of this post), which has answered many of my questions. But has also lead to a few more detailed new ones.

Read more
Cayenne's picture

Fantastic Success with Yacht Race

The Pacific Cup is a yacht race from San Francisco to Hawaii, run every other July. What this means is that the site is pretty quiet for 23 months and then goes crazy with spectators (90k hits per day) for a month.

In 2008, our Drupal site overwhelmed the mySQL server on the dedicated host and brought the site to a crashing close. Since the Drupal-friendly webmaster was 1000 miles offshore at the time, the traditional co-webmaster quickly replaced the site with a static version, per agreed plan, and all was well.

Read more
dmartens's picture

Aegir integration with Pantheon/Mercury

Thanks to the developers of these capabilities for all the wonderful work they've been doing.

As someone who is currently experimenting with Pantheon/Mercury, and who also has an interest in Aegir, I wonder whether the rumor I read about a forthcoming version of P/M with Aegir integrated is true. That would be great, of course, and may affect how I approach my current efforts.

Read more
drupalninja99's picture

Multi-site installs on pantheon/mercury (using linode)

I have heard concern ab how well pantheon handles multi-sites. I am not using Apache-solr so I just want the mercury install for the caching, so can someone confirm or deny whether or not pantheon can handle multi-site drupal/pressflow installs? Thx -J

Read more
manuj_78's picture

Drupal 6 site Crashing every few hours ( High Disk I/O)

Background: The Drupal 6 site used to work very well on a VPS until a few months ago. However in order to reduce the server cost as well as to improve performance of the site even more, we decided to move to the cloud and Pantheon. We setup a pantheon server and moved a copy of the site on rackspacecloud and tested it using Jmeter with 1000 users and tested continuously for 4 hours and the load never went more than 1. The Jmeter report showed only .4% error(which was normal i think).

Read more
nullvariable's picture

[Solved] php-xsl on Mercury 1.1

Maybe someone knows the answer to the issue that I'm having right now. Mercury 1.1 uses PHP 5.2 instead of 5.3 so you can't install php-xsl the normal way (sudo apt-get php5-xsl), kicks out this error:

The following packages have unmet dependencies:
  php5-xsl: Depends: phpapi-20090626+lfs
            Depends: php5-common (= 5.3.2-1ubuntu4.2) but 5.2.10.dfsg.1-2ubuntu6 is to be installed
E: Broken packages

Anyone know how to fix that? Read more
joostvdl's picture

SOLVED: in installing Mercury 1.1 on Centos 5.5 - BCFG2-SERVER doesn't start

I have followed the description on: Step-by-step: Installing Project Mercury 1.1 (Beta) on Centos 5.5

When the bcfg2-server should be starting it fails. I tried running the server manually and it gives then this error:


Failed to read file probed.xml
Traceback (most recent call last):
File "/usr/sbin/bcfg2-server", line 69, in ?
ca=setup['ca'],
File "/usr/lib/python2.4/site-packages/Bcfg2/Component.py", line 62, in run_component
component = component_cls(cfile=cfile, **cls_kwargs)

Read more
Subscribe with RSS Syndicate content

Mercury

Group organizers

Group categories

Post Type

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week