- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ulimit -d HP-UX 11.31 for ORASUPPORT
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
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
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
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
- 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
- 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