- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Changing the ulimit value
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
тАО03-26-2010 02:07 AM
тАО03-26-2010 02:07 AM
Changing the ulimit value
We got a request from apllication team to change the ulimit value for a user.
$ ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 131072
The data value has to be changed from 1GB to unlimited.Is this recommended.What will be the impact..
The total memory in server is 8 GB
I believe the ulimit value is related to "maxdsiz".Currently maxdsiz is set to "0x40000000".Please correct me if i am wrong.
If we want to increase data value to 2GB, do we need to increase value of "maxdsiz" also.
Abhilash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2010 02:21 AM
тАО03-26-2010 02:21 AM
Re: Changing the ulimit value
On HP-UX you cannot increase a soft limit above a kernel imposed hard limit. So if you have your kernel parameter maxdsiz or maxdsiz_64bit smaller than the one you impose for your user, this value from the kernel will be imposed.
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2010 02:43 AM
тАО03-26-2010 02:43 AM
Re: Changing the ulimit value
Currently the value of "maxdsiz" is set to 1GB.If I am changing that to 2GB will have a reverse effect ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2010 03:02 AM
тАО03-26-2010 03:02 AM
Re: Changing the ulimit value
maxdsiz affects only the 32-bit processes. So playing arround with this value would have nothing to do with 64 bit processes for which maxdsiz_64bit setting matters. If the process your application team is talking about is 32 bit, then this setting would have the expected behavior.
"reverse effect" ? Not sure what you mean, but it will just let your 32bit processes use more memory for data storage.
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2010 03:04 AM
тАО03-26-2010 03:04 AM
Re: Changing the ulimit value
Yes.
>If we want to increase data value to 2GB, do we need to increase value of "maxdsiz" also.
Yes, you must increase to 2 Gb. Existing users may have to log off. Not all 32 bit processes can use more than 1 Gb.
>Currently the value of maxdsiz is set to 1GB. If I am changing that to 2GB will have a reverse effect?
That will just allow it to go to 2 Gb for new user logons.
>Horia: if you have your kernel parameter maxdsiz or maxdsiz_64bit smaller than the one you impose for your user, this value from the kernel will be imposed.
Right. And maxdsiz_64bit must be >= than maxdsiz.