- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- setting the limit
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
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
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
тАО01-01-2009 01:38 AM
тАО01-01-2009 01:38 AM
setting the limit
i have hpux box with 11.31. my current limits are like this:
# csh
# limit
cputime unlimited
filesize unlimited
datasize 1048576 kbytes
stacksize 8192 kbytes
coredumpsize 2097151 kbytes
descriptors 4096 files
memoryuse unlimited
#
how do i change these values?
thanks in advance,
shanmugam.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2009 01:49 AM
тАО01-01-2009 01:49 AM
Re: setting the limit
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194304
nofiles(descriptors) 2048
# ulimit -t
unlimited
as u can see if u want to cahnge the values
as
#ulimit -="NEW_VALUE"
where option can take form as
-t for time(seconds) unlimited
-f for file(blocks) unlimited
-d for data data(kbytes) 1048576
-s for stack stack(kbytes) 8192
-m for the memory memory(kbytes) unlimited
-c for coredump coredump(blocks) 4194304
-n for the nofiles(descriptors) 2048
use the option as ststed for which u want to change the value.
regarda
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2009 01:53 AM
тАО01-01-2009 01:53 AM
Re: setting the limit
ulimit -
there shall be no "=" as ststed before
time(seconds) -- use -t option
file(blocks) ---- use -f option
data(kbytes) -- use -d option
stack(kbytes) -- use -s option
memory(kbytes) -- use -m option
coredump(blocks) -- use -c option
nofiles(descriptors)
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2009 02:16 AM
тАО01-01-2009 02:16 AM
Re: setting the limit
thanks for the information. Is there any file for making the changes as permanent?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2009 03:04 AM
тАО01-01-2009 03:04 AM
Re: setting the limit
yes the changes are gone after the system is rebooted.
However as u want to set this permanent u can put these as commands in /etc/profile --- to set it globally for the system or in a particular users profile say for oracle user put this in the /home/oracle/.profile.
the following thread as from a guru JRFergusson tells the same.
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1034841&admit=109447626+1230807584456+28353475
regards
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2009 05:05 AM
тАО01-01-2009 05:05 AM
Re: setting the limit
>Is there any file for making the changes as permanent?
You can make them smaller by putting them in your .profile.
As Sujit mentions, if you want to make some of these larger, you must use kctune(1m) to change the kernel configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2009 08:06 PM
тАО01-01-2009 08:06 PM
Re: setting the limit
i have changed the values thro kctune as a root user.
shanmugam.