Recover Windows Media Services performance counter

Summary

You may find that two Windows Media Services performance counters, Windows Media Servcies and Windows Media Publishing Points, may be missing on Windows Media Services 2008 or Windows Media Services 2008 R2.

More Information

If you meet this symptom, you may try following steps to recover it. Please note that it may not fix the issue if the root cause is different


Assuming you have at least one more Windows Media Services 2008 machine which does not have this issue. Let's call it machine A and call the problematic one machine B.


1. Go to machine A, open a CMD window in elevated mode. Run lodctr /s:perfcountergood.txt

2. Open the perfcountergood.txt by any text editor and delete all windows media services unrelated content. The final content will look like as below. 


Note: The index number is different from machine to machine.  It is not recommended that you use this list for your own server, but rather generate this from a known good identically configured server.
[Perflib]
Base Index=1847
Last Counter=6972
Last Help=6973

[PERF_WMServer]
First Counter=1848
First Help=1849
Last Counter=2014
Last Help=2015
Disable Performance Counters=2


[PerfStrings_009]
1848=Windows Media Services
1849=Windows Media Services Server Performance Counters
1850=Current Player Allocated Bandwidth (Kbps)
1851=Current Player Allocated Bandwidth is the current bandwidth, in Kbps, that is allocated for streams to all players.
1852=Current Outgoing Distribution Allocated Bandwidth (Kbps)
1853=Current Outgoing Distribution Allocated Bandwidth is the current bandwidth, in Kbps, allocated for streams to distribution servers.
1854=Current Connected Players
1855=Current Connected Players is the current number of players with unicast connections to the server.
1856=Current Connection Queue Length
1857=Current Connection Queue Length is the current number of connection requests that are pending on the server.
1858=Current Connection Rate
1859=Current Connection Rate is the current number of clients per second that are connecting to the server.
1860=Current Streaming HTTP Players
1861=Current Streaming HTTP Players is the current number of players being streamed data using the HTTP protocol. This does not include players that are stopped or paused.
1862=Current Streaming MMS Players
1863=Current Streaming MMS Players is the current number of players being streamed data using the MMS protocol. This does not include players that are stopped or paused.
1864=Current Outgoing Distribution Connections
1865=Current Outgoing Distribution Connections is the current number of connections to distribution servers.
1866=Current Streaming RTSP Players
1867=Current Streaming RTSP Players is the current number of players that are being streamed data using the RTSP protocol. This does not include players that are stopped or paused.
1868=Current Streaming Players
1869=Current Streaming Players is the current number of players being streamed data across all protocols. This does not include players that are stopped or paused.
1870=Current Cache Downloads
1871=Current Cache Downloads is the current number of active downloads to a cache.
1872=Current Outgoing Distribution Send Rate (Kbps)
1873=Current Outgoing Distribution Send Rate is the current send rate, in Kbps, for connections to distribution servers.
1874=Current Player Send Rate (Kbps)
1875=Current Player Send Rate is the current rate, in Kbps, at which data is being streamed to players.
1876=Current Late Read Rate
1877=Current Late Read Rate is the current number of late read operations per second.
1878=Current Late Send Rate
1879=Current Late Send Rate is the current number of late write operations per second.
1880=Current Stream Error Rate
1881=Current Stream Error Rate is the current number of errors per second due to dropped packets.
1882=Current File Read Rate (Kbps)
1883=Current File Read Rate is the current read rate, in Kbps, for all data files.
1884=Current UDP Resend Requests Rate
1885=Current UDP Resend Requests Rate is the current number of requests for UDP resends per second received from clients.
1886=Current UDP Resends Sent Rate
1887=Current UDP Resends Sent Rate is the current number of UDP resends per second sent to clients.
1888=Current Incoming Bandwidth (Kbps)
1889=Current Incoming Bandwidth is the current bandwidth, in Kbps, allocated for streams from other servers.
1890=Current Streaming UDP Players
1891=Current Streaming UDP Players is the current number of players being streamed data using the UDP protocol.
1892=Peak Player Allocated Bandwidth (Kbps)
1893=Peak Player Allocated Bandwidth is the peak bandwidth, in Kbps, that was allocated for all streams to players since the last time the counter was reset.
1894=Peak Outgoing Distribution Allocated Bandwidth (Kbps)
1895=Peak Outgoing Distribution Allocated Bandwidth is the peak bandwidth, in Kbps, allocated for all streams to distribution servers that have connected since the last time the counter was reset.
1896=Peak Connected Players
1897=Peak Connected Players is the peak number of players that have connected since the last time the counter was reset.
1898=Peak Outgoing Distribution Connections
1899=Peak Outgoing Distribution Connections is the peak number of distribution servers that have connected since the last time the counter was reset.
1900=Peak Outgoing Distribution Send Rate (Kbps)
1901=Peak Outgoing Distribution Send Rate is the peak rate, in Kbps, at which data was streamed to distribution servers since the last time the counter was reset.
1902=Peak Player Send Rate (Kbps)
1903=Peak Player Send Rate is the peak rate, in Kbps, at which data was streamed to players since the last time the counter was reset.
1904=Peak Streaming Players
1905=Peak Streaming Players is the peak number of players that have been streamed data since the last time the counter was reset.
1906=Peak Streaming HTTP Players
1907=Peak Streaming HTTP Players is the peak number of players being streamed data using the HTTP protocol.
1908=Peak Streaming RTSP Players
1909=Peak Streaming RTSP Players is the peak number of players being streamed data using the RTSP protocol.
1910=Peak Streaming UDP Players
1911=Peak Streaming UDP Players is the peak number of players being streamed data using the UDP protocol.
1912=Total Connected Players
1913=Total Connected Players is the total number of players that have connected since the last time the counter was reset.
1914=Total Outgoing Distribution Connections
1915=Total Outgoing Distribution Connections is the total number of distribution servers that have connected since the last time the counter was reset.
1916=Total Late Reads
1917=Total Late Reads is the total number of late read operations since the last time the counter was reset.
1918=Total Late Sends
1919=Total Late Sends is the total number of late send operations since the last time the counter was reset.
1920=Total Stream Denials
1921=Total Stream Denials is the total number of stream denials since the last time the counter was reset. This includes both denials that occurred due to failure to be authorized or authenticated, as well as denials that occurred because limits were exceeded.
1922=Total Stream Errors
1923=Total Stream Errors is the total number of stream errors due to dropped packets since the last time the counter was reset.
1924=Total Streaming Players
1925=Total Streaming Players is the total number of players that have been streamed data since the last time the counter was reset.
1926=Total Stream Terminations
1927=Total Stream Terminations is the total number of streams that were terminated due to inactivity or errors since the last time the counter was reset. This includes terminations that occurred because player inactivity and timeout limits were exceeded, as well as terminations that were due to events such as late reads.
1928=Total UDP Resend Requests
1929=Total UDP Resend Requests is the total number of requests for UDP resends received from clients since the last time the counter was reset.
1930=Total UDP Resends Sent
1931=Total UDP Resends Sent is the total number of UDP resends sent to clients since the last time the counter was reset.
1932=Total Server Uptime
1933=Total Server Uptime is the elapsed time, in seconds, which the Windows Media Services service has been running since it was last started.
1934=Total Advertisements
1935=Total Advertisements is the total number of advertisements that have been streamed from playlists since the last time the counter was reset.
1936=Total Streaming HTTP Players
1937=Total Streaming HTTP Players is the total number of players being streamed data using the HTTP protocol.
1938=Total Streaming RTSP Players
1939=Total Streaming RTSP Players is the total number of players being streamed data using the RTSP protocol.
1940=Total Streaming UDP Players
1941=Total Streaming UDP Players is the total number of players being streamed data using the UDP protocol.
1942=Total Player Bytes Sent
1943=Total Player Bytes Sent is the total number of bytes streamed to all players since the last time the counter was reset.
1944=Total Outgoing Distribution Bytes Sent
1945=Total Outgoing Distribution Bytes Sent is the total number of bytes streamed to all distribution servers since the last time the counter was reset.
1946=Windows Media Publishing Points
1947=Windows Media Services Publishing Point Performance Counters
1948=Current Player Allocated Bandwidth (Kbps)
1949=Current Player Allocated Bandwidth is the current bandwidth, in Kbps, that is allocated for streams to all players.
1950=Current Outgoing Distribution Allocated Bandwidth (Kbps)
1951=Current Outgoing Distribution Allocated Bandwidth is the current bandwidth, in Kbps, allocated for streams to all distribution servers.
1952=Current Connected Players
1953=Current Connected Players is the current number of players with unicast connections to the publishing point.
1954=Current Streaming HTTP Players
1955=Current Streaming HTTP Players is the current number of players being streamed data using the HTTP protocol. This does not include players that are stopped or paused.
1956=Current Streaming MMS Players
1957=Current Streaming MMS Players is the current number of players being streamed data using the MMS protocol. This does not include players that are stopped or paused.
1958=Current Outgoing Distribution Connections
1959=Current Outgoing Distribution Connections is the current number of connections to distribution servers.
1960=Current Streaming RTSP Players
1961=Current Streaming RTSP Players is the current number of players being streamed data using the RTSP protocol. This does not include players that are stopped or paused.
1962=Current Streaming Players
1963=Current Streaming Players is the current number of players being streamed data across all protocols. This does not include players that are stopped or paused.
1964=Current Late Read Rate
1965=Current Late Read Rate is the current number of late read operations per second.
1966=Current Stream Error Rate
1967=Current Stream Error Rate is the current number of errors per second due to dropped packets.
1968=Current File Read Rate (Kbps)
1969=Current File Read Rate is the current read rate, in Kbps, for all data files.
1970=Current Streaming UDP Players
1971=Current Streaming UDP Players is the current number of players being streamed data using the UDP protocol.
1972=Peak Player Allocated Bandwidth (Kbps)
1973=Peak Player Allocated Bandwidth is the peak bandwidth, in Kbps, that was allocated for streams to players since the last time the counter was reset.
1974=Peak Outgoing Distribution Allocated Bandwidth (Kbps)
1975=Peak Outgoing Distribution Allocated Bandwidth is the peak bandwidth, in Kbps, allocated for all streams to distribution servers that have connected since the last time the server was reset.
1976=Peak Connected Players
1977=Peak Connected Players is the peak number of players that have connected since the last time the counter was reset.
1978=Peak Outgoing Distribution Connections
1979=Peak Outgoing Distribution Connections is the peak number of distribution servers that have connected since the last time the counter was reset.
1980=Peak Streaming Players
1981=Peak Streaming Players is the peak number of players that have been streamed data since the last time the counter was reset.
1982=Peak Streaming HTTP Players
1983=Peak Streaming HTTP Players is the peak number of players being streamed data using the HTTP protocol.
1984=Peak Streaming RTSP Players
1985=Peak Streaming RTSP Players is the peak number of players being streamed data using the RTSP protocol.
1986=Peak Streaming UDP Players
1987=Peak Streaming UDP Players is the peak number of players being streamed data using the UDP protocol.
1988=Total Connected Players
1989=Total Connected Players is the total number of players that have connected since the last time the counter was reset.
1990=Total Outgoing Distribution Connections
1991=Total Outgoing Distribution Connections is the total number of distribution servers that have connected since the last time the counter was reset.
1992=Total Late Reads
1993=Total Late Reads is the total number of late read operations since the last time the counter was reset.
1994=Total Stream Denials
1995=Total Stream Denials is the total number of stream denials since the last time the counter was reset. This includes both denials that occurred due to failure to be authorized or authenticated, as well as denials that occurred because limits were exceeded.
1996=Total Stream Errors
1997=Total Stream Errors is the total number of stream errors due to dropped packets since the last time the counter was reset.
1998=Total Streaming Players
1999=Total Streaming Players is the total number of players that have been streamed data since the last time the counter was reset.
2000=Total Stream Terminations
2001=Total Stream Terminations is the total number of streams that were terminated due to inactivity or errors since the last time the counter was reset. This includes terminations that occurred because player inactivity and timeout limits were exceeded, as well as terminations that were due to events such as late reads.
2002=Total Advertisements
2003=Total Advertisements is the total number of advertisements that have been streamed from playlists since the last time the counter was reset.
2004=Total Streaming HTTP Players
2005=Total Streaming HTTP Players is the total number of players being streamed data using the HTTP protocol.
2006=Total Streaming RTSP Players
2007=Total Streaming RTSP Players is the total number of players being streamed data using the RTSP protocol.
2008=Total Streaming UDP Players
2009=Total Streaming UDP Players is the total number of players being streamed data using the UDP protocol.
2010=Total File Bytes Read
2011=Total File Bytes Read is the total number of file bytes read.
2012=Total Player Bytes Sent
2013=Total Player Bytes Sent is the total number of bytes streamed to all players since the last time the counter was reset.
2014=Total Outgoing Distribution Bytes Sent
2015=Total Outgoing Distribution Bytes Sent is the total number of bytes streamed to all distribution servers since the last time the counter was reset.





3. Go to machine B, make sure you have copied perfcountergood.txt from machine A to machine B yet. Open a CMD window in elevated mode. Run lodctr /r:perfcountergood.txt


4. Modify the value under “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WMServer\Performance\ObjectList” of machine B. Make sure the value is same as Machine A's.


Please note that the machines need to be configured identically so that the index differences should not matter.





Properties

Article ID: 2289366 - Last Review: Aug 6, 2010 - Revision: 1

Feedback