httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex <finest...@yahoo.com>
Subject Re: [users@httpd] question about %b, %O (log_io) and %X formats
Date Thu, 19 Apr 2007 09:53:41 GMT
> 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@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 


__________________________________________________
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message