Mailing List Archive

Find timestamp in log
Im doing a POST request against my varnishserver and getting a very long wait time until the response is received by the client.

As I understand by the vcl man the POST requests are all piped, right?

Anyway, I was looking for some timestamp in the log to understand where the request hangs.

Is their any line in the log where I can see the timestamp/time?

/ Erik
Find timestamp in log [ In reply to ]
In message <hnaf7m28jhrk74n.150120081304 at torlen.net>, Erik writes:
>Im doing a POST request against my varnishserver and getting a very long wait time until the response is received by the client.
>
>As I understand by the vcl man the POST requests are all piped, right?
>
>Anyway, I was looking for some timestamp in the log to understand where the request hangs.
>
>Is their any line in the log where I can see the timestamp/time?

Which version of varnish are you using ?

We can't really do much logging for a piped request, since all we
do is pass bytes back and forth.

For normal requests timestamps are in the ReqEnd record.

--
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.
Find timestamp in log [ In reply to ]
Im using 1.1.2 from SF. I noticed in my log that the POST
request isn't piped, it is passed. Probably thats why the
request takes such a long time to finish.

I thought that all POST were piped auto like this?
if (req.request != "GET" && req.request != "HEAD") {
pipe;
}

Could you explain the values in the ReqEnd:
12 ReqEnd c 100929047 1200397302.365636110 1200397902.687728643 0.016155005 600.287691593 0.034400940

Thanks
Erik

----------- Poul-Henning Kamp wrote --------

Which version of varnish are you using ?

We can't really do much logging for a piped request, since all we
do is pass bytes back and forth.

For normal requests timestamps are in the ReqEnd record.
Find timestamp in log [ In reply to ]
In message <kqhmbyk1xla0cac.150120081646 at torlen.net>, Erik writes:

>Could you explain the values in the ReqEnd:
> 12 ReqEnd c 100929047 1200397302.365636110
> 1200397902.687728643 0.016155005 600.287691593 0.034400940

See: http://varnish.projects.linpro.no/ticket/44



--
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.