- 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
09-06-2001 09:53 AM
09-06-2001 09:53 AM
ulimit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2001 12:05 PM
09-06-2001 12:05 PM
Re: ulimit
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2001 06:08 PM
09-06-2001 06:08 PM
Re: ulimit
Bear in mind that a regular user can only decrease a ulimit value. If you really need a larger data size you need to increase the kernel tunable maxdsiz and regen a kernel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2001 05:39 AM
09-07-2001 05:39 AM
Re: ulimit
ulimit() provides control over process limits.
Any process can decrease this limit,but only a process with an effective user ID of super-user can increase the limit.
limit must be specified in units of 512-bytes per blocks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2001 05:47 PM
09-08-2001 05:47 PM
Re: ulimit
However, the POSIX shell (man sh-posix) has a plethora of options (ulimit -a) including the ability to set a soft limit. The advantage in using limit versus maxdsiz or maxfiles in the kernel is that it can be set uniquely for each user when they login.
So one example is to eliminate core files for all users:
ulimit -Sc 0
Now if a specific user must have their core files saved, they can use ulimit to increase the limit. Similarly, the other parameters can be set according to the desired environment.
# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 524288
stack(kbytes) 16384
memory(kbytes) unlimited
coredump(blocks) 0
nofiles(descriptors) 128
Bill Hassell, sysadmin