Troubleshooting
SSH
- On Windows - If an SSH connection to a computer appears to hang, check to see whether firewall settings are preventing the connection. To resolve this problem, either temporarily disable the firewall or place an exception for SSH within the Windows Security Center.
browse.js Script
- If the browse.js script fails due to a syntactical or runtime error, a message resembling the following is returned.
C:\browse\browse.js(920, 2) Microsoft JScript runtime error: File not found
The numbers within the parenthesis indicate the line where the source of the problem occurs. In this case, the problem is occurring on line 920.
Additionally, browse.js can be run in debug mode. Debug mode provides additional logging output to STDOUT. To run in debug mode, edit browse.js and set prtdebug to a value of 1:
prtdebug = 1;
browsechild
- The browsechild program iterates through each depot within the repository. This means partially populated or empty depots will also be browsed. This will affect the results of the benchmark.
- The Browse Benchmark launches a large number of browsechild client connections. Depending on the Browse Benchmark configuration the Windows default range of anonymous ports (5000 decimal) may not be sufficient to successfully complete the test. Either of the following errors can be raised if this problem occurs.
BrowseChild error: Connect to server failed; check $P4PORT. TCP connect to myhost:31697 failed. connect: myhost:31697: WSAEADDRINUSE
BrowseChild error: Connect to server failed; check $P4PORT. TCP connect to myhost:31697 failed. connect: myhost:31697: WSAENOBUFS
The range of anonymous ports may be increased by adding a MaxUserPort registry key under HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters and set to an appropriate REG_DWORD value. For the purpose of testing the maximum range value of 65534 (decimal) is more than sufficient to satisfy most test configurations. For detailed information refer to the following links: http://support.microsoft.com/kb/319502 and http://support.microsoft.com/kb/q196271.