Kbase P129450: Error 5804 with -63 randomicaly requesting a WebSpeed Application
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  13/02/2009 |
|
Status: Verified
SYMPTOM(s):
Error 5804 with -63
Msngr: Failed to connect to the specified WebSpeed named service. <BR>Verify that the service has been started. <BR>Verify the configuration for the service is correct. (5804)
WebSpeed agent log, if running on the same machine, might show the error 1432 with operating system error 10055.
** Could not connect to server for database <DATABASE>, errno <ERRNO>. (1432)
WebSpeed agent log, if running on the same machine, might show the error 6396 with -12
WTA: npp_enable_connections() failed with error number:-12 . (6396)
FACT(s) (Environment):
Heavy load of cgiip.exe running on a single machine.
Windows 2003
OpenEdge 10.1x
CAUSE:
Due to WebSpeed Architecture , the cgiip.exe is executed once for each client request, and for heavy applications, the messenger may be a great consumer of tcp/ip ports and reach the limit of dynamic ports on Windows. The messenger itself will not log any details about the error, but only reports the error -63 (Port Unavailable) to the client. In case this limit is reached in the agent, the error 6396 or 1432 will be logged.
FIX:
The default maximum number of ephemeral TCP ports in Windows is 5000. To increase the maximum number of ephemeral ports, follow these steps:
1. Start Registry Editor.
2. Locate the following subkey in the registry, and then click Parameters: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
3. On the Edit menu, click New, and then add the following registry entry: Value Name: MaxUserPort
Value Type: DWORD
Value data: 65534
Valid Range: 5000-65534 (decimal)
Default: 0x1388 (5000 decimal)
Description: This parameter controls the maximum port number that is used when a program requests any available user port from the system. Typically , ephemeral (short-lived) ports are allocated between the values of 1024 and 5000 inclusive. 4. Exit Registry Editor, and then restart the computer.