Varnishncsa missing requests

François Fanuel ffanuel.metanext at
Fri Sep 24 16:37:56 CEST 2010


Yes, it's an http check.
We also have a nagios http check with the same behavior : sometimes the request is logged by varnishncsa, sometimes not.
We also catch the health check in vcl_error :
sub vcl_error {
        # Serve HealthCheck
        if (obj.status == 699) {
                set obj.status = 200;
                set obj.http.Content-Type = "text/html; charset=utf-8";
                synthetic "PASS";

Here is an example of a valid request logging in varnishncsa: - - [24/Sep/2010:16:36:45 +0200] "GET /rp_hc/ HTTP/1.1" 200 4 "-" "-"

Thanks for your help,


François FANUEL

From: Caunter, Stefan [mailto:scaunter at]
Sent: vendredi 24 septembre 2010 16:33
To: François Fanuel; varnish-misc at
Subject: RE: Varnishncsa missing requests

Is the BIGIP health check an http check? We stopped using that in favour of a simple tcp check to port 80.

I've looked in my old varnishlog output, we were catching the F5 http health check in vcl_error.

Can you send some log examples?

Stefan Caunter :: Senior Systems Administrator :: TOPS
e: scaunter at  ::  m: (416) 561-4871

From: varnish-misc-bounces at [mailto:varnish-misc-bounces at] On Behalf Of François Fanuel
Sent: September-24-10 4:54 AM
To: varnish-misc at
Subject: Varnishncsa missing requests


We've got a strange behavior with varnishncsa : some requests that we can see in varnishlog are missing in the varnishncsa logs.

We can clearly see that with Healthchecks from our BIGIP (We've got 4x Varnish behind 2x BIGIP).
The BIGIPs are doing 1 request every 5 seconds that we can see in varnishlog. In the varnishncsa logs, we can't see every healthcheck request.
Sometime, we have no log at all for 3 or 4 minutes and then the logs reappears. We've done tests with or withour load, and the behavior is the same.

Any idea ?

Thanks for your help !


François FANUEL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list