Hello, fellows.<br>I have a problem with varnishncsa on V2.0.4 on CentOS 5.3 x86_64, depicted in <a href="http://varnish.projects.linpro.no/ticket/533">http://varnish.projects.linpro.no/ticket/533</a><br>I didn't include anyone in CC of that ticket, so I guess it will stay unanswered for a while.<br>
The problem is as follows:<br>1. we have the code in vcl config that is used as a keepalive functionality of Varnish itself.<br><pre class="wiki">vcl_recv {<br>---skipped---<br>       if (req.url == "/ServerStatus") {<br>
            error 200 "ONLINE";<br>        }<br>        lookup;<br>}<br></pre><br> Therefore if we call <a href="http://cache/ServerStatus">http://cache/ServerStatus</a>, we'll get HTTP 200 OK and some text.<br>
<br>2. Starting from Varnish 2.0.3 (the version we've upgraded to from 1.1.2), varnishncsa stopped logging any second request after that ServerStatus request. The third request is logged as it should. As this is the keepalive check, it occurs every 5 seconds, and therefore we are losing big part of our requests from logs.<br>
<br>3. I've tried using the first version of varnishncsa from Varnish 1.1.2 and it logged properly every request, though without client address. Of course we cannot use it thereof. But this confirms that the problem is in varnishncsa, not our config or environment.<br>
<br>I suspect that the fix is easy, so I'd like to ask anyone who can fix that to look at it.<br><br>Thank you, <br><br>Tarick.<br>