HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ulimit increase
Operating System - HP-UX
1833261
Members
3186
Online
110051
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
06-05-2007 09:54 PM
06-05-2007 09:54 PM
HP-UX 11.31.
I need to increase the value for ulimit from 8192 to 10240.
I believe I need to change maxssize and maxssize_64bit.
Here is what sam says:
Tunable maxssiz
Description Maximum size of the stack segment of a 32-bit process (bytes)
Module vm
Current Value 8388608 [Default]
Value at Next Boot 8388608 [Default]
Value at Last Boot 8388608
Default Value 8388608
Constraints maxssiz >= 262144
maxssiz <= 401604608
Can Change Immediately or at Next Boot
NOTE: If the new Value is specified as Default, the next boot value
will be default value for the tunable as reccomended by HP.
However, if the tunable is being autotuned then the value assigned
will be determined dynamically by kernel during run-time.
New setting[Expression/Value]: ___________________
New setting (evaluated): ___________________
[ Recalculate ]
Do you want to hold the change until next reboot ?: (X) Yes
How do I calculate the values??
Steve
I need to increase the value for ulimit from 8192 to 10240.
I believe I need to change maxssize and maxssize_64bit.
Here is what sam says:
Tunable maxssiz
Description Maximum size of the stack segment of a 32-bit process (bytes)
Module vm
Current Value 8388608 [Default]
Value at Next Boot 8388608 [Default]
Value at Last Boot 8388608
Default Value 8388608
Constraints maxssiz >= 262144
maxssiz <= 401604608
Can Change Immediately or at Next Boot
NOTE: If the new Value is specified as Default, the next boot value
will be default value for the tunable as reccomended by HP.
However, if the tunable is being autotuned then the value assigned
will be determined dynamically by kernel during run-time.
New setting[Expression/Value]: ___________________
New setting (evaluated): ___________________
[ Recalculate ]
Do you want to hold the change until next reboot ?: (X) Yes
How do I calculate the values??
Steve
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 10:24 PM
06-05-2007 10:24 PM
Solution
"ulimit" contains many limit values. Type "ulimit -a" to see all of them.
Based on the kernel tunable you've identified, you mean "ulimit -s", the stack size limit.
When you use the "ulimit" command, the limit is expressed in kilobytes, while the kernel tunables are expressed in bytes. One kilobyte is 1024 bytes, so the current value in bytes is:
1024 * 8192 = 8388608
which is exactly the kernel tunable's current value.
You'll want to set the tunable to:
1024 * 10240 = 10485760
MK
Based on the kernel tunable you've identified, you mean "ulimit -s", the stack size limit.
When you use the "ulimit" command, the limit is expressed in kilobytes, while the kernel tunables are expressed in bytes. One kilobyte is 1024 bytes, so the current value in bytes is:
1024 * 8192 = 8388608
which is exactly the kernel tunable's current value.
You'll want to set the tunable to:
1024 * 10240 = 10485760
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 10:26 PM
06-05-2007 10:26 PM
Re: ulimit increase
Thanks.
Steve
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2007 04:03 PM
06-06-2007 04:03 PM
Re: ulimit increase
Make sure your maxssize_64bit is larger than maxssize.
Also, you might was well make the change immediately, since it is a dynamic tunable.
You can also use kctune to change it.
Also, you might was well make the change immediately, since it is a dynamic tunable.
You can also use kctune to change it.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP