You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sander Smeenk <ss...@freshdot.net> on 2007/05/29 21:12:04 UTC
[users@httpd] Apache 2.2.3 + Logging partial requests
Hello!
I'm a happy Apache 2.2.3 user, everything is working just fine, except
for this oddity which i'd like to see explained if possible ;-)
I recently hosted a large patch to a popular MMORPG on my blog, and as
expected, i got tons of hits on it. Curious as i am, i started
investigating what / where / who these hits came from and found this in
my logs (only showing HTTP Status and Bytes Transferred):
200 268939916
206 5825969
206 11646796
206 228617796
206 107575967
206 68177222
206 227867859
206 173765305
206 164469689
206 167575428
206 170672939
206 173799865
(All hits from one unique IP)
Aparently this visitor transferred a total of 1.768.934.751 bytes. The
patch is ~300MB, but my traffic stats and graphs do not reflect this. As
it turns out, Apache logs the bytes transferred for partial requests as
if each and every byte from the position it started from was transferred
to the visitor.
I tried this myself by wget'ing a large file from my server and
continously interrupting it before wget -c'ing it again, and it gave me
the same results in the logs.
I'm a bit puzzled as to why this is. The process handling the request
should be aware of when it started transferring and when it stopped
transferring, right?
Can anyone shed a light? :)
Kind regards,
Sander.
--
| Did you hear about the cat that ate a ball of wool? -- It got mittens.
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D
---------------------------------------------------------------------
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
Re: [users@httpd] Apache 2.2.3 + Logging partial requests
Posted by Sander Smeenk <ss...@freshdot.net>.
Quoting Joshua Slive (joshua@slive.ca):
> See:
> http://wiki.apache.org/httpd/Logs/Response_Size
Nice. Thanks.
% apache2 -l | grep logio
mod_logio.c
Will work on that then, thanks alot!
Regards,
Sander.
--
| Those who get too big for their britches will be exposed in the end.
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D
---------------------------------------------------------------------
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
Re: [users@httpd] Apache 2.2.3 + Logging partial requests
Posted by Joshua Slive <jo...@slive.ca>.
On 5/29/07, Sander Smeenk <ss...@freshdot.net> wrote:
> Hello!
>
> I'm a happy Apache 2.2.3 user, everything is working just fine, except
> for this oddity which i'd like to see explained if possible ;-)
>
> I recently hosted a large patch to a popular MMORPG on my blog, and as
> expected, i got tons of hits on it. Curious as i am, i started
> investigating what / where / who these hits came from and found this in
> my logs (only showing HTTP Status and Bytes Transferred):
>
> 200 268939916
> 206 5825969
> 206 11646796
See:
http://wiki.apache.org/httpd/Logs/Response_Size
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