CLI communication error (hdr) on vcl.discard

Kacper Wysocki kacperw at gmail.com
Tue Jun 8 00:08:49 CEST 2010


On Mon, Jun 7, 2010 at 10:34 AM, Gerhard Schmidt <schmidt at ze.tum.de> wrote:
> Hi,
>
> I'm in the process of migrating auch website from squid to varnish as reverse
> proxy. I use a system to dynamicaly add and remove backends. This system
> creates new configs via vcl.inline. Works fine so far. but new configs are
> created some times in 10 sec intervals. So the config list gets quite crowded
> quite soon.

I'm curious. Would you mind posting the workings of your system?

-Kacper
> When i try to delete old configs via vcl.discard I get an "CLI communication
> error (hdr)"
>
> here is an example cli session
>
>  telnet localhost 6082
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 200 154
> -----------------------------
> Varnish HTTP accelerator CLI.
> -----------------------------
> Type 'help' for command list.
> Type 'quit' to close CLI session.
>
> vcl.list
> 200 228
> available       0 boot
> available       0 dynconf_20100607101631
> available       0 dynconf_20100607101856
> available       0 dynconf_20100607103126
> available       2 dynconf_20100607103142
> active          1 dynconf_20100607103209
>
> vcl.discard dynconf_20100607101631
> 400 29
> CLI communication error (hdr)
>
> I'm using varnish 2.1.2 on FreeBSD
>
> Regards
>    Estartu
>
> --
> -------------------------------------------------
> Gerhard Schmidt       | E-Mail: schmidt at ze.tum.de
> TU-München            |
> WWW & Online Services |
> Tel: 089/289-25270    |
> Fax: 089/289-25257    | PGP-Publickey auf Anfrage
>
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> http://lists.varnish-cache.org/mailman/listinfo/varnish-misc
>



-- 
http://kacper.doesntexist.org
http://windows.dontexist.com
Employ no technique to gain supreme enlightment.
- Mar pa Chos kyi blos gros




More information about the varnish-misc mailing list