still trying to purge

Charlie Farinella cfarinella at
Wed Feb 20 21:46:22 CET 2008

Hi all,

For the moment I have given up trying to do the http purge thing and am 
trying to find a workaround.  I have the following shell script:


echo open ${host} ${port}
sleep 1
echo ${cmd} ${param}
sleep 3
echo exit

The result of this script is:
./ | telnet
telnet> Trying
Connected to localhost.localdomain (
Escape character is '^]'.
105 20      
Too many parameters
Connection closed by foreign host.

If I put any other command in the script, it works fine.  If I 
use 'url.purge' as the command, but '^/$' as the parameter, that works 
fine.  Only the '*' or '.*' throws the 'too many parameters' error.  
What is the correct command and format to purge the entire cache?

If anyone has a solution for me I would be very appreciative.  If I 
cannot find an automated way for the web development people to clear 
this cache at will, I'm going to have to try to set up Apache or Squid 
to do the caching and I'd just rather not do that.  :-)

Charles Farinella 
Appropriate Solutions, Inc. (
cfarinella at
voice: 603.924.6079   fax: 603.924.8668

More information about the varnish-misc mailing list