Wowza Community

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?

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

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

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.

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.

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.