Operating System - HP-UX
1748245 Members
3608 Online
108760 Solutions
New Discussion юеВ

Re: Too Many Open Files error message

 
Dennis Handly
Acclaimed Contributor

Re: Too Many Open Files error message

I forgot to mention since you are on 11.31, you can use pfiles(1) to see how many open files there are for that sshd PID 6409, if still there:
pfiles 6409
щ╗ЮчЗГ
Valued Contributor

Re: Too Many Open Files error message

please check how many users are logged in to the server through ssh etc and the number of Pseudo Terminals (npty) being used.

You can check this from 'glance'.
Go to glance and press 't' for the system tables report.
If there are any inactive sessions, kill them.

Regards!
Man's mind, once stretched by a new idea, never regains its original dimensions
yn_wangchao163.com
Occasional Advisor

Re: Too Many Open Files error message

Thanks,
I saw a very large nfile(2147483647) by glance.
yn_wangchao163.com
Occasional Advisor

Re: Too Many Open Files error message

System Table Available Used Utilization High(%)
--------------------------------------------------------------------------------
Proc Table (nproc) 4200 533 13 13
File Table (nfile) 2147483647 6371 0 0
Shared Mem Table (shmmni) 512 16 3 3
Message Table (msgmni) 4200 2 0 0
Semaphore Table (semmni) 8400 30 0 0
File Locks (nflocks) 4200 81 2 2
Pseudo Terminals (npty) 60 0 0 0
Buffer Headers (nbuf) na 11936 na na
Dennis Handly
Acclaimed Contributor

Re: Too Many Open Files error message

On my 11.31, nfile is 0, so I guess you can ignore it.

What is the value of maxfiles_lim and have you tried pfiles(1)?
yn_wangchao163.com
Occasional Advisor

Re: Too Many Open Files error message

maxfiles_lim=4096
Johnson Punniyalingam
Honored Contributor

Re: Too Many Open Files error message

how about macfile..?

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
yn_wangchao163.com
Occasional Advisor

Re: Too Many Open Files error message

Thanks,
maxfiles=2048
Johnson Punniyalingam
Honored Contributor

Re: Too Many Open Files error message

looks ok to me.

# maxfile = 2048
# maxfiles_lim =4096

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: Too Many Open Files error message

you try increasing the "parameter" has suggested earlier.

Thanks,
Johnson
Problems are common to all, but attitude makes the difference