000012437 - Set Open Files Hard Limit for a Web-Tier server

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000012437
Applies ToRSA Authentication Manager Web Tier
RSA Authentication Manager 8.X
Red Hat Enterprise Linux, RHEL RHEL4 RHEL5
IssueSet Open Files Hard Limit for a Web-Tier server
Installation of Web Tier software fails
ResolutionThe AM8.X setup guide procedure includes instructions:
"On Linux systems, verify that the open files hard limit for the local user is at least 4096."
but does not include information on how to check or change it.

See the documenmtation for your linux installation for specific details. A generic overview of the topic is below, adapted from :
http://johanlouwers.blogspot.com/2010/02/hard-limit-for-maximum-open-file.html

"Each user has per-user file descriptor limits. It includes soft and hard limits. hard limit is the absolute limit, user can set its soft limit freely to any value up to hard limit (use command: ulimit -n xxxx). Per-user limit defaults to 1024. Only root can increase the hard limit.

To change this you can add a line similar to the one below to your file:  
/etc/security/limits.conf
userxyz hard nofile 65536 "
NotesSome examples of the /etc/security/limits.conf file  from internal RSA lab systems

AM8.0 and AM8.1 servers (not Web Tier) includes by default:  
rsaadmin hard nofile 4096

RHEL6.4  included only commented samples by default, no entries are set

RSA Appliance 3.0.4  (rPath Linux) includes:  
rsaadmin hard nofile 65536  

Only root should set the file. Make sure the file ends in a new line.
Legacy Article IDa64470

Attachments

    Outcomes