- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to set ulimit on HP-UX 11i for non-root users
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
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
10-02-2006 06:38 PM
10-02-2006 06:38 PM
How to set ulimit on HP-UX 11i for non-root users
# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 60
in the above i want to reset the
coredump=unlimited
nofiles=4096
how do i set?
will it affect other users in the system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2006 06:53 PM
10-02-2006 06:53 PM
Re: How to set ulimit on HP-UX 11i for non-root users
and welcome to the ITRC forums with your first question.
ulimit -n 4096
ulimit -c unlimited
These will only work if ulimit -aH (Hard Limit Values) allows it
For more info on impact, please see:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1040943
If you found these answers helpful, please read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2006 07:08 PM
10-02-2006 07:08 PM
Re: How to set ulimit on HP-UX 11i for non-root users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2006 07:42 PM
10-02-2006 07:42 PM
Re: How to set ulimit on HP-UX 11i for non-root users
no seperate coredump kernel parameter required, as set by shell.
ulimit -cH will give hard max value for coredumpsize.
For initial reading please see:
http://acs.ucsd.edu/info/coredump.php
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2006 07:57 PM
10-02-2006 07:57 PM
Re: How to set ulimit on HP-UX 11i for non-root users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2006 08:08 PM
10-02-2006 08:08 PM
Re: How to set ulimit on HP-UX 11i for non-root users
for individual users edit there .profile file in their home directories.
If you want to make changes for all users change the /etc/profile file.
Then logout/login to activate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2006 08:33 PM
10-02-2006 08:33 PM
Re: How to set ulimit on HP-UX 11i for non-root users
Doing the unlimited thing which is good for most users breaks some oracle environment scripts. You'll need to debug them when oracle coughs up a furball concerning the unlimited issue. You can make it work, its just a little more manual work.
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
10-02-2006 11:59 PM
10-02-2006 11:59 PM
Re: How to set ulimit on HP-UX 11i for non-root users
sorry to see that me answers:
"1-3: The answer didn't really help answer my question, but thanks for your assistance!"
Can you please let us know if there is anything else of your question unanswered or if not, please close this thread, summarizing the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2007 01:44 AM
03-16-2007 01:44 AM
Re: How to set ulimit on HP-UX 11i for non-root users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2007 03:12 PM
03-16-2007 03:12 PM
Re: How to set ulimit on HP-UX 11i for non-root users
To set the latter larger, you may have to use kctune/kmtune to set maxfiles_lim to 4096. (Mentioned in Peter's link.)
(Unless you used ulimit to set it smaller for yourself and now want it bigger.)
>Nick: I think the command you are looking for is: "limit descriptors 4096".
I'm not aware of that on HP-UX.