Gathering information about the number of connections in a process or service can help debug connection count problems with Wowza Streaming Engine™ media server software. If you believe Wowza Streaming Engine is under- or over-reporting connection count information either through the ConnectionCounts admin XML or when viewing ConnectionCounts in JConsole/JMX, then follow the instructions below to collect the information that will help Wowza Support engineers troubleshoot the problem.
Collect and analyze debug information
- Using a text editor, add a user name and password to the [install-dir]/conf/admin.password file. These credentials will be used to access the serverinfo URL listed below.
Note: We recommend encoding your password using one of the methods supported by Wowza Streaming Engine (bcrypt or digest). For more information, see Manage users with the Wowza Streaming Engine CLI password tool.
- When Wowza Streaming Engine appears to be misreporting connection counts, enter the following URL into a browser, and then enter the user name and password that will access serverinfo:
http://[wowza-ip-address]:8086/serverinfo
- In the browser, view the XML source of the page.
- Save the source, name it serverinfo1.xml, and close the browser.
- Wait for two minutes.
- Repeat steps 2-4 (making sure the page is updated with the most recent serverinfo information), and then save the file as serverinfo2.xml.
- Enter the following URL into a browser, and then enter the user name and password to access connectioncounts:
http://[wowza-ip-address]:8086/connectioncounts
- In the browser, view the XML source of the page.
- Save the source, name it connectioncounts.xml, and close the browser.
- Open a Command Prompt window and enter the command:
netstat -a > netstatinfo.txt
Troubleshooting and error reporting
If you have problems, open Support ticket. (Technical support is included with all active subscriptions and maintenance and support contracts.) In the Support ticket form:
- Provide a detailed description of which connection counts you believe are wrong and a rough estimate of what you think the connection counts should be.
- Zip up serverinfo1.xml, serverinfo2.xml, connectioncounts.xml, and netstatinfo.txt, and attach the zipped file in the area provided. (See Prepare Wowza Streaming Engine config and log files for Support tickets.)