- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ulimit settings !
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
09-15-2005 10:38 AM
09-15-2005 10:38 AM
Here is the ulimit outout:
# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 307200
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 2048
we want to set the data , and stack value to unlimited , how we can do that.
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 10:49 AM
09-15-2005 10:49 AM
Re: ulimit settings !
Both the data and the stack are in reference to Kernel Parameters. Data (maxdsiz) and Stack (maxssiz).
Thanks
Giri Sekar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 10:50 AM
09-15-2005 10:50 AM
Re: ulimit settings !
You really don't want those to be unlimited anyway. Why do you need an unlimited stack size or data size? That would be a real easy way to crash a machine, or at least make it very unresponsive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 10:58 AM
09-15-2005 10:58 AM
Re: ulimit settings !
Please advice:
maxdsiz 1073741824 - 1073741824
maxdsiz_64bit 0x80000000 - 0X80000000
--------------------------------------------
Pls advice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 11:04 AM
09-15-2005 11:04 AM
Re: ulimit settings !
Last week one job, batch cycle experienced an oracle error related to memory usuage .
After the Oracle tech reviewed our Unix and Oracle environments, he suggested to change kernel parameters data=unlimited and stack=unlimited.
Is that going to be okay with unlimited . Or we can increase the maxdsiz_64bit to 50% .
Pls advice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 11:30 AM
09-15-2005 11:30 AM
Re: ulimit settings !
Thanks
Giri Sekar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 01:21 PM
09-15-2005 01:21 PM
SolutionCheck the url below for document about 'Sys Adm: min, max, and default ulimit values' (docID : KBRC00017143) :
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000079973196
As you already know the data max determined by maxdsiz and stack(kbytes) max determined by maxssiz.Here are kernel parameter info, you can check the url below :
http://docs.hp.com/en/939/KCParms/KCparam.MaxDsiz.html
http://docs.hp.com/en/939/KCParms/KCparam.MaxSsiz.html
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 02:32 PM
09-15-2005 02:32 PM
Re: ulimit settings !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 03:26 PM
09-15-2005 03:26 PM
Re: ulimit settings !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2005 01:31 AM
09-16-2005 01:31 AM
Re: ulimit settings !
What is the Maximum value can be set for MAXDSIZ_64bit :
OS is hp-ux B.11.11 9000/800
---------------------------------
http://docs.hp.com/en/939/KCParms/KCparam.MaxSsiz.html
This link says : Max can be :
1073741824 , But I am already having 2147483648 set. Thats greater than this value , and planning to add 50% more , to make it 3221225472.
It looks confusing after I found the link.
http://docs.hp.com/en/939/KCParms/KCparam.MaxSsiz.html
Pls advice,
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2005 01:33 AM
09-16-2005 01:33 AM
Re: ulimit settings !
Here it is :
http://docs.hp.com/en/939/KCParms/KCparam.MaxDsiz.html
And max can be set as follows:
maxdsiz_64bit for 64-bit processors:
Minimum
0x400000 (4 Mbytes)
Maximum
4396972769279
Default
0x4000000 (64 Mbytes)
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2005 01:35 AM
09-16-2005 01:35 AM
Re: ulimit settings !
Minimum
0x400000 (4 Mbytes)
Maximum
4,396,972,769,279 bytes = 4 TB
Default
0x4000000 (64 Mbytes)
http://docs.hp.com/en/939/KCParms/KCparam.MaxDsiz.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2005 01:55 AM
09-16-2005 01:55 AM
Re: ulimit settings !
Here is the ulimit -a output:of our hpux 11.11
# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 307200
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 2048
so I guess :
'data' shows --> maxdsiz_64bit value.
'stack' shows --> maxssiz_64bit value.
maxdsiz_64bit values is = 0x80000000 = 2147483648= 2GB , But its showing 1GB. ??
Also maxssiz_64bit value is :
maxssiz 0x12c00000 - 0X12C00000
maxssiz_64bit 0x40000000 - 0X40000000
But its showing : 307MB in ulimit. ??
Seems its showing the 32bit parameters (ie. maxssiz and maxdsiz) ...
Little Confusing.. it should show the 64 bit parameter , as the OS is 64bit.
Can any one explain.. little bit..
thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2005 02:35 AM
09-16-2005 02:35 AM
Re: ulimit settings !
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2005 03:30 AM
09-16-2005 03:30 AM
Re: ulimit settings !
If you run a 32-bit program, then the program will use the parameters from maxssiz, maxdsiz and maxtsiz.
If the program is 64-bit, then it will use the 64-bit parameters - maxdsiz_64, maxssiz_64 and maxtsiz_64.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2005 05:21 AM
09-16-2005 05:21 AM