- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- "too many open files" with kernel parameters ok
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 01:24 AM
11-29-2005 01:24 AM
"too many open files" with kernel parameters ok
we have one process runing on hp-ux 11i. The kernel is ok, and the "sar -v" goes fine.
The user, owner of the procces, has the limit at 2048, but whit "lsof", we can see than the process have 1027 descriptors opened only.
What can be happening?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 01:39 AM
11-29-2005 01:39 AM
Re: "too many open files" with kernel parameters ok
A few possible factors.
maxuprc
Maximum processes allowed for any given user.
check kmtune for its setting.
If the user is exceeding maxuprc then that would totally explain the problem.
To fix it, you must change the parameter, compile, place the kernel and reboot.
The default setting is 75.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 01:46 AM
11-29-2005 01:46 AM
Re: "too many open files" with kernel parameters ok
I guess you need to increase the "maxfiles" kernel parameter which defines ( soft limit )max number of files could be opened by a "process". If you want a hard limit , then you can set the "maxfiles_lim" parameter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 02:09 AM
11-29-2005 02:09 AM
Re: "too many open files" with kernel parameters ok
maxfiles 2048
maxfiles_lim 2048 nfile 7649
nproc 4020
sar -v 1 10
15:07:24 text-sz ov proc-sz ov inod-sz ov file-sz ov
15:07:25 N/A N/A 170/4020 0 1479/4688 0 4282/7659 0
15:07:26 N/A N/A 170/4020 0 1479/4688 0 4282/7659 0
15:07:27 N/A N/A 170/4020 0 1479/4688 0 4280/7659 0
15:07:28 N/A N/A 170/4020 0 1479/4688 0 4280/7659 0
.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 02:15 AM
11-29-2005 02:15 AM
Re: "too many open files" with kernel parameters ok
nfile 7649
maxuprc 3618
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 04:13 AM
11-29-2005 04:13 AM
Re: "too many open files" with kernel parameters ok
I guess it's default value is 1024. If it is 1024 , then you need to increase it using
# ulimit -n
Can you tell more about that process like What it does, How it is started/run ?
Where/when do you see this error ? Is it happen always?
Do you see any other messages in dmesg or syslog when it happens?
Any recent changes in the system?