a question

2009-04-06 Thread Shahar Fleischman
Hi,

 

Can anyone explain to me those varnishlog entries mean ?

 

0 ExpPick  - 1369849794 ttl

0 VCL_call - timeout

0 VCL_return   - discard

0 ExpKill  - 1369849794 -10

 

They always come in this order.

 

Thanks J

___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: a question

2009-04-06 Thread Dag-Erling Smørgrav
Shahar Fleischman sha...@mindu.co.il writes:
 Can anyone explain to me those varnishlog entries mean ?

 0 ExpPick  - 1369849794 ttl
 0 VCL_call - timeout
 0 VCL_return   - discard
 0 ExpKill  - 1369849794 -10

Object 1369849794 was selected as a candidate for expiry on the basis of
its ttl; vcl_timeout was called and returned discard; the object was
then destroyed.

DES
-- 
Dag-Erling Smørgrav - d...@des.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: Weird log entries

2009-04-06 Thread Alecs Henry
So, after a while digging through other stuff I realized what the (null)
entries are.
They are cache misses.
For (apparently) every miss there's an entry on varnishncsa for that miss,
and it's logged as a bunch of nulls.
I haven't figured out what the other entries are though.
I still see some entries (not as many as the null ones) with the date field
set to [00/Jan/1900:00:00:00 +], 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)).
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.

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.

If anybody else has seen this stuff or know anything that might help
explain, I'd greatly appreciate some help.
I can also send you any information you might deem necessary in order to
figure this stuff out.

This is the varnish package for debian (2.0.3-2_amd64) all with HTTP/1.1
requests.

Thanks!

Alecs


On Mon, Feb 9, 2009 at 5:29 PM, Alecs Henry alecshe...@gmail.com wrote:

 Hi Nick,

 I forgot to say... It's varnish-trunk.
 But I saw it on both varnish 2.0.1 and 2.0.2.

 Alecs


 On Mon, Feb 9, 2009 at 6:20 PM, Nick Loman n...@loman.net wrote:

 Alecs Henry wrote:

  EDITED TO INCLUDE THE ORIGINAL MESSAGE...
 Hi guys,

 I was wondering if any of you has seen the following log entries when
 using varnishncsa:
 127.0.0.1 - - [00/Jan/1900:00:00:00 +] (null) (null) (null) (null)
 - - -

 Those are coupled with:
 127.0.0.1 - - [09/Feb/2009:19:39:46 +] (null) (null) (null) 200
 39678 - -
 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.

 And there are also many entries like the following:
 127.0.0.1 - - [09/Feb/2009:19:39:52 +] GET
 http://www.example.com/img/mod.gif HTTP/1.1 200 951 
 http://www.example.com/style.css; Mozilla/5.0 (X11; U; Linux x86_64;
 en; rv:1.9.0.5) Gecko/2008121623 Ubuntu/8.10 (intrepid) Firefox/3.0.5

 These entries are from communication with the backend server

 I expected it to show the backend name instead of 127.0.0.1.

 Is there an explanation?

 Thanks!

 Alecs



 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.

 Cheers,

 Nick.





___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc