Problem Note 57013: Load-balancing problems can occur if a SAS® Stored Process Server process fails to start
If a SAS Stored Process Server MultiBridge port is in use when the SAS Object Spawner is started, you might encounter load-balancing problems.
The SAS Object Spawner is designed to attempt to restart SAS Stored Process Server processes that have previously failed to start on a specific port. A server that previously failed to start has its state cleared so that the Object Spawner will see that it can now be used again.
A problem has been reported whereby the Object Spawner incorrectly clears the states of
successfully started and running servers. This cleared state causes the Object Spawner to attempt to launch these server processes again. Then, the server processes fail because they have dedicated listen ports that are currently
in use by the successfully started process.
The problem is most likely to occur when the Object Spawner is restarted. The prior execution of
the Object Spawner should have stopped any Stored Process Server processes that were still running when the Object Spawner was told to shut down. However, in some cases (such as when a Stored Process Server process is in a "hung" state), the request to stop the Stored Process Server might fail to actually stop the process. Then, the running process will still be holding on to the listen port when the Object Spawner
attempts to restart. When this problem occurs, the Object Spawner log contains the following error:
The TCP/IP tcpSockBind support routine failed with error 98 (The specified address is already in use.).
Bridge Protocol Engine Socket Access Method was unable to bind the listen socket to port xxxx.
If you encounter this problem, complete these steps:
- Stop the Object Spawner.
- Check whether any Stored Process Server processes are still running.
- Under Linux or UNIX (if your Stored Process Server is running on the default "sassrv" user account),
use the following command:
- Under Windows, use Windows Task Manager:
- Select the Command Line column in order to
see the command that was used to launch processes.
- Look for processes that are running
under the "sassrv" user account.
For more information, see
SAS Note 17488: "Tips for identifying Process IDs associated with Stored Process Servers."
- If you find any Stored Process Server processes that are still running, then "kill" these processes.
- Restart the Object Spawner.
- Check the Object Spawner log file to make sure that it does not contain any messages
that state "The specified address is already in use."
A hot fix has been planned for this issue.
Operating System and Release Information
SAS System | SAS Integration Technologies | Microsoft® Windows® for x64 | 9.3 TS1M0 | 9.4 TS1M3 |
Microsoft Windows Server 2003 Datacenter Edition | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.3 TS1M0 | |
Microsoft Windows Server 2003 for x64 | 9.3 TS1M0 | |
Microsoft Windows Server 2008 | 9.3 TS1M0 | 9.4 TS1M3 |
Microsoft Windows Server 2008 R2 | 9.3 TS1M0 | 9.4 TS1M3 |
Microsoft Windows Server 2008 for x64 | 9.3 TS1M0 | 9.4 TS1M3 |
Microsoft Windows XP Professional | 9.3 TS1M0 | |
Windows 7 Enterprise 32 bit | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Enterprise x64 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Home Premium 32 bit | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Home Premium x64 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Professional 32 bit | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Professional x64 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Ultimate 32 bit | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Ultimate x64 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows Vista | 9.3 TS1M0 | |
Windows Vista for x64 | 9.3 TS1M0 | |
64-bit Enabled AIX | 9.3 TS1M0 | 9.4 TS1M3 |
64-bit Enabled HP-UX | 9.3 TS1M0 | 9.4 TS1M3 |
64-bit Enabled Solaris | 9.3 TS1M0 | 9.4 TS1M3 |
HP-UX IPF | 9.3 TS1M0 | 9.4 TS1M3 |
Linux | 9.3 TS1M0 | 9.4 TS1M3 |
Linux for x64 | 9.3 TS1M0 | 9.4 TS1M3 |
Solaris for x64 | 9.3 TS1M0 | 9.4 TS1M3 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
If a SAS Stored Process Server MultiBridge port is in use when the SAS Object Spawner is started, you might encounter load-balancing problems.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2015-11-06 15:07:45 |
Date Created: | 2015-11-04 17:16:16 |