So, after a while digging through other stuff I realized what the "(null)" entries are.<br>They are cache misses.<br>For (apparently) every miss there's an entry on varnishncsa for that miss, and it's logged as a bunch of nulls.<br>
I haven't figured out what the other entries are though.<br>I still see some entries (not as many as the null ones) with the date field set to "[00/Jan/1900:00:00:00 +0000]", with all the other information valid (URL, Referer, BackendName, etc..) except for the object size, which is set to "(null)" and ther server response code (also "(null)").<br>
There are also entries that the only field set is the server response (200 or 404 -- these have the date field set correctly) and some entries with the host (or where the backend name should go) set to 127.0.0.1 and the other fields set correctly.<br>
<br>One thing though, in none of the entries (correct, broken or plain weird) the object size is set, all I see are "-", except for one entry that had it set (strangely enough, favicon.ico!) and even then, only once.<br>
<br>If anybody else has seen this stuff or know anything that might help explain, I'd greatly appreciate some help.<br>I can also send you any information you might deem necessary in order to figure this stuff out.<br>
<br>This is the varnish package for debian (2.0.3-2_amd64) all with HTTP/1.1 requests.<br><br>Thanks!<br><br>Alecs<br><br><br><div class="gmail_quote">On Mon, Feb 9, 2009 at 5:29 PM, Alecs Henry <span dir="ltr"><<a href="mailto:alecshenry@gmail.com">alecshenry@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Nick,<br><br>I forgot to say... It's varnish-trunk.<br>But I saw it on both varnish 2.0.1 and 2.0.2.<br>
<font color="#888888"><br>Alecs</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Mon, Feb 9, 2009 at 6:20 PM, Nick Loman <span dir="ltr"><<a href="mailto:nick@loman.net" target="_blank">nick@loman.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>Alecs Henry wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
EDITED TO INCLUDE THE ORIGINAL MESSAGE...<br>Hi guys,<br><br>I was wondering if any of you has seen the following log entries when using varnishncsa:<br>127.0.0.1 - - [00/Jan/1900:00:00:00 +0000] "(null) (null) (null)" (null) - "-" "-"<br>
<br>Those are coupled with:<br>127.0.0.1 - - [09/Feb/2009:19:39:46 +0000] "(null) (null) (null)" 200 39678 "-" "-"<br>I
can see an object in the page that has that size (image) -- through
firebug, but the object didn't load into the browser until I hit reload.<br>
<br>And there are also many entries like the following:<br>127.0.0.1 - - [09/Feb/2009:19:39:52 +0000] "GET <a href="http://www.example.com/img/mod.gif" target="_blank">http://www.example.com/img/mod.gif</a> HTTP/1.1" 200 951 "<a href="http://www.example.com/style.css" target="_blank">http://www.example.com/style.css</a>" "Mozilla/5.0 (X11; U; Linux x86_64; en; rv:1.9.0.5) Gecko/2008121623 Ubuntu/8.10 (intrepid) Firefox/3.0.5"<br>
<br>These entries are from communication with the backend server<br><br>I expected it to show the backend name instead of 127.0.0.1.<br><br>Is there an explanation?<br><br>Thanks!<br><font color="#888888"><br>Alecs</font><br>
</blockquote></div></blockquote></div></div></div></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div class="h5"><div class="gmail_quote">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
</blockquote>
<br></div>
I've seen log entries like this for HTTP 1.0 requests (using Varnish 1.2), as that version of Varnish did not have support for parsing HTTP 1.0 headers.<br>
<br>
Cheers,<br><font color="#888888">
<br>
Nick.<br>
<br>
<br>
<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>