- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Having the output of ulimit -a to unlimited for al...
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
Forums
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
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
04-12-2006 03:54 AM
04-12-2006 03:54 AM
Having the output of ulimit -a to unlimited for all variables
# ulimit -a command as root, I get the following output
hostname -root# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 65535
Can I bump up my kernel parameters so that when I run ulimit -a, all values will be unlimited, or can I set that in the .profile for root. When I try to set say the ulimit -d to unlimited, I get the message stating
hostname-root# ulimit -d unlimited
sh: ulimit: The specified value exceeds the user's allowable limit.
This is when I run the command as root.
Any tips and pointers would be appreciated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 04:04 AM
04-12-2006 04:04 AM
Re: Having the output of ulimit -a to unlimited for all variables
check
ulimit -Ha
to obtain the hard limits (that user cannot override). If you want to change this limit (e.g. for data limit):
ulimit -Hd unlimited
then ulimit -d unlimited will work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 04:42 AM
04-12-2006 04:42 AM
Re: Having the output of ulimit -a to unlimited for all variables
hostname-root# ulimit -Hd unlimited
but I got the message
sh: ulimit: The specified value exceeds the user's allowable limit.
Is this an issue based on the type of shell that I am using /usr/bin/sh ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 04:52 AM - last edited on 04-13-2021 07:46 AM by Parvez_Admin
04-12-2006 04:52 AM - last edited on 04-13-2021 07:46 AM by Parvez_Admin
Re: Having the output of ulimit -a to unlimited for all variables
The Data and Stack hard limits are determined by the maxdsiz{_64bit} and maxssiz{_64bit} tunables. (They have man pages if you want more information).
Those tunables have fixed limits which are not interpreted by ulimit as "unlimited". There is also no practical way on HP-UX to have truly "unlimited" behavior for those resources -- you must always deal with Quadrant (or Octant on IPF) boundaries, etc.
Personally -- I'd say just don't worry about it. If you want to raise your hard limits - raise the tunables and fork a new shell (because the tunables are dynamic, but only affect new processes... old processes are 'exempted' to use the limits they started with).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 05:10 AM
04-12-2006 05:10 AM
Re: Having the output of ulimit -a to unlimited for all variables
to set hard limit (-H) you must log-in as root user.
antonio.