I'm using Siege to act as a cache warmer for Varnish on a wordpress site. I've set up a simple script to grab the latest URL list from a dynamic sitemap, output them to a file, purge the cache using Varnishadm and then run siege against the url list to repopulate the cache.
The problem is the Siege part of the equation. If I run the following command:
/usr/bin/siege -c1000 -d3 -r1 -v -i -f url-list-example.txt
It works fine but this obviously randomly accesses the URL list rather than hit one after another. From what I've read removing the -i flag so that the command is:
/usr/bin/siege -c1000 -d3 -r1 -v -f url-list-dekanta.txt
should mean that Siege runs through the list once and stops however it doesn't do this. Instead it just hits the first URL which is / multiple times and stops.
Could someone please explain what I'm doing wrong with this command please? I've read through the docs and nothing seems to work the way I want it to. Many thanks.