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
Are Access Manager Agents susceptible to Session Fixation attacks? 4Number of Views Access Manger MUX Pool Exhausted error message 123Number of Views Access Manger 6.1 aserver log shows 'Unable to send data to receiver' message 68Number of Views Unable to access RSA Authentication Manager Embedded Identity Router setup console 160Number of Views Unable to access the RSA Authentication Manager 8.1 Quick Setup page 312Number of Views
Trending Articles
RSA SecurID software token .sdtid file fails to import into RSA SecurID Software Token 5.0 for Windows RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager Patch Updates Unable to login to RSA Authentication Manager Security Console as super admin RSA Authentication Manager Upgrade Process
Don't see what you're looking for?