On 06/21/2016 07:27 PM, Luca Toscano wrote: > > - VSL timeout - End synth
The timeout (-T arg of the VSL tools) starts when the Begin tag for a transaction is read from shared memory, and ticks until the End tag is read for that transaction. If End is not encountered before the timeout expires, you get the synthesized VSL record. So in your example, VSL isn't seeing End in the log before the timeout elapses, probably 120 seconds if you haven't changed the default. This could happen, for example, if you have a response that takes that long to complete. To set the timeout in a VSL client, you can use: VSL_Arg(vsl, 'T', timeout) ... where timeout is a string containing decimal digits. varnishevent is very similar to varnishkafka and supports -T, you can see some working code here: https://code.uplex.de/uplex-varnish/varnishevent/blob/master/src/varnishevent.c#L641 HTH, Geoff -- ** * * UPLEX - Nils Goroll Systemoptimierung Scheffelstraße 32 22301 Hamburg Tel +49 40 2880 5731 Mob +49 176 636 90917 Fax +49 40 42949753 http://uplex.de
signature.asc
Description: OpenPGP digital signature
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
