Results 1 to 6 of 6

Thread: Per-request request/response logging similar to Tomcat

  1. #1

    Exclamation Per-request request/response logging similar to Tomcat

    We're having concerns about the request/response times our clients see. Increasing the log level lets us see per-chunk requests, but as near as we can tell there's no way to get request/response times for those requests.

    We're looking for something similar to what we'd see if we were serving chunks statically from and Apache/Tomcat server.

    Seperately: there are a number of timeouts that can be configured in the HTTPStreamers config. Is there any way to get logging of those timeouts being exceeded?

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    The HTTP session timeouts should be logged by default. Try setting VHost.xml /Property httpAdapterDebugLog for more logging:

    <Property>
    	<Name>httpAdapterDebugLog</Name>
    	<Value>false</Value>
    	<Type>Boolean</Type>
    </Property>
    I'm not sure, but you might be able to see what you want client-side in HDS or Smooth client running on the desktop with the browser console. The chrome console shows size and download time of each chunk.

    Richard

  3. #3

    Default

    Quote Originally Posted by rrlanham View Post
    The HTTP session timeouts should be logged by default.
    Alright, that's good to know.
    Try setting VHost.xml /Property httpAdapterDebugLog for more logging:

    <Property>
    	<Name>httpAdapterDebugLog</Name>
    	<Value>false</Value>
    	<Type>Boolean</Type>
    </Property>
    I'm not sure, but you might be able to see what you want client-side in HDS or Smooth client running on the desktop with the browser console. The chrome console shows size and download time of each chunk.
    I just saw that poking around with jconsole but I didn't know how to permanently set it.

  4. #4

    Default

    How do I change fileIOPoolSize? I see that in the VHost attributes but there's no default entry in VHost.xml.

    edit: and maximumPendingReadBytes

    (this should probably be a different post, eh)


    What I'm ultimately looking for is a way to see a chunk request come in and know how long it takes until the chunk has finished being sent to the client, and a way to improve the turnaround. A log entry to the effect of "chunk sent" with a session id and x-duration in it would serve my purposes.
    Last edited by mtownsend; 05-30-2014 at 07:09 PM.

  5. #5
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    It think it would make more sense to look from the client-side. You can do that with one of the HTTP players, like the Wowza test HDS and Smooth players, and HLS you can use JW Player 6 with desktop HLS streaming, however that requires a Premium license. You can see download time, latency and size in the console network tab on Chrome.

    Richard

  6. #6

    Default

    We discovered the issue was due to one server accessing files via NFS. It was taking 5-60 seconds for a single chunk to be returned to the client after the request was received. The problem has since been worked around by running all VOD requests through an Apache caching proxy running locally.

Similar Threads

  1. Request Information
    By ilimaan in forum General Forum
    Replies: 5
    Last Post: 01-22-2013, 12:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •