Re: question about %b, %O (log_io) and %X formats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I don't understand your confusion. If the response is aborted,
> it is
> natural that the actual number of bytes sent to the client (%O)
> is
> smaller than the size of the resource the server attempted to
> send
> (%b). In reality, %b is not a reliable measure of anything
> except
> exactly what it is defined as: the number of bytes the server
> is
> *attempting* to send. If you want to count traffic, you need to
> use
> %O.

I suspected so. However, there are also a lot of lines, where 
%b is not equal to filesize (for example, for a 3Mb file, it can
be 1034567, 2065789, almost anything, and it's not 206 response,
but 200) - does it mean that server does not attempt to send the
whole file?

With Apache 1.3 %b was a good estimate of waht was actually sent
(I checked it then by downloading and cancelling transfers) - did
it changed with 2.0 ?

> >
> > Apache version 2.0.49 on Centos Linux. Below is a sample line
> > from log.
> 
> Quite an old version. There may be any number of bugs also
> affecting this.

I know but I will have to live with it for some time. Besides,
there are older logs, which I need to parse now.

Thanks!
Alex
 
> Joshua.
> 
>
---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest:
> users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux