HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
Showing results for 
Search instead for 
Did you mean: 

Change parameter maxfile HP-UX

Occasional Visitor

Change parameter maxfile HP-UX

I need change maxfile to 2048 from 7000


I have error in OAS (Oracle Aplicacion Server)


Sep 20 11:10:07 sistemas99 syslog: Java: Maximum number of allowed open files: 2048

James R. Ferguson
Acclaimed Contributor

Re: Change parameter maxfile HP-UX



You probably want to adjust 'maxfiles' and 'maxfiles_lim' [ the soft and hard limits for the number of open files a process can have ].  See the manpages for 'maxfiles(5)' and 'maxfiles_lim(5)'.  Use 'kctune' to make the change.