- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Set ulimit -d to unlimited for user
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
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
тАО03-02-2010 02:14 PM
тАО03-02-2010 02:14 PM
Set ulimit -d to unlimited for user
$ ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 4194300
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 2048
$ulimit -d unlimited
sh: ulimit: The specified value exceeds the user's allowable limit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2010 06:26 PM
тАО03-02-2010 06:26 PM
Re: Set ulimit -d to unlimited for user
What is the output of
$ulimit
in the above output ulimit -a is showing uplimited....
>>ulimit -d unlimited
sh: ulimit: The specified value exceeds the user's allowable limit.
giving error because its already set to unlimited.....
for more about ulimit see the below link
http://www.umanitoba.ca/cgi-bin/man.cgi?section=2&topic=ulimit
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2010 06:38 PM
тАО03-02-2010 06:38 PM
Re: Set ulimit -d to unlimited for user
Check this value should be equal to your kernel paramter maxdsiz.
How can you have a process data size greater than the value set in kernel ;)
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2010 02:03 AM
тАО03-03-2010 02:03 AM
Re: Set ulimit -d to unlimited for user
Unless you are using 64 bit applications, your 4 Gb maxdsiz can't be achieved in practice. And would require special linker and chatr(1) options to get more than 1 Gb.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2010 05:31 AM
тАО03-03-2010 05:31 AM
Re: Set ulimit -d to unlimited for user
# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 2048
the output of #ulimit is unlimited for either root or the user.
Any further ideas on how I can get the user account to have unlimited data?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2010 06:22 AM
тАО03-03-2010 06:22 AM
Re: Set ulimit -d to unlimited for user
The root limits are impacting the user. It is not possible to set this limit higher than that set for root.
So make the setting for root and then perhaps other issues being taken care of you can set it for the user. Within the limits of the kernel parameters, which you have set already.
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
тАО03-03-2010 07:02 AM
тАО03-03-2010 07:02 AM
Re: Set ulimit -d to unlimited for user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2010 08:28 AM
тАО03-03-2010 08:28 AM
Re: Set ulimit -d to unlimited for user
Again, you can not be unlimited, not even for root. Your limit is maxdsiz/maxdsiz_64bit, or you can be smaller.
Note: Once beyond 4 Gb, ulimit can't display the limit correctly.
What size do you want to use for your 64 bit applications?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2010 08:40 AM
тАО03-03-2010 08:40 AM
Re: Set ulimit -d to unlimited for user
Is there a way to increase it above 4GB and confidently let the developer know it is higher than 4GB?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2010 01:52 AM
тАО03-04-2010 01:52 AM
Re: Set ulimit -d to unlimited for user
You could write a program but that may not be that helpful. You should just use kctune(1m) to get the value.
>The maxdsiz_64 is currently set to the max, 4,396,972,765,184.
This size isn't reasonable. Do you have that many disk drives for swap?
>Is there a way to increase it above 4GB and confidently let the developer know it is higher than 4GB?
Use kctune(1m) to list it.
Or write your own getrlimit(2) program. Compile with +DD64.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2010 11:40 AM
тАО04-22-2010 11:40 AM