- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- General
- >
- Re: ulimit -d HP-UX 11.31 for ORASUPPORT
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
07-14-2011 05:46 AM
07-14-2011 05:46 AM
I try to set ulimit -d for non-root user to unlimited.
Other tunables done with /etc/profile (/home/[username]/profile can't do this for Stack Size f.e.).
How to do one of things:
1) I didn't find document that says "You can't [ulimit -d unlimited] for non-root".
2) I don't know how grant PRIV_LIMIT for this user (man 5 privileges)
3) Set this limit to unlimited.
I know, that:
1) Shell tunable
2) Only for 32-bit apps
3) Can't really exceed maxdsiz
4) This is just Oracle support requirement
Solved! Go to Solution.
- Tags:
- ulimit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-14-2011 07:39 AM
07-14-2011 07:39 AM
Re: ulimit -d HP-UX 11.31 for ORASUPPORT
Guess you are going to have to pick a number.
Have you tried doing this in .profile and/or /etc/profile
You might be able to do this for all users in that way, but this might break stuff.
Please try and do it on the command line, provide command and system response.
You may need to consult Oracle support for a solution.
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
- Email to a Friend
- Report Inappropriate Content
07-14-2011 09:22 PM - edited 07-16-2011 03:59 AM
07-14-2011 09:22 PM - edited 07-16-2011 03:59 AM
Solution>I try to set ulimit -d for non-root user to unlimited.
You could set it to 4 Gb, the max for 32 bit. This is maxdsiz(5).
>1) I didn't find document that says "You can't [ulimit -d unlimited] for non-root".
You need to make N logical inferences to get that. But it's pretty clear from sh-posix(1) & setrlimit(2).
>2) I don't know how grant PRIV_LIMIT for this user (man 5 privileges)
It seems you grant privileges to executables not users, using setfilexsec(1m).
>3) Set this limit to unlimited.
You would have to write a program to check the user, call setrlimit(2), then fork and exec a shell or the user's application.
(No kudos to go with the solution?)
- Tags:
- setfilexsec
- setrlimit
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP