From niro at sph.com.sg Mon Oct 1 06:54:00 2018 From: niro at sph.com.sg (Paramanathan Nirosan) Date: Mon, 1 Oct 2018 14:54:00 +0800 Subject: varnish-4.1.8 Assert error in vmod_round_robin__fini() Message-ID: Hi Team, Varnish child dies when frequently. Below is the panic.show output. What could be the issue? panic.show 200 Last panic at: Mon, 01 Oct 2018 05:33:26 GMT "Assert error in vmod_round_robin__fini(), round_robin.c line 109: Condition((rr) != NULL) not true. thread = (cache-main) version = varnish-4.1.8 revision d266ac5c6 ident = Linux,3.10.0-693.11.6.el7.x86_64,x86_64,-junix,-smalloc,-smalloc,-hcritbit,epoll now = 20382411.898999 (mono), 1538372001.216609 (real) Backtrace: 0x434842: pan_ic+0x192 0x7f9beed2ea49: libvmod_directors.so(vmod_round_robin__fini+0x59) [0x7f9beed2ea49] 0x7f9bef8ec0dd: vgc.so(+0x40dd) [0x7f9bef8ec0dd] 0x43f820: vcl_cancel_load+0xb0 0x440634: ccf_config_load+0x1a4 0x7f9c008fded1: libvarnish.so(+0x6ed1) [0x7f9c008fded1] 0x7f9c008fe30b: libvarnish.so(+0x730b) [0x7f9c008fe30b] 0x7f9c00903888: libvarnish.so(VLU_Fd+0xd8) [0x7f9c00903888] 0x7f9c008fefa3: libvarnish.so(VCLS_Poll+0x143) [0x7f9c008fefa3] 0x41b181: CLI_Run+0x41 " It's running with below daemon options. "-s malloc,30G -p thread_pool_stack=128K -t 120" # varnishd -V varnishd (varnish-4.1.8 revision d266ac5c6) Copyright (c) 2006 Verdens Gang AS Copyright (c) 2006-2015 Varnish Software AS Regards, Niro -- NOTE: Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. All opinions, conclusions and other information expressed in this message not of an official nature shall not be deemed as given or endorsed by Singapore Press Holdings Ltd or any of its subsidiaries unless otherwise indicated by an authorised representative independent of this message. Singapore Press Holdings Ltd Co Regn No. 198402868E -------------- next part -------------- An HTML attachment was scrubbed... URL: From rainer.canavan+varnish at sevenval.com Tue Oct 23 15:13:57 2018 From: rainer.canavan+varnish at sevenval.com (Rainer Canavan) Date: Tue, 23 Oct 2018 17:13:57 +0200 Subject: HTTP Trailers Message-ID: Hi, I would like to log the content of a HTTP Trailer sent to Varnish in a response from a server within our own infrastructure. Since the data I want to log requires the entire body to be available, we don't want to send it in a header for performance reasons. Logging the header field as such works as expected. Announcing it as a Trailer and sending it as such leaves the log field empty. As far as I can see, I'm generating the trailers correctly, e.g. I can see the infos I stuck into the Server-Timing Trailer in the Firefox console in window.performance.getEntries(). In addition to all that, I would also like to pass the Server-Timing Trailer to the client. However, both the TE: Trailers request header field as well the the Trailer: response-header and the trailers themselves are removed with our current varnish setup using Varnish 5.2 or 6.1. Are Trailers supported at all in any Varnish version, and if so, do I have to take special measures to (1) transparently handle them when passing a response or (2) log their values? thanks, rainer From rainer.canavan+varnish at sevenval.com Tue Oct 30 15:35:49 2018 From: rainer.canavan+varnish at sevenval.com (Rainer Canavan) Date: Tue, 30 Oct 2018 16:35:49 +0100 Subject: HTTP Trailers In-Reply-To: References: Message-ID: Hi, can anyone on this list authoritatively state if HTTP trailers are supported at all in any version of Varnish, or if there are vmods to support them? thanks, rainer From phk at phk.freebsd.dk Tue Oct 30 16:27:01 2018 From: phk at phk.freebsd.dk (Poul-Henning Kamp) Date: Tue, 30 Oct 2018 16:27:01 +0000 Subject: HTTP Trailers In-Reply-To: References: Message-ID: <1834.1540916821@critter.freebsd.dk> -------- In message , Rainer Canavan writes: >can anyone on this list authoritatively state if HTTP trailers are >supported at all in any version of Varnish, or if there are vmods to >support them? They are not. Not as far as I know. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk at FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.