Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
Showing results for 
Search instead for 
Did you mean: 

list kernel parameter max_open_files

Go to solution
Super Advisor

list kernel parameter max_open_files

Hi, (I am not familiar with tru64 OS)

I have a system where a user has stated the max open files limit has been reached ....

I want to determine that he is correct ...

I have the following:

root@brcu008a # sysconfig -Q proc open_max_hard
open_max_hard - type=INT op=CQ min_val=0 max_val=4096

root@brcu008a # ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 67108864
stack(kbytes) 524288
memory(kbytes) 8155896
coredump(blocks) unlimited
nofiles(descriptors) 4096
vmemory(kbytes) 67108864

root@brcu008a # lsof |grep expre |wc -l

how can I determine that the limit has been reached for that user (root owns the master express daemon)


Venkatesh BL
Honored Contributor

Re: list kernel parameter max_open_files

Yes, open_max_soft/hard is for the process and if this particular process is owned by root, the user will not be warned about this. May be you should ask him to look at the processes that is run with his credentials.

Check out the man page of 'sys_attrs_proc' for more details.
Kapil Jha
Honored Contributor

Re: list kernel parameter max_open_files

You will get alert in messages file and/or syslog.log.
From your lsof output is seems that this parameter has reached because of number of file open in ur system seems to be unusually high.
Ask user to restrat that process , I think as of now no need to increase that parameter.
Just monitor this time.
I am in this small bowl, I wane see the real world......
Super Advisor

Re: list kernel parameter max_open_files

thanks - user restarted the app as there is a known issue