- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ulimit values
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
тАО04-05-2009 10:30 PM
тАО04-05-2009 10:30 PM
Current ulimit values are as below,
hostname:[/]# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 4096
I want to set values to unlimited for data,stack,coredump and nofiles.
Thanks,
Narendra
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2009 11:00 PM
тАО04-05-2009 11:00 PM
SolutionCheck for the hard limits set on your server by
# ulimit -aH
And then you can set values by following commands:
# ulimit -n
# ulimit -c unlimited <-- coredump
For data ulimit see:
http://fixunix.com/hp-ux/143649-changing-data-ulimit-kernel.html
For Stack ulimit see:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1076377
Hope this helps !!
- R.K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 12:33 AM
тАО04-06-2009 12:33 AM
Re: ulimit values
all values not shown as unlimited cannot be stated as limited, because the stack size represented by kernel parameter maxssiz and maxssiz_64bit have a maximum value around ~ 400MB if you want to change u need to change the kernel param and then reboot.
In your case if user would like to have all unlimited values.
you should login as root to do the following
ulimit -d unlimited
ulimit -s unlimited
ulimit -n unlimited
ulimit -c unlimited
Have fun
bobby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 01:13 AM
тАО04-06-2009 01:13 AM
Re: ulimit values
maxdsiz and maxdsiz_64bit -- what value?
maxssiz and maxssiz_64bit -- what value?
maxfiles and maxfiles_limit -- what value?
I don't have problem to re-build the kernel and to restart the server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 02:19 AM
тАО04-06-2009 02:19 AM
Re: ulimit values
execute the values below as stated with root access
ulimit -d unlimited
ulimit -s unlimited
ulimit -n unlimited
ulimit -c unlimited
Log in as a normal user or su -
and execute ulimit -a and check if every thing is unlimited .
If you didnot get the results try to change the kernel params
if you logged in as root ,execute
kcweb (11.23) or https://your-machine:2301/ (11.31)
> tunables > browse params and change . Max values will be shown at that page.
bobby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 02:49 AM
тАО04-06-2009 02:49 AM
Re: ulimit values
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 03:01 AM
тАО04-06-2009 03:01 AM
Re: ulimit values
Please let me know how to check the MAX values so that i can set the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 03:18 AM
тАО04-06-2009 03:18 AM
Re: ulimit values
Your planned value is your max value after your next reboot.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 03:53 AM
тАО04-06-2009 03:53 AM
Re: ulimit values
maxdsiz and maxdsiz_64bit -- what value?
maxssiz and maxssiz_64bit -- what value?
maxfiles and maxfiles_limit -- what value?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 04:08 AM
тАО04-06-2009 04:08 AM
Re: ulimit values
This of course requires that you have the kernel parameter swapmem_on set to 1 (on).
Even though the ulimit -a won't specifically say "unlimited" the values at that setting implicitly set them as such.
I must caution you on this approach as a runaway process or poorly coded apps could exhaust all memory & you'd come to a grinding halt.
HTH,
Jeff