- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- max number of files used by users
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
08-14-2006 10:14 AM
08-14-2006 10:14 AM
Thanks ..
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2006 10:24 AM
08-14-2006 10:24 AM
SolutionIf you have Glance then this is easy but sar -v can also tell you the number of files in use. There are two different limits in play, nfile - the global file table but if 50 users/processes have the same file open (e.g. /etc/hosts) that only counts as 1. The other limit is maxfiles and that is a per-process limit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2006 10:29 AM
08-14-2006 10:29 AM
Re: max number of files used by users
There are certain kernel parameters which imposes the limits but they are either per process basis or system-wide.
maxfiles : soft limit for # of files a process can access
maxfiles_lim : hard limit for # of files a process can access
nfiles : number of files that can be open at any given time on the system, regardles who opens them.
On the other hand if you are not looking for kernel limits but you are looking for the number of files on disks, I do not believe there are any limits unless you enable accounting subsystem and set the value to whatever you wish. (I am not even sure if there is such a limit on accounting system)
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2006 10:29 AM
08-14-2006 10:29 AM
Re: max number of files used by users
http://docs.hp.com/en/939/KCParms/KCparam.Nfile.html
Depends upon the shell and how the command ulimit is used by the shell. In posix, ulimit -n limits users to 60, but in ksh, its unlimited.
http://www.faqs.org/faqs/hp/hpux-faq/
And if you enable quotas you can use edquota for user limits.
http://docs.hp.com/en/B2355-60103/edquota.1M.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2006 06:54 PM
08-14-2006 06:54 PM
Re: max number of files used by users
is ur question is:
"could you tell me what is the maxium number of files CAN BE used by every user in the system?" ----no limits for this(i think)
"could you tell me what is the maxium number of files used by every user in the system AT A TIME?" ---- nfile parameter. its default value is 65536
"could you tell me the number of files in use at this moment in the system?" Clay given the solution.