- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ulimit and maxssiz
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
Discussions
Discussions
Forums
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
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
тАО12-21-2009 04:20 AM
тАО12-21-2009 04:20 AM
maybe I'm confusing things here but on my HP-UX B.11.31 I set maxssiz as well as maxssiz_64bit to a larger value. 'ulimit -a' shows that the stack size didn't change at all. However, setting 'ulimit -s unlimited' takes effect to the session I'm in but not for other users logging later on, the stack size there remains quite small.
My question: what is the maximum stack size valid on my system? Can I trust 'ulimit' or rather 'kcusage' which tells me that the stack size is larger than 'ulimit' shows? And if 'kcusage' would be the one, what's 'ulimit' good for on HP-UX?
Cheers,
Steff
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2009 06:10 AM
тАО12-21-2009 06:10 AM
Re: ulimit and maxssiz
ulimit is short for user limit.
You need to set kernel AND user limit in order to make a change impact the user session.
You can run your ulimit command in /etc/profile or in individual user profiles to make these changes permanent.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2009 06:40 AM
тАО12-21-2009 06:40 AM
Re: ulimit and maxssiz
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2009 06:44 AM
тАО12-21-2009 06:44 AM
Re: ulimit and maxssiz
thank you for replying. My question is related to oracle so I guess I need to grant the 'LIMIT' privilege to the user 'oracle' and put 'ulimit -s unlimited' into his profile in order to make shure, the DB starts with unlimited 'maxssize'. Sounds weird to me... But since the DB will be started as user 'oracle', the user-limit needs to be adjusted. Is that correct?
Cheers,
Steff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2009 08:20 AM
тАО12-21-2009 08:20 AM
Re: ulimit and maxssiz
Increasing maxssiz will decrease maxdsiz for a 32 bit process.
What are your current values for maxssiz and maxssiz_64bit?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2009 12:10 AM
тАО12-22-2009 12:10 AM
Re: ulimit and maxssiz
maxssiz: 401'604'608
maxssiz_64bit: 2'147'483'648
Since oracle uses large contigouous memory blocks it needs large stacks and this server runs a very large datawarehouse.
Now, if the user-limit for the stack size ('ulimit') whis is: 392'192 prevents the process exceed this value, that I have a problem.
I'm still confused what parameter applies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2009 12:21 AM
тАО12-22-2009 12:21 AM
SolutionThese are way too big, unless dealing with Fortran.
>Since oracle uses large contiguous memory blocks it needs large stacks and this server runs a very large data warehouse.
The stack should only be used for control flow and computation, not memory blocks. Those should be stored in the heap or SGA.
>if the user-limit for the stack size ulimit which is: 392,192 prevents the process exceed this value, that I have a problem.
That's 392,192 * 1024. This probably matches your 402 Mb but way too big.
>I'm still confused what parameter applies.
The smallest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2009 02:18 AM
тАО12-22-2009 02:18 AM
Re: ulimit and maxssiz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2009 02:29 AM
тАО12-22-2009 02:29 AM
Re: ulimit and maxssiz
You don't want them so low such that you have to keep changing them. kcusage(1m) will help you keep track.