HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- number of files opened
Operating System - HP-UX
1833059
Members
2476
Online
110049
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
07-30-2007 11:46 PM
07-30-2007 11:46 PM
number of files opened
Hello:
When I check file table usage it gives me about 55% of utilization
uoppalbd:/usr/hpsupport#cat files-adviser.txt
primer_bucle = primer_bucle
if primer_bucle == 0 then {
PRINT "Maquina ",
" ",gbl_osname,
" ",gbl_nodename,
" ",gbl_machine_model,
" ",gbl_osrelease,
" ",gbl_osversion,
" ",gbl_oskerneltype,
" ",gbl_num_cpu,
""
PRINT "Start ",
" ",gbl_startdate,
" ",gbl_starttime,
""
primer_bucle = 1
}
print " TBL", tbl_file_table_util|8|0
if tbl_file_table_util > 90 then {
XXXX:#/opt/perf/bin/glance -adviser_only -syntax files-advi>
Welcome to GlancePlus
Maquina HP-UX XXXX ia64 hp superdome se B.11.23 U 64 bits 40
Start 07/31/2007 13:34:09
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
As nfile is 100000 I thought it would be about 55000 files opened but if I run lsof it appears have opened more than
100000 files
XXXX#lsof -n
101578
When I check file table usage it gives me about 55% of utilization
uoppalbd:/usr/hpsupport#cat files-adviser.txt
primer_bucle = primer_bucle
if primer_bucle == 0 then {
PRINT "Maquina ",
" ",gbl_osname,
" ",gbl_nodename,
" ",gbl_machine_model,
" ",gbl_osrelease,
" ",gbl_osversion,
" ",gbl_oskerneltype,
" ",gbl_num_cpu,
""
PRINT "Start ",
" ",gbl_startdate,
" ",gbl_starttime,
""
primer_bucle = 1
}
print " TBL", tbl_file_table_util|8|0
if tbl_file_table_util > 90 then {
XXXX:#/opt/perf/bin/glance -adviser_only -syntax files-advi>
Welcome to GlancePlus
Maquina HP-UX XXXX ia64 hp superdome se B.11.23 U 64 bits 40
Start 07/31/2007 13:34:09
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
TBL 55
As nfile is 100000 I thought it would be about 55000 files opened but if I run lsof it appears have opened more than
100000 files
XXXX#lsof -n
101578
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2007 12:39 AM
07-31-2007 12:39 AM
Re: number of files opened
man lsof
An open file may be a regular file, a directory, a block special file, a character special file, an executing text reference, a library, a stream or a network file
(Internet socket, NFS file or UNIX domain socket.)
An open file may be a regular file, a directory, a block special file, a character special file, an executing text reference, a library, a stream or a network file
(Internet socket, NFS file or UNIX domain socket.)
share share share
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2007 01:04 AM
07-31-2007 01:04 AM
Re: number of files opened
I think you are comparing apples to oranges. One thing you need to consider is when a fork occurs. The child process would get a copy of the the file descriptor table. This would allow the child access to the files of the parent.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2007 03:31 AM
07-31-2007 03:31 AM
Re: number of files opened
You are making a fundamental error in your thinking. From the perspective of the NFILE tunable, n instances of the same file being open count as only 1. For example, if 50 people were vi'ing /etc/passwd (which would not be smart for a number of reasons), that would only count as 1 file to the kernel.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP