- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Setting ulimit Permanently in Hp-UX 11i v 3
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
05-07-2008 11:27 PM
05-07-2008 11:27 PM
Setting ulimit Permanently in Hp-UX 11i v 3
This is what I am doing:
#ulimit -a
#ulimit -Sc unlimited
#ulimit -Hc unlimited
I need help please. My boss is on my case!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 12:01 AM
05-08-2008 12:01 AM
Re: Setting ulimit Permanently in Hp-UX 11i v 3
did you check the man pages?
1. Filesize Setup
To set the file size limit to 51,200 Bytes
# ulimit -f 100
2. Datasize
# ulimit -d 100 (for 51,200 Bytes)
3. Stacksize
# ulimit -s 100(for 51,200 Bytes)
4. Coredumpsize
# ulimit -c 100(for 51,200 Bytes)
5. Memory
# ulimit -m 100(for 51,200 Bytes)
6. Display all current resource limits
# ulimit -a
e.g.
SRV2:>ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 2048
SRV2:>ulimit -c 100
SRV2:>ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) 100
nofiles(descriptors) 2048
SRV2:>ulimit -c 4194303
SRV2:>ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 2048
SRV2:>
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 12:04 AM
05-08-2008 12:04 AM
Re: Setting ulimit Permanently in Hp-UX 11i v 3
see also:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=892976
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 12:05 AM
05-08-2008 12:05 AM
Re: Setting ulimit Permanently in Hp-UX 11i v 3
I generally set figures for all users in /etc/profile and override those settings for Oracle in the .profile for the user or even the startup script for the database.
Its probably not necessary in this case to set the figures for every user of the system.
Your boss should pat you on the back for using ITRC forums, great place to get answers.
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
05-08-2008 12:08 AM
05-08-2008 12:08 AM
Re: Setting ulimit Permanently in Hp-UX 11i v 3
As mentioned in the link above, you need to put it in your .profile or in the system /etc/profile.
If you need more than 4? Gb, I think you also need to fiddle with some kernel parm?
>My boss is on my case!!!
I assume the next thing he wants is something to clean up the massive core files? ;-)