RSA Access Manger is unable to open new sockets
Originally Published: 2011-10-03
Article Number
Applies To
RSA Product/Service Type: Access Manager
RSA Version/Condition: 6.1, 6.2
Issue
Error in aserver out.
Error connecting to the dispatcher at:server.com:5607
Too many open files
Retry in 10 seconds
Error in dispatcher.log
sequence_number=567151,remote_client=dispatcher1,2011-08-30 10:20:21:188 EDT,messageID=2001,event_type=Ping Failure,event_description=Ping failure for server,server=AuthServerDetails( Addr = aserver1, Port = 5615, Exp host = 192.168.2.10, Location Class = class1, Failure Cnt = 3
When attempting to start the server instance the following error is generated:
Starting RSA Access Manager 6.1.4 Servers: /server-61/bin/aserver.sh: fork: retry: Resource temporarily unavailable
/server-61/bin/aserver.sh: fork: retry: Resource temporarily unavailable
When attempting to start the server instance the aserver.out shows the following exception:
20:36:30:863 [*] [main] - Resolved hostname to following IP(s) : 192.168.0.10
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at netscape.ldap.LDAPConnThread.connect(Unknown Source)
Cause
Resolution
The UNIX command ulimit -n will list the current number of file handles allocated to the process. The ulimit can be set per user, so the command should be executed using the account used to launch the aserver. The ulimit command can also be used to set the values for the maximum number of file handles. On UNIX each TCP socket requires a file handle. File handles are also required for processes and log files. The default setting for max file handles on some UNIX systems may be 1024 which is insufficient for an RSA Access Manager Aserver. Set this limit to 2048 or higher depending on the number of actual sockets in use.
If the ulimit cannot be set high enough, the hard limits may need to be raised by editing the following in the /etc/security /limits.conf file.
* soft nofile 256000
* hard nofile 256000
Related Articles
Unable to see encrypted data after a password change for a database user 4Number of Views Unable to see quick links solution tabs or navigation menu after signing in with SSO 90Number of Views AM7.1 Unable to install a patch: The installer was unable to set required configuration data. 24Number of Views Why am I getting an "Unable to process request" error when viewing content on the RSA Community? 33Number of Views 'HTML_Template: [XrcBADSOURCE] unable to open source file' being seen when trying to access autovetting page 8Number of Views
Trending Articles
Passwordless Authentication in Windows MFA Agent for Active Directory – Quick Setup Guide RSA Authentication Manager 8.9 Release Notes (January 2026) RSA Authentication Manager Upgrade Process RSA Authentication Manager 8.7 SP2 Setup and Configuration Guide An example of SSO using SAML and ADFS with RSA Identity Management and Governance 6.9.x
Don't see what you're looking for?