- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: maxfiles
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
Forums
Discussions
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
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
01-13-2003 02:59 AM
01-13-2003 02:59 AM
If I set the maxfiles parameter to 4096 from kernel.
It will have any problem in the future.
What kind of probem will have?
What the recommend values?
Any idea or thought would be appreciated
Regards
Sonny
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 03:05 AM
01-13-2003 03:05 AM
Re: maxfiles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 03:08 AM
01-13-2003 03:08 AM
Re: maxfiles
if patch PHNE_27217 is already installed you shouldn't get problems with setting 'maxfiles' higher up then 2048. But you should also increase 'maxfile_lim' to 4096.
Regards ...
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 03:11 AM
01-13-2003 03:11 AM
Re: maxfiles
you will not be having any problem if you set the maxfile to 4096.
recommended value is based on application you are running. for oracle/db2 i set the maxfile to 4096, happily running
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 03:17 AM
01-13-2003 03:17 AM
Re: maxfiles
No problem detected. We have the value of 63498.
Regards, Vicente.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 04:46 AM
01-13-2003 04:46 AM
Solutionmaxfiles is a per-program limit for the maximum number of files that can be opened at one time. This is a soft limit which can be changed using the setrlimit system call or with the HP-UX POSIX shell using ulimit -n (man sh-posix). Once ulimit has been set in the shell (see ulimit -a) for file descriptors, all subsequent processes started from that shell will inherit the new value for maxfiles. ulimit defaults to a new hard limit. Use the -S option to change up or down.
maxfiles is best left at 60 to 100 as the default value (put it into /etc/profile and /etc/csh.login) and allow specific processes to run at a higher limit with a start script. maxfiles cannot be increased beyond the kernel's hard limit of maxfiles_lim.
NOTE: If you have a dozen processes that all need 5,000 files opened at the same time, then the kernel parameter nfile must be increased by 60,000 to accomodate all the open files. nfile is for every file descriptor, not just unique files.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 07:06 PM
01-13-2003 07:06 PM
Re: maxfiles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 07:45 PM
01-13-2003 07:45 PM
Re: maxfiles
sorry for posting it here...
I like to know more about the configureable parameter (i'm using hpux 11.11)
is there any docs..
our setting in database server(informix9.3)
maxfiles 200
maxfiles limit 4096
user accessing the database is around 800 - 1000 per minute.
do I have to add more maxfiles ???
Thanks and sorry again
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 08:12 PM
01-13-2003 08:12 PM
Re: maxfiles
Check o ut these 2 docs for 11i (11.11):
Tunable Kernel Parameters:
http://docs.hp.com/hpux/onlinedocs/TKP-90202/TKP-90202.html
Dynamically tunable kernel parameters (note that this is a PDF file):
http://docs.hp.com/hpux/onlinedocs/os/11i/DynTuneWP.pdf