Operating System - HP-UX
1835234 Members
1745 Online
110078 Solutions
New Discussion

Re: files/directory support

 
vselvaraj
Advisor

files/directory support

Hai All,

We need some help to know the following.

1. Maximum number of users supported in a single HP-UX 11.x S800 Server.

2. Maximum number of files in a directory in vxfs filesystem in HPUX 11.x

3. Maximum number of directories in vxfs file system HPUX 11.x

Thanks in Advance,
V.Selvaraj
4 REPLIES 4
Andreas Voss
Honored Contributor

Re: files/directory support

Hi,

to your first question:
if you have 2-user license (check with: uname -l) you can have:
two users logged in at terminal/modem OR
one user logged in on termial/modem and unlimited users logged in via network.
Increasing licenses is only needed if you have more terminal (ie. terminal server) users logged in.

Regards
CHRIS_ANORUO
Honored Contributor

Re: files/directory support

1. The HPUX unlimited licenses for your server is available, if you have 2 user license taht does not limit users of an oracle database. It only means you can't start oracle, and more than 2 other applications through the terminals onto the system.
2. HPUX 11 supports more than 1 Trillion of filesystem and file size.
3. I have not come across a limit to number of files a directory should contain. This quota only checks for disk space usage and not number of directories.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Paula J Frazer-Campbell
Honored Contributor

Re: files/directory support

Hi
Re:- your 2nd question, whilst you can have a large number of files in a dir, the greater the number the slower your system will be. To access a particular file in a dir the system first has to know where it is stored on the disks, so the more files the longer it takes. I know I am talking in milliseconds but they all add up.
I try to keep files per directory under 1024 - difficult at times I know but well worth it.
If you can spell SysAdmin then you is one - anon
RikTytgat
Honored Contributor

Re: files/directory support

Hi,

The maximum number of directories on a vxfs filesystem is limited by the number of inodes only.

There is another limit that is not unimportant. You can have maximum link count of 32767. This means you can only have 32765 subdirectories in a directory, because each subdirectory contains a link to the parent directory (..).

This limit is defined in /usr/include/limits.h (LINK_MAX)

Bye,
Rik.