varnish 4.0 libvmod-timers

Paul Wolstenholme paul.wolstenholme at cbc.ca
Fri Jan 23 20:29:24 CET 2015


I'm in the process of starting the migration from 3.0 to 4.0. Most of the
VMODS we use seem to pass the varnishtests except libvmod-timers:

**** v1    0.1 CLI RX| Message from VCC-compiler:\n
**** v1    0.1 CLI RX| Not running as root, no priv-sep\n
**** v1    0.1 CLI RX| Operator > not possible on TIME\n
**** v1    0.1 CLI RX| ('input' Line 10 Pos 32)\n
**** v1    0.1 CLI RX|         if( timers.req_start() > 0 ) {\n
**** v1    0.1 CLI RX| -------------------------------#------\n
**** v1    0.1 CLI RX| \n
**** v1    0.1 CLI RX| Running VCC-compiler failed, exited with 2\n
**** v1    0.1 CLI RX| \n
**** v1    0.1 CLI RX| VCL compilation failed
---- v1    0.1 FAIL VCL does not compile


It looks like some 4.0 work has been done by pushrax (
https://github.com/pushrax/libvmod-timers) so I have tried that instead of
https://github.com/jib/libvmod-timers.

I'm just wondering if anyone is using timers successfully on 4.0. We like
to push stuff to graphite and would feel a bit uncomfortable without any
graphing/instrumentation.

If someone has an alternative method of instrumentation I'd like to hear
about that as well. I checked out
https://github.com/pbruna/Varnish-Agent-Dashboard. It seems broken for
vagent2 4.0.

Cheers,
Paul



**** v1    0.1 CLI RX| Message from VCC-compiler:\n
**** v1    0.1 CLI RX| Not running as root, no priv-sep\n
**** v1    0.1 CLI RX| Operator > not possible on TIME\n
**** v1    0.1 CLI RX| ('input' Line 10 Pos 32)\n
**** v1    0.1 CLI RX|         if( timers.req_start() > 0 ) {\n
**** v1    0.1 CLI RX| -------------------------------#------\n
**** v1    0.1 CLI RX| \n
**** v1    0.1 CLI RX| Running VCC-compiler failed, exited with 2\n
**** v1    0.1 CLI RX| \n
**** v1    0.1 CLI RX| VCL compilation failed
---- v1    0.1 FAIL VCL does not compile


-- 

Paul Wolstenholme
CBC Music - System Administrator
CBC  Vancouver
604.662.6632
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20150123/b91990ce/attachment.html>


More information about the varnish-misc mailing list