- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- set 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
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-05-2003 04:38 PM
06-05-2003 04:38 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 04:47 PM
06-05-2003 04:47 PM
Re: set ulimit
$ ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 65536
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 0
nofiles(descriptors) 60
NOTE: ulimit -a is NOT available in ksh. You'll need to use the standard POSIX shell /usr/bin/sh. To see the options for ulimit, use the command:
man sh-posix
ulimit is a shell builtin and supports these options:
(If no option is given, -f is assumed)
-a List all of the current resource limits.
-c The number of 512-byte blocks in the size of core dumps.
-d The number of kilobytes in the size of the data area.
-f The number of 512-byte blocks in files written by child processes (files of any size can be read).
-n The number of file descriptors.
-s The number of kilobytes in the size of the stack area.
-t The number of seconds to be used by each process.
To set the size of files written by a child process to unlimited:
$ ulimit -f unlimited
The ability to create large files is not a shell feature, it is a filesystem feature. You can enable largefiles when you first create the filesystem (newfs -l) or change an existing filesystem to allow largefiles using fsadm:
fsadm -F vxfs -o largefiles /dev/vg02/whatever
To make sure that the filesystem is mounted with largefile option, add the largefiles option to /etc/fstab.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 04:48 PM
06-05-2003 04:48 PM
Re: set ulimit
ulimit -a shows all userlimits.
If [file] is not set to unlimited, this can be done additional with:
ulimit -f unlimited
If this is not set to unlimited, after the next reboot, it is recommended to insert
ulimit -f unlimited
into /etc/profile.
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 05:01 PM
06-05-2003 05:01 PM
Re: set ulimit
vxfs fsadm: /dev/EmcVG/lvemc is not the root inode of a vxfs file sytem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 05:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 05:20 PM
06-05-2003 05:20 PM
Re: set ulimit
Con - a lot? Try almost all.
Well over 90%.
Along with Mirror-UX, On-Line JFS is fundamentally necessary tool in a Production environment today - period.
My 2 cents,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2003 06:12 AM
06-07-2003 06:12 AM
Re: set ulimit
Check you kernel parameters if you want to change the size of the large file or enable
that will be your default you can do it ther
Caesar