- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How can I know if max open file was reached on OS
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
12-25-2002 05:46 AM
12-25-2002 05:46 AM
How can I know if max open file was reached on OS
I can see number of files which is being opened currently with glance but for past info I'm no idea.
Please give me any idea for this.
Regards
Hide
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2002 06:12 AM
12-25-2002 06:12 AM
Re: How can I know if max open file was reached on OS
-Quote-
MANOJ SRIVASTAVA
May 01, 2002 16:04 PM GMT [ unassigned ]
--------------------------------------------------------------------------------
Hi Christopher
Do a sar -v 2 10 and you can get the dynamic values og nfile , nproc and ninodes , you can increase the same using SAM.It looks the nfile is getting saturated.
Manoj Srivstava
-quote-
James R. Ferguson
July 20, 2001 11:08 AM GMT [ unassigned ]
--------------------------------------------------------------------------------
Hi Kevin:
Insofar as measuring file, inode and process table sizes, 'sar -v' is quite useful as is Glance's [t]able screen. For file table metrics, 'sar' reports the current, the maximum and the number of times an overflow has occured.
Hope it helps.
Kind regards,
Robert-jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2002 09:08 AM
12-25-2002 09:08 AM
Re: How can I know if max open file was reached on OS
The only way I know of the determine if the nfile limit was reached is to look in /var/adm/syslog/syslog.log for any error messages telling you that the limit was reached.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2002 01:39 AM
12-26-2002 01:39 AM
Re: How can I know if max open file was reached on OS
to add to above replies, please note that you can also use Glance+ System Table report.
Example report:
============================================================
--------------------------------------------------------------------------------
SYSTEM TABLES REPORT Users= 1
System Table Available Used Utilization High(%)
--------------------------------------------------------------------------------
Proc Table (nproc) 4116 435 11 11
File Table (nfile) 63798 3206 5 5
Shared Mem Table (shmmni) 512 14 3 3
Message Table (msgmni) 4116 2 0 0
Semaphore Table (semmni) 4096 27 1 1
File Locks (nflocks) 4096 74 2 2
Pseudo Terminals (npty) 60 0 0 0
Buffer Headers (nbuf) na 77724 na na
============================================================
Hope this helps!
Best Regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2002 08:36 AM
12-26-2002 08:36 AM
Re: How can I know if max open file was reached on OS
It will not tell you when it happened but, you will see if it has hit 100%. At that point you know you should probably increase it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2002 10:46 AM
12-26-2002 10:46 AM
Re: How can I know if max open file was reached on OS
Normally if nfile is execeeded you *should* find an entry in /var/adm/syslog/syslog.log stating date/time it occurred.
Run the following
grep -i nfile /var/adm/syslog/syslog.log
Now if it is/was max files/process then these may not log an entry in syslog. These kernel params are
maxfiles (soft limit/process)
maxfiles_limk (hard, absolute limit/process)
HTH,
Jeff