[users@httpd] mod_logio question

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

 



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