httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Watrous" <dwmaill...@gmail.com>
Subject [users@httpd] mod_logio question
Date Tue, 29 Aug 2006 05:11:05 GMT
Hello,

I am interested in using the mod_logio package to more accurately
determine bandwidth usage on an apache server.  The content I am
serving is a movie file in WMV format, which obviously uses Windows
Media Player (WMP).

In the below log excerpt you can see that there are several requests
associated with the video file.  One reads "NSPlayer/10.0.0.3802
WMFSDK/10.0" and logs some amount of data transfer.  Note that this
shows status code 206.  Another reads "NSPlayer/10.0.0.3802" and
always shows the same amount.  And finally the actual request that
reads "http://www.maintainfit.com/sample_video.html".

These logs were generated by my repeated visits to the same page.
Each time I allowed the movie to download partially and then stopped
the download.  WMP recognized the amount that had been cached and I'm
guessing that the 206 status code indicates how much of the file was
downloaded.  I'm then guessing that the last request mentioned
indicates the new total downloaded.

The problem is that the total downloaded for my entire experiment was
28Mb, but the log indicates that the first time I downloaded 8Mb, then
14Mb then 28Mb, for a total of 42Mb, when in fact I only downloaded
28Mb total for the trial.

I'm not sure if this is the right place to send this.  Thanks in advance.

Daniel

BEGIN LOG EXCERPT:

"GET /video/top%20of%20utah%20step.wmv HTTP/1.1" 200 1023726 "-"
"NSPlayer/10.0.0.3802 WMFSDK/10.0" 192 1023726

"GET /video/top%20of%20utah%20step.wmv HTTP/1.1" 200 8047786
"http://www.maintainfit.com/sample_video.html" "Mozilla/5.0 (Windows;
U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6"
498 8047786

"GET /video/top%20of%20utah%20step.wmv HTTP/1.1" 200 11946 "-"
"NSPlayer/10.0.0.3802" 590 11946

"GET /video/top%20of%20utah%20step.wmv HTTP/1.1" 206 12580630 "-"
"NSPlayer/10.0.0.3802 WMFSDK/10.0" 311 12580630

"GET /video/top%20of%20utah%20step.wmv HTTP/1.1" 200 14264454
"http://www.maintainfit.com/sample_video.html" "Mozilla/5.0 (Windows;
U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6"
498 14264454

"GET /video/top%20of%20utah%20step.wmv HTTP/1.1" 200 11946 "-"
"NSPlayer/10.0.0.3802" 590 11946

"GET /video/top%20of%20utah%20step.wmv HTTP/1.1" 206 14578898 "-"
"NSPlayer/10.0.0.3802 WMFSDK/10.0" 313 14578898

"GET /video/top%20of%20utah%20step.wmv HTTP/1.1" 200 28000100
"http://www.maintainfit.com/sample_video.html" "Mozilla/5.0 (Windows;
U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6"
498 28000100

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