- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ULIMIT
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
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
03-31-2005 05:52 AM
03-31-2005 05:52 AM
ULIMIT
ulimit -d unlimited
receive error
ulimit: The specified value exceeds the user's allowable limit
In AIX, I can set default users ULIMIT via the /etc/security/limits file. What is HPs equivilant?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 06:00 AM
03-31-2005 06:00 AM
Re: ULIMIT
kmtune -lq maxdsiz
kmtune -lq maxdsiz_64bit
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2005 01:25 AM
04-01-2005 01:25 AM
Re: ULIMIT
You can change all the values to unlimited, except data and stack. You 'can' change them, but they are related to maxdsiz (data) and maxssiz_64bit (stack), also nofiles (nfile).
To set data to max, do:
-----------------------
$ /usr/sbin/kmtune -lq maxdsiz
Parameter: maxdsiz
Current: 2063835136
Planned: 2063835136
Default: 0x10000000
Minimum: -
Module: -
Version: -
Dynamic: No
$ ulimit -d 2063835136
$ ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 237568
stack(kbytes) 131072
memory(kbytes) 131072
coredump(blocks) unlimited
To set stack to max, do:
------------------------
$ /usr/sbin/kmtune -lq maxssiz_64bit
Parameter: maxssiz_64bit
Current: 0x8000000
Planned: 0X8000000
Default: 0x00800000
Minimum: -
Module: -
Version: -
Dynamic: No
$ bc
8 * 1024
8192
8192 * 10
81920
$ ulimit -s 81920
$ ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 237568
stack(kbytes) 81920
memory(kbytes) 131072
coredump(blocks) unlimited
To set values to unlimited, do: (coredump)
-------------------------------
$ ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) 4194303
$ ulimit -c unlimited
$ ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) unlimited
David.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2005 10:20 AM
04-03-2005 10:20 AM
Re: ULIMIT
The specified value exceeds the user's allowable limit."
Set maxdsize to 4294963200
Ran
$ ulimit -d 4194300
sh: ulimit: The specified value exceeds the user's allowable limit.
$ ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 10529
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2005 05:38 PM
04-03-2005 05:38 PM
Re: ULIMIT
After reboot data(kbytes) value in the output of 'ulimit -a' will increase according to maxdsiz value (i.e. you should see 4194300).
Otherwise check /etc/profile (and/or this user's profile) and look for line similar to 'ulimit -d 1048576' ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2005 06:42 PM
04-03-2005 06:42 PM
Re: ULIMIT
Static Paramaters, you need to reboot your machine for it to take, after you have increased them in Sam.
David de Beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2005 12:21 AM
04-04-2005 12:21 AM
Re: ULIMIT
I not sure where to go from here... This should be easy... Have done it on other UNIX operating systems without a problem...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2005 12:41 AM
04-04-2005 12:41 AM
Re: ULIMIT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2005 06:15 AM
04-04-2005 06:15 AM
Re: ULIMIT
Since HP does not have a Maint Level, what are you looking for as far as Patches?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2005 12:28 PM
04-04-2005 12:28 PM
Re: ULIMIT
I think that 'ulimit -d' will be set to minimum of maxdsiz and maxdsiz_64bit. On 64-bit kernel maxdsiz_64bit also affects 32-bit processes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2005 12:18 AM
04-05-2005 12:18 AM
Re: ULIMIT
cipt0010(root)# kmtune | grep maxd
maxdsiz 4294963200 - 4294963200
maxdsiz_64bit 0x40000000 - 0X40000000
0X40000000 = 1073741824
or 1048576K....
I miss caculated the 0x4 and came up with 10Gig rather the 1Gig...
Thanks