Forum Moderators: DixonJones
I have a few video files on my server of size about 35 MB. The following is a bit of the Apache access.log
xx.#*$!.#*$!.15 - - [24/Oct/2007:17:10:39 -0400] "GET /acc101/ACC101-05-D-2008.zip HTTP/1.1" 206 2030807
xx.#*$!.#*$!.15 - - [24/Oct/2007:17:10:41 -0400] "GET /acc101/ACC101-05-D-2008.zip HTTP/1.1" 206 6389516
xx.#*$!.#*$!.15 - - [24/Oct/2007:17:10:01 -0400] "GET /acc101/ACC101-06-B-2008.zip HTTP/1.1" 206 33771240
[rows with different ip deleted]
xx.#*$!.#*$!.15 - - [24/Oct/2007:17:03:41 -0400] "GET /acc101/ACC101-06-B-2008.zip HTTP/1.1" 206 19690256
xx.#*$!.#*$!.15 - - [24/Oct/2007:17:03:03 -0400] "GET /acc101/ACC101-06-A-2008.zip HTTP/1.1" 206 24810624
xx.#*$!.#*$!.15 - - [24/Oct/2007:17:10:44 -0400] "GET /acc101/ACC101-05-D-2008.zip HTTP/1.1" 206 213007
and so on...
Now the size of the file ACC101-05-D-2008.zip is only 35 MB, but if I add up all the data transferred (at the end of a request line) it adds up to 145 MB. Note, all lines with request for ACC101-05-D-2008.zip have not been copied above.
I have 3 questions:
1) When I download something from the server I get HTTP code 200 (for successful transfer) and file size at end of line. Why is the server providing only bits of the file and a 206 code? Though the video file is a realplayer file *.rv, it has been zipped, so it cannot be played as streaming video (I think).
2) Is there bandwidth wastage going on? Is the data out from my server 145 MB whereas the user's browser receives only 35 MB?
3) If there is wastage how can I stop these requests that generate the 206 codes and instead have requests that generate the 200 codes?
Thanks in advance!
JC