1829905 Members
1355 Online
109993 Solutions
New Discussion

ulimit issue

 
Phil Storer
Advisor

ulimit issue

Having problems increasing ulimit value from 2048 to 8192 on my HP-UX 11.11i box.

Here's what did (to no avail):

maxfile value was 2048 (unchanged)
maxfiles_lim was 2048 (increased this to 8192)

nfile value was 63488 (unchanged)
maxssix value was 200000000 (unchanged)

I then updated the .profile of the user with the entry ulimit -n 8192

However when I logged in as the user I got the

ulimit: The specified value exceeds the user's allowable limit.

I thought by increasing the maxfiles_lim that I should not have this error.

Any ideas?
1 REPLY 1
Bill Hassell
Honored Contributor

Re: ulimit issue

Check for another ulimit -n elsewhere in .profile or in /etc/profile. The default value can be raised once if you don't use and Hard/Soft flag or use -H. Once the new hard limit has been set, you can only lower the value. If ulimit has never been set during login, you can raise or lower it multiple times by using ulimit -Sn but the first ulimit -Hn (or ulmit -n) will ix the high water mark.


Bill Hassell, sysadmin