I just installed Mercury on Linode server, but Varnish doesn't cache pages on site I transferred there.
Steps I did during site transfer:
- copied modules and themes
- copied files
- imported database (didn't change settings.php as I used same database as in settings.php)
- run update.php
- enabled Varnish, Cookie cache bypass modules
- changed Caching to External (there is following warning: 'The following enabled modules are potentially incompatible with aggressive- and external-mode caching and will not function properly: mollom, notifications, og, statistics, statistics_advanced')
- run update.php
- cleared cache
When I run:
ab -k -n 100000 -c 50 http://domain/
I can see in 'top' there many 'apache2' instances starting and server 'crashes' with full memory and swap.
When I tried same with fresh Mercury installed Drupal it got served by Varnish and could handle it without problems.
Do you know what could be problem? Or what is best way how to import site?