Posted by kyle_mathews on December 19, 2009 at 6:59pm
I was experimenting with the pantheon EC2 image today. Everything seemed to be working fine once I booted it up. I ran ab from another ec2 instance and was getting ~2000 req/sec and so forth.
I then tried moving an existing site over to the server. I rsynced my module and theme files into the pressflow install and enabled backup_migrate and imported a current sql dump from my existing site. And... things were now dog slow. I made sure to set the performance settings as before -- w/ 10 min max cache but pages are taking 2-3 secs. to load and varnish isn't serving pages at all.
Is there something obviously wrong I'm missing here?

Comments
cache router enabled?
I presume you used backup_migrate to restore your mysql dump. If so, go to admin/build/modules and enable the cache router module which might not have been active on your existing site.
Also make sure you merge the settings.php of your existing site into the one of pressflow since it has some specific settings for APC.
cache router was enabled and
cache router was enabled and the settings.php file was untouched from it's default pressflow configuration as I only copied the modules directory from old site into pressflow. Maybe something else still?
Kyle Mathews
Cookies and settings
Two things to check:
1) On admin/settings/performacne you still ahve "external cache" selected, and there's still a max page age. Those are pressflow-only variables, and if you imported an existing drupal DB they were probably lost.
2) Your module/theme stack might be setting additional cookies. If that's the case, the default VCL file in mercury will take those as a sign not to do any caching.
https://pantheon.io | http://www.chapterthree.com | https://www.outlandishjosh.com
Thanks Josh -- I'll be
Thanks Josh -- I'll be setting up Mercury for real in the next few days on Linode and will check for those two things.
Kyle Mathews