- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ulimit -d unlimit
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
06-01-2005 09:15 AM
06-01-2005 09:15 AM
ulimit -d unlimit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2005 09:24 AM
06-01-2005 09:24 AM
Re: ulimit -d unlimit
Yo can read a little more about my Problem and Clay Stephenson's explanation for my particular case here:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=860078
Hope this helps a little. I know it is not gonna be much but better than nothing I hope.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2005 09:35 AM
06-01-2005 09:35 AM
Re: ulimit -d unlimit
thanks...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2005 09:42 AM
06-01-2005 09:42 AM
Re: ulimit -d unlimit
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 162144
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 200
nofiles(descriptors) 4096
You can increase data with ulimit -d
[8445#] ulimit -d 262144
Wed Jun 1 20:15:59 2005:/etc/cmcluster
[8446#] ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 262144
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 200
nofiles(descriptors) 4096
Wed Jun 1 20:15:59 2005:/e
This can be done in /etc/profile as well
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
06-02-2005 04:14 AM
06-02-2005 04:14 AM
Re: ulimit -d unlimit
# ulimit -dH unlimited
> # ulimit -aH
> time(seconds) unlimited
> file(blocks) unlimited
> data(kbytes) unlimited
> stack(kbytes) 131072
> memory(kbytes) unlimited
> coredump(blocks) unlimited
> nofiles(descriptors) 60000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2005 06:39 AM
06-02-2005 06:39 AM
Re: ulimit -d unlimit
Check the hard limit with ulimit -Hd then check the soft limit with ulimit -d
If they're the same that's the problem. a "normal" user cannot increase the value past the hard limit - only root can.
If it's less then it can be increased - but only to the hard limit.
One option - as SEP points out - would be to set the limit in the /etc/profile
But keep in mind it would then apply to *all* users logging in.
Rather one should really find out just *what* the application really needs & set the maxdsiz and/or maxdsiz_64bit values accordingly. It's a little dangerous giving every user the capability to chew up all the RAM in a system. One runaway process could take the whole system right down.
My $0.02,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2005 02:43 PM
06-02-2005 02:43 PM
Re: ulimit -d unlimit
Very important: maxdsiz is only for 32bit programs and without the latest patches, your 11.00 system won't allow 32bit programs to grow larger than 960megs (or 1750megs with compiler options). With patches, 11.00 allows the use of the chatr -q3p enable option giving 32bit applications access to just under 3Gb. But only 11.11 OS allows 32bit programs to access up to 3700megs. NOTE: 32bit programs can never access large amounts of RAM (more than 3.7Gb). Only 64bit programs can request and use dozens of Gb of RAM.
Also note that maxdsiz must increased to allow 32bit programs to access more than the default (only 67megs on 11.00), *but* maxdsiz_64 must be larger than maxdsiz. For 11.00, set maxdsiz to 2Gb and maxdsiz_64 to 6Gb. Then have /etc/profile set a 'soft' limit for ulimit as in:
ulimit -Sd 50000
For ordinary users, their programs will run out of RAM at 50megs, but powerusers or database logins can change the value to a higher value. Programmers and DB admins must read the white papers about handling program memory limits.
Bill Hassell, sysadmin