- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ulimit -n
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
- 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
05-31-2007 08:56 PM
05-31-2007 08:56 PM
ulimit -n
how do i chnage the ulimit -n value to unlimited in hpux
# uname -a
HP-UX benz B.11.23 U ia64 0707509492 unlimited-user license
Currenlty its
# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 2048
Itried changing maxfiles and maxfiles_limit value, but looks like they are static and will chnage only in the next reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 09:38 PM
05-31-2007 09:38 PM
Re: ulimit -n
How did you do that? What did kctune say?
Yes, maxfiles(5) says it is a static tunable.
You can't have unlimited but the max is 1M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 10:40 PM
05-31-2007 10:40 PM
Re: ulimit -n
i had to change maxfile_lim first and the maxfiles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2007 08:03 AM
06-01-2007 08:03 AM
Re: ulimit -n
SAM should have asked if you wanted to regen the kernel and reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2007 05:55 PM
06-03-2007 05:55 PM
Re: ulimit -n
Press Any Key to interrupt Autoboot
\EFI\HPUX\AUTO ==> boot vmunix
Seconds left till autoboot - 0
AUTOBOOTING...> System Memory = 4084 MB
loading section 0
.............................................. (complete)
loading section 1
........... (complete)
loading symbol table
loading System Directory (boot.sys) to MFS
....
loading MFSFILES directory (bootfs) to MFS
............
Launching /stand/vmunix
SIZE: Text:23165K + Data:5577K + BSS:3802K = Total:32545K
Console is on a Serial Device
Booting kernel...
WARNING: Could not allocate page table structures in interleaved memory.
WARNING: For better performance, it is recommended that you re-configure
WARNING: the machine to have more interleaved me
Stored message buffer up to panic:
Found adjacent data tr. Growing size. 0x36d5000 -> 0x76d5000.
Pinned PDK malloc pool: base: 0xe00000010092b000 size=121684K
Loaded ACPI revision 2.0 tables.
MFS is defined: base= 0xe00000010092b000 size= 4900 KB
Warning: The value 1048576 for tunable maxfiles is larger that the tested maximu
m of 409600.
Warning: The value 1048576 for tunable maxfiles_lim is larger that the tested ma
ximum of 409600.
Warning: Setting maxfiles_lim to 1048576, which is greater than 0xffff, can resu
lt in an incompatibility for some applications when queried using pstat_getfile(
). For details, please see the release
WARNING: Could not allocate page table structures in interleaved memory.
WARNING: For better performance, it is recommended that you re-configure
System Panic:
WARNING: the machine to have more interleaved memory.
panic: Could not find a good physical range for unpinned space
Stack Trace:
IP Function Name
0xe00000000111cb50 pdk_malloc_init+0x780
0xe00000000111d8c0 unpinned_pdk_malloc_init+0x6c0
0xe0000000011e04d0 DoCalllist+0x3a0
End of Stack Trace
linkstamp: Tue Jun 20 19:16:26 IST 2006
_release_version: @(#) $Revision: vmunix: B11.23_LR FLAVOR=perf Fri Aug 29
22:35:38 PDT 2003 $
*** A system crash has occurred. (See the above messages for details.)
*** The system is now preparing to dump physical memory to disk, for use
*** in debugging the crash.
ERROR: Your system crashed before I/O and dump configuration was complete.
This system does not support a crash dump under these circumstances.
Contact your HP support representative for assistance.
***********************************************************
* ROM Version : 02.31
* ROM Date : 03/11/2004
* BMC Version : 01.52
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2007 09:19 PM
06-03-2007 09:19 PM
Re: ulimit -n
Then you shouldn't have increased maxfiles that much. :-(
You should probably reboot with your previous vmunix.
And as it says, you should contact the Response Center.
Any reason you want EACH process to be able to open a million files? (Perhaps you are confusing maxfiles with nfile?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2007 09:40 PM
06-03-2007 09:40 PM
Re: ulimit -n
I actually wanted to increase th enumber of open files nfiles..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2007 09:44 PM
06-03-2007 09:44 PM