Operating System - Tru64 Unix
1748180 Members
4154 Online
108759 Solutions
New Discussion юеВ

list kernel parameter max_open_files

 
SOLVED
Go to solution
lawrenzo_1
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
proc:
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
134401

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

Thanks

Chris
hello
3 REPLIES 3
Venkatesh BL
Honored Contributor
Solution

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.
BR,
Kapil
I am in this small bowl, I wane see the real world......
lawrenzo_1
Super Advisor

Re: list kernel parameter max_open_files

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