file descriptors - Setting the AIX nofiles - file descriptors
Technote (troubleshooting)
Problem(Abstract)
ulimit -Hn and ulimit -Sn outputs hard and soft nofiles(file descriptors),which is related to sockets available to the operating system and applications
Cause
When you are seeing out of thread related issues.
Resolving the problem
AIX: ulimit -a outputs the following: time(seconds) unlimited file(blocks) 2097151 data(kbytes) 131072 stack(kbytes) 32768 memory(kbytes) 32768 coredump(blocks) 2097151 nofiles(descriptors) 2000 (hard limit max is unlimited, which is governed by OPEN_MAX) NOTE: The hard limit must at least equal the soft limit before the soft limit Can be changed. The file that must be altered is the /etc/security/limits file and must be change by root. fsize = 2097151 core = 2097151 cpu = -1 data = 262144 rss = 65536 stack = 65536 nofiles = 2000
NOTE: The setting can be done as default or by user, separate stanzas for the chosen method is required To make it effective two methods can be used. 1. kill –1 <inetd process id> Process id can be acquired with the following command <ps –ef | grep inetd> or refresh inetd 2.reboot.
Product Alias/Synonym
AIX
Framework
FW
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.
Rate this page
Please take a moment to complete this form to help us better serve you.